You can export a Project, an Environment, or a Project and an Environment using a command-line script. Before beginning the process of exporting Projects and Environments from prior releases of Java CAPS 5.1.0–5.1.3 or ICAN Suite 5.0.5, it is recommended that you acquaint yourself with the steps to complete the task in the appropriate eGate Integrator User's Guide.
Location of Script File
JavaCAPS_install_dir\repository\util\exportProject.bat
or
JavaCAPS_install_dir/repository/util/exportProject.sh
Command Syntax
exportProject username password branch_name export_file project_name environment_name |
where:
branch_name is the name of the Repository branch to contain the Project and/or Environment you are exporting.
export_file is the name and path for the archive file to contain the Project and/or Environment you are exporting.
project_name is the name of the Project you are exporting. You can export multiple Projects by listing them one after another, separated by a plus sign (+). If you do not export a Project, leave this parameter as an empty string ("").
environment_name is the name of the Environment you are exporting. You can export multiple Environments by listing them one after another, separated by a plus sign (+). If you do not export an Environment, leave this parameter as an empty string ("").
The project_name and environment_name variables assume that the objects reside in the same repository directory as the script file you are using.
Project names should not include special characters such as a comma ( , ), single quote ( '), or double quote ( " ). If any of these characters are used, you must escape them when using the exportProject command-line tool.
Install Java CAPS 6.
See one of the following for instructions on how to complete an installation:
Before beginning an installation, ensure that you are familiar with the contents of Planning for Java CAPS Installation.
Export a Project using the export script.
Import the non-JBI based Project or Environment into NetBeans IDE.
Start NetBeans IDE.
On the menu bar, select Tools, CAPS Repository, and then Import Project.
When an Import Project warning tells you to save changes that are not saved or checked in, click No if you need to do this; otherwise, click Yes to continue with the process.
The Import Manager dialog box appears.
To select the export ZIP file you created, in the From ZIP file field browse to the location of the ZIP file and select it.
If you want the Project to appear as top level in the Projects pane in NetBeans IDE, under the Destination Project field drop down list, select “As Top-Level.”
When you have made all your selections on the Import Manager dialog box, click Import.
When the Import Status message appears, click OK.
Wait until the Repository completes refreshing, then close the Import Manager dialog box.
The Project appears under Projects in the left pane.