Trading Networks 10.3 | Administering and Monitoring B2B Transactions | Service Development Help | Using the Local Service Development Feature | Copying Packages from the VCS to Integration Server
 
Copying Packages from the VCS to Integration Server
When you check out a package that you have not checked in previously, the package is available in your project workspace. You can move this package from your workspace to the Integration Server_directory \instances\default\packages directory of your local service development Integration Server using the following procedure.
Keep the following points in mind when copying packages from the VCS to Integration Server:
*You must add VCS project nature to the packages that are not created in the local Integration Server but are available in the VCS if you want to copy or move these packages to Integration Server. To do this, right-click the package in the Package Explorer view and select Configure > Convert to Local Service Development Project. This also adds the Java project nature to the package.
*If you are using Team Foundation Server as your VCS client, the workspace of the local service development project is set to the Integration Server_directory \instances\default\packages directory. When you check out a package, it is added to the Integration Server_directory \instances\default\packages directory. Hence, you will not see the Move Project to IS Package option described below. However, you can load the package in the Integration Server_directory \instances\default\packages directory by right-clicking the package in Navigator view and selecting Load IS Package. After you load the package, the Load IS Package option will change to Reload IS Package.
*If you are using EGit as your VCS client, select Move project to Integration Server package as linked resource to set the workspace of the local service development project to any directory on your system and check out packages to that directory.
*If a package with the same name already exists in the Integration Server_directory \instances\default\packages directory, the behavior of Designer depends on your VCS client:
*If you are using Team Foundation Server as your VCS client, Designer will merge the contents of the two packages.
*If you are using CVS or SVN as your VCS client, Designer will replace the existing package with the package from the VCS repository.
*Designer automatically builds the Java and C/C++ services when you move the associated project to the Integration Server_directory \instances\default\packages directory, if you have the Build Automatically workspace preference (Project > Build Automatically) selected.
*To copy a package from the VCS repository to Integration Server
1. From your VCS repository, get the latest version of the package that you want to copy to your Integration Server_directory \instances\default\packages directory.
Designer copies the package to your workspace.
2. In Navigator view, right-click the package and select Move Project to IS Package.
The package is now available in the Integration Server_directory \instances\default\packages directory.
If the package that you copy from the VCS repository is not enabled, Designer displays a message informing you that the package is in a disabled state. You can use Integration Server Administrator to enable the package. For more information about enabling a package, see webMethods Integration Server Administrator’s Guide.