Upgrading to Java CAPS 6

ProcedureTo Upgrade Using the Command Line to Export Projects and Environments

Before You Begin

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:

  1. Install Java CAPS 6.

    See one of the following for instructions on how to complete an installation:


    Tip –

    Before beginning an installation, ensure that you are familiar with the contents of Planning for Java CAPS Installation.


  2. Export a Project using the export script.

    1. Open a command prompt.

    2. Change the directory to JavaCAPS_install_dir\repository\util.

    3. To save the Project myProject to the file c:\project1export.zip, enter exportProject username password JavaCAPS_install_dir\project1export.zip myProject “ “.

  3. Import the non-JBI based Project or Environment into NetBeans IDE.

    1. Start NetBeans IDE.

    2. On the menu bar, select Tools, CAPS Repository, and then Import Project.

    3. 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.

    4. 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.

    5. 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.”

    6. When you have made all your selections on the Import Manager dialog box, click Import.

    7. When the Import Status message appears, click OK.

    8. Wait until the Repository completes refreshing, then close the Import Manager dialog box.

      The Project appears under Projects in the left pane.