Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Service Development Help | Using the Local Service Development Feature | Adding Folders and Elements to the VCS
 
Adding Folders and Elements to the VCS
Keep the following points in mind when you add a folder or element to a VCS repository:
*When you add a folder, all of the supported elements within the folder’s hierarchy are added to the VCS repository.
*When you add a folder or an element in a folder, all of the folders in the path to the folder or element will also be added to the VCS repository. However, the remaining contents of the package, as well as folders that are not part of the path to the element, will not be added to the repository.
*When a folder containing coded services (Java and C/C++ for example) is added to the VCS repository, all of the coded services in that folder will be added to the repository when you check in or commit the folder.
*You must save the changes, if any, to the package, folder, or element before adding it to the VCS repository. If not, your unsaved changes will not be reflected in the VCS.
*When you create a local service development project for a package, any folders or elements contained in the package at the time will also be available in the VCS. Any element that you add to the package after you create the local service development must be specifically added to the VCS.
*To add a folder or element to the VCS
*Perform one of the following actions:
*In Package Navigator view, right-click the folder or element that you want to add to the VCS. From the context menu, select Team, and select the check in or commit option specific to your VCS client. To select multiple folders or elements, press the CTRL key while selecting.
--OR--
*In Package Navigator view, right-click the folder or element and select Show Files. Designer highlights all the server files associated with the folder or element in the Navigator view. Right-click these files in Navigator view, select Team, and select the check in or commit option specific to your VCS client.
Note:
You can also add any file that is outside the package namespace structure or that is not an IS asset (that is, it does not appear in the Package Navigator view of Designer). For example, an html file (output template files for a service) in the pub folder of a package. To do this, right-click the files in Navigator view, select Team, and select the check in or commit option specific to your VCS client.