IBM SG24-6320-00 manual Running the tool, Our example, we used the following directory

Models: SG24-6320-00

1 306
Download 306 pages 3.81 Kb
Page 132
Image 132

6320ch_DEV_migration.fm

Draft Document for Review July 28, 2004 7:33 pm

7.3.2 Running the tool

To run the WCIM tool, complete the following steps:

1.Open a command prompt in windows.

2.Navigate to the following directory:

<wctoolkit_home>\bin

In our example, we used the following directory:

D:\WebSphere\WCToolkitPro56\bin.

3. Run the WCIM tool as follows:

wcim -component toolkit -from 51 -instance instancename

where instancename is the name of your instance in your development environment. In our example, we ran the command as follows:

wcim -component toolkit -from 51 -instance demo

4.You will be prompted to enter the path to the home directory of WebSphere Commerce. You must enter the path to the WebSphere Commerce Suite V5.1 installation on your development machine.

For example, we entered D:\WebSphere\WCS.

5.You will be prompted to enter the path to the home directory VisualAge for Java V3.5.3. Enter the full path to the file.

For example, we entered D:\WebSphere\VAJava.

Next, you will be prompted to provide the name of the custom code JAR file. You must enter the full path and file name of the JAR file you exported in 6.2.4, “Export code from VisualAge for Java V3.5.3” on page 100.

For example, we entered D:\MyStoreCommands.jar.

The tool will now complete the remaining steps with no further input. Example output from the tool in the Command Window can be seen in Example 7-1.Ensure that the output from the tool reports no errors. On our system, the tool took approximately one minute to finish.

Example 7-1 Sample output from the WCIM tool

Event: MethodId: parseArgs

Event: MethodId: initLogFile

Event: **************************************************

Event: * WCIM was started at 2004.06.09.22.45.51.000075 *

Event: **************************************************

Event: MethodId: getWCIMPlan - getting WCIM migration plan

Event: MethodId: getAllCommands

Event: MethodId: shortenCmdList

114Keeping Commerce Applications Updated WebSphere Commerce 5.1 to 5.6 Migration Guide

Page 132
Image 132
IBM SG24-6320-00 manual Running the tool, Our example, we used the following directory, Run the Wcim tool as follows