IBM BPM, V8.0.1, All platforms > Migrating and upgrading your IBM BPM environment > Migrating from other products > Migrating from WebSphere Studio Application Developer Integration Edition > Migrating your workspace
Migrating workspaces using WSADIEWorkspaceMigration
The WSADIEWorkspaceMigration command enables the migration of workspaces.
Specifically for the migration of service projects, the migration command does the following tasks:
- Creates a new business integration module (the module name is defined by you)
- Migrates the classpath entries of the service project to the new module
- Copies all WebSphere Business Integration Server Foundation source artifacts from the selected source project to this module
- Migrates the BPEL extensions in WSDL files
- Migrates the business processes (.bpel files) from BPEL4WS version 1.1 to the new level supported by IBM BPM, which is built on BPEL4WS version 1.1 with major capabilities of the upcoming WS-BPEL version 2.0 specification
- Creates an SCA component for each BPEL process
- Generates a monitoring file with a .mon extension for each BPEL process to preserve the default monitoring behavior from WebSphere Studio Application Developer Integration Edition (if necessary)
- Creates imports and exports depending on the deploy options chosen in WebSphere Studio Application Developer Integration Edition
- Wires the BPEL component to its partner links (imports, exports, and Java components)
To run the WSADIEWorkspaceMigration script, follow these steps:
Procedure
- Locate the script by opening the shared folder specified during the installation of IBM Integration Designer.
For example, the script will be located under a directory path similar to the following: < wid_root>\wstools\eclipse\plugins\com.ibm.wbit.migration.wsadie_6.2.0.v20081112_0200
- Invoke the script as follows: WSADIEWorkspaceMigration.bat -WIDstartup eclipse_dir -WIDworkspace WID_target_workspace -WSADIEworkspace source_WSADIE_Workspace_dir
Parameter definitions:
- -WIDstartup
- The location of your Eclipse folder (Eclipse runtime).
- -WIDworkspace
- The new workspace where the new business integration module will be created.
- -WSADIEworkspace
- The full path to the WebSphere Studio Application Developer Integration Edition 5.1 workspace.
For example:
WSADIEWorkspaceMigration.bat -WIDstartup "C:\IBM\WID\eclipse" -WIDworkspace "c:\WID Workspaces\myWIDWorkspace" -WSADIEworkspace "c:\wsadie workspaces\myWSADIEWorkspace"- After the command has finished running, start the new workspace in IBM Integration Designer.
- Build the workspace that was created and try to resolve any build errors. Inspect all migrated BPEL files and ensure that they are fully migrated and can be opened in the IBM Integration Designer BPEL editor. There are some BPEL Java snippets that cannot be automatically migrated. If you see any errors in the BPEL Java snippets, see "Migrating to the SCA Programming Model" for steps needed to fix the errors.
- Open the dependency editor to ensure that the dependencies are set correctly. To do this, switch to the business integration perspective and double-click the business integration module project. From there you can add dependencies on business integration library projects, Java projects, and Java EE projects.