IBM SG24-6320-00 Manuel D’Utilisation

Page de 306
 Chapter 7. Migrating the development environment 
121
Draft Document for Review July 28, 2004 7:33 pm
6320ch_DEV_migration.fm
4. Right-click on the project and select Export... from the menu.
The Export Smart Guide will appear
5. Select Repository as the export destination and click Next.
6. On the next page, make sure that Local Repository is selected.
7. Specify a location for your exported repository in the Repository name 
text-box. For example, 
D:\myStoreEjbs.dat
8. Ensure that Projects is selected from the list of export options. You can 
confirm that the correct project and its versions are selected by clicking the 
Details... button.
9. When you are sure that the correct project, containing your EJB code, is 
selected, click Finish.
10.If you are prompted to create the new repository file, click Yes.
Your code will now be exported. This can take several minutes depending on 
how many EJBs you have in your projects.
Once the code has been exported, you can close VisualAge for Java V3.5.3. You 
should now either copy the exported repository file to the system where you 
installed VisualAge for Java V4.0 or ensure that the file is visible from the 
system.
7.5.3  Import the EJB projects into VisualAge for Java V4.0
The next step is to import the repository containing your EJB code into VisualAge 
for Java V4.0.
To import the repository, complete the following steps:
1. If not already open, launch VisualAge for Java V4.0.
2. Click the File menu and select Import....
3. In the Import SmartGuide, select Repository as the import source and click 
Next.
4. In the Import from another repository page:
a. Select Local repository.
b. Enter the path and filename of the repository file you exported in the last 
section in the Repository name text box.
Reminder: Ensure that only EJB code exists in the project you select for 
export.