SCC 통합 문제 해결

기술노트 43256

아키텍처:

All

컴포넌트:

ewgui

업데이트:

2018-02-28 오전 2:36

Introduction

This tech note focuses on integration issues that can occur when using the Source Code Control (SCC) API.

Issue

The SCC integration in IAR Embedded Workbench do not work with my version control system.

Solution

This information may help you make the Source Code Control (SCC) API work:

Step 1

Verify that your version control system supports SCC, that stands for Source Code Control - An API defined by Microsoft also known as Source Code Control Interface (SCCI).

Step 2

Verify that your version control system supports SCC is correctlyt registed in the Windows registry. (HKLM = HKEY_LOCAL_MACHINE)

  • All SCC providers should register themselves under
    HKLM\SOFTWARE\SourceCodeControlProvider\InstalledSCCProviders.
    or (more info in Microsoft KB 305097)
    HKLM\SOFTWARE\Wow6432Node\SourceCodeControlProvider\InstalledSCCProviders
    Here you may find e.g. something like
    Name: “Microsoft Visual SourceSafe”, Data: “Software\Microsoft\SourceSafe”
  • Every provider should also has a link to their DLL as given above under HKLM\. From the example above you should find at
    HKLM\Software\Microsoft\SourceSafe
    Name: “SCCServerPath”, Data: “C:\vss\win32\ssscc.dll”

Step 3

You must first create your project in your SCC client application before it can be used in IAR Embedded Workbench. Then select 'Connect project to SCC project' that opens a dialog box, which originates from the SCC client application, to let you create a connection between the selected IAR Embedded Workbench project and an SCC project; IAR Embedded Workbench project will then be an SCC-controlled project. After creating this connection, a special column that contains status information will appear in the Workspace window.

Step 4

Make sure that all the source files reside in the same directory as the ewp project file, or nested in subdirectories of this directory.

Step 5

The API that SCC supplies is a very simple interface and therefore very limited. SCC in itself is slow. Please let some time pass after you have added the project to source control. We have seen examples where it takes around a minute before the connection is working as it should.

Further information

More information can be found in IAR Embedded Workbench IDE User Guide.

Applicable

IAR Embedded Workbench versions released after January 2005 have the ablity to communicate with external version control systems.

All product names are trademarks or registered trademarks of their respective owners

죄송하지만, 당사 사이트에서는 Internet Explorer를 지원하지 않습니다.보다 편안한 사이트를 위해 Chrome, Edge, Firefox 등과 같은 최신 브라우저를 사용해 주시길 부탁드립니다.