Perform one of the following procedures to export existing Projects and import them into the new Java CAPS environment.
When exporting a Project, note the following:
The exported Project may have references to elements that are in other Projects. A list of such references is generated during the export process.
Project deployment profiles are not exported, because they have references to both Project and Environment elements that are not required at the Project level.
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.
Install Java CAPS 6.2.
See the notes under Upgrading From Release 5.0.5 - 5.1.3 to Release 6.2 for links to more information.
If you are using any components that are not included in the default installation, reinstall them now.
This includes certain adapters and add-ons, certain core components like Sun Master Index, and so on.
You can view a list of installed products for Java CAPS 6.2 on the Suite Uploader, which can be accessed from a web browser if the Repository is started. The URL is http://host-name:port-number.. The default port number is 12000.
Export a Project or Environment from releases 5.0.5 through 5.1.3 using Enterprise Designer and create an external file to import into Release 6.2.
Record the settings for your Projects and Environments before exporting them. You will need this information when you reset the properties.
From the Repository or Project context menu, select Export Project to display the Export Manager dialog.
If you do not have any existing Environments in your Repository, the Environment panes are empty.
Highlight the desired Projects or Environments in the displayed lists.
Click the appropriate Arrow button to transfer the highlighted items to the Selected Projects or Selected Environments panes.
When the desired Project appears in the Selected Projects pane, click Browse.
The Save As dialog box appears. A file name is already defined by adding the ZIP extension to the Project name.
You can change the export file name.
To enter the file name click Save As.
The Export Manager dialog box reappears.
Select the export destination and then click Export to export the Project file.
This process may take a few minutes. The Export Status message box appears after the file has been exported successfully.
To close the message box click OK.
Import the Java CAPS Project or Environment into the NetBeans IDE.
Start the NetBeans IDE.
On the menu bar, select Tools, point to CAPS Repository, and then select Import Project.
A warning dialog box appears with a reminder to save any unsaved changes.
Click No if you need to save or check in any changes; otherwise, click Yes to continue with the process.
The Import Manager dialog box appears.
In the From ZIP file field, browse to the location of the export ZIP file you created and then select the file.
If you want the Project to appear as top level in the Projects pane in the NetBeans IDE, select As Top-Level under the Destination Project field drop down list.
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, and then close the Import Manager dialog box.
The Project appears in the Projects Window.
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 or Environment you are exporting.
export_file is the name and path for the archive file to contain the Project 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 the notes under Upgrading From Release 5.0.5 - 5.1.3 to Release 6.2 for links to more information.
If you are using any components that are not included in the default installation, reinstall them now.
This includes certain adapters and add-ons, certain core components like Sun Master Index, and so on.
You can view a list of installed products for Java CAPS 6.2 on the Suite Uploader, which can be accessed from a web browser if the Repository is started. The URL is http://host-name:port-number.. The default port number is 12000.
Export a Project using the export script.
Open a command prompt.
Navigate to JavaCAPS_install_dir\repository\util.
Enter the following command:
exportProject username password branch_name export_file project_name environment_name
For example, to save the Project myProject to the file c:\project1export.zip with the default login, the command would be similar to the following:
exportProject admin adminadmin C:\JavaCAPS5\project1export.zip myProject.
Import the Java CAPS Project or Environment into the NetBeans IDE.
Start the NetBeans IDE.
On the menu bar, select Tools, point to CAPS Repository, and then select Import Project.
A warning dialog box appears with a reminder to save any unsaved changes.
Click No if you need to save or check in any changes; otherwise, click Yes to continue with the process.
The Import Manager dialog box appears.
In the From ZIP file field, browse to the location of the export ZIP file you created and then select the file.
If you want the Project to appear as top level in the Projects pane in the NetBeans IDE, select As Top-Level under the Destination Project field drop down list.
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, and then close the Import Manager dialog box.
The Project appears in the Projects Window.
Continue to Completing the Upgrade From Java CAPS 5.x.