
Migrating command and data bean projects
Migrating command and data bean projects involves several steps. The project must be exported from your old development environment, and imported into WebSphere Commerce Developer, Version 7.
About this task
Custom extension logic code from the WebSphereCommerceServerExtensionsLogic project must be exported from WebSphere Commerce Developer Version 5.6.1 or 6.0 as a jar file named WebSphereCommerceServerExtensionsLogic.jar, and imported as compressed file under WebSphere Commerce Developer Version 7.0 within .
Other custom projects must be exported and imported following the instructions in step 3.
Procedure
- Export the Java project from your old development environment
as a JAR file using Rational Application Developer.
- Open your WebSphere Commerce Developer development environment workspace and open the J2EE perspective.
- Select the project containing your customized code. Right-click the mouse button; then click .
- Click Next.
- In the list of resources under Select the resources to export, ensure your project is selected.
- Ensure Export generated class files and resources and Export java source files and resources are selected.
- Click Browse and choose a path to save the exported archive file.
- Ensure Compress the contents of the JAR file is selected.
- Click Finish to complete the export.
- Import the Java project using (RAD) Rational Application
Developer functions within WebSphere Commerce Developer, version 7.0.
- If the project you want to import doesn't exist in your
Version 7.0 developer workspace, then follow these steps to import
entire command or databean projects from previous versions of WebSphere
Commerce Developer:
- Open your old WebSphere Commerce Developer Version development environment workspace and open the J2EE perspective.
- Select the project containing your customized code. Right-click the mouse button and select Export .
- Select Zip file and click Next .
- In the list of resources under Select the resources to export , ensure your project is selected.
- Ensure the Create only selected directories and Compress the contents of the file options are selected
- Click Browse and choose a path to save the exported ZIP file.
- Click Finish to complete the exporting.
- Open your WebSphere Commerce Developer Version 7.0 development environment workspace and open the Java EE perspective.
- Select .
- Click Browse to find the file you exported.
- Click Finish .
- A Workspace Migration Wizard is shown. Follow the instructions in the wizard to complete the migration.
- Correct any compilation errors and rebuild the project.