Software AG Products 10.7 | Integrating On-Premises and Cloud Applications | Service Development | Using the Local Service Development Feature | Modifying Packages, Folders, or Elements in the VCS
 
Modifying Packages, Folders, or Elements in the VCS
Keep the following points in mind when you modify elements in a VCS repository:
*If you check out a package or a folder, Designer checks out all of the folders and elements within the package or folder, along with their supporting files.
*If you check out a service, Designer checks out the node.ndf file for that service. Depending on the service type, Designer also checks out other supporting files such as flow.xml and java.frag files.
*When you edit elements locally and check the elements back in to the VCS repository, Designer informs you of any possible conflicts that exist between your local version and the version in the repository. Depending on the VCS client you are using, the client may either merge the changes so they are reflected both locally and in the repository, or prompt you to decide the appropriate action to resolve the conflict.
*If your VCS client is Team Foundation Server, you must first check out the asset before modifying it.
*If your VCS client is SVN or CVS:
*If the element you want to modify already exists in your Integration Server_directory \instances\default\packages directory, you can modify the element without checking it out.
*If the element you want to modify does not exist in your Integration Server_directory \instances\default\packages directory, you must first check out the element from the VCS repository. Then, you must move the package to the Integration Server_directory \instances\default\packages directory of the Integration Server assigned to be the local service development server. For information about copying packages from VCS, see Copying Packages from the VCS to Integration Server .
*The changes that you made to the package, folder, or element are reflected in the VCS only after you commit your changes to the VCS.
*To modify a package, folder, or element that is in the VCS
1. In Designer, in the VCS repository view specific to your VCS client, right-click the package, folder, or element whose contents you want to modify.
2. From the Team menu, select the appropriate option to check out the files. The options available in the Team menu depend on the VCS client that you use.
If you are checking out a package or a folder, all the contents of the package or folder also gets checked out. The element(s) that are checked out are now available for editing in your Eclipse workspace.
3. After you complete your modifications, in Package Navigator view, right-click the checked-out package, folder, or element and check in or commit these files to the VCS using the option that is specific to your VCS client, available in the Team menu.
Note:
You can also right-click the checked-out package, folder, or element and select Show Files. You can select multiple folders or elements by pressing the CTRL key while selecting. Designer highlights all the server files associated with the package, folder, or element in the Package Explorer view. Right-click these files in Package Explorer view and check in or commit these files to the VCS using the option that is specific to your VCS client, available in the Team menu.
If you are checking in a package or folder, all the contents within it are also checked in.