To migrate the Web project from MyEclipse to WTP, create a dynamic Web project in WTP, and then migrate the resources of the Web project that you want to migrate. To migrate a Web project:
Create a dynamic Web project in WTP. For details on the procedure for creating the dynamic Web project, see 4.4.1 Creating a dynamic Web project.
The notes on creating a dynamic Web project during migration to WTP are as follows:
Table G-8 Values to be specified when creating a dynamic Web project
Item | Value |
---|---|
Project name | Specifies the project name of the Web project. |
Content directory | Specifies the same value as the value specified in Web root folder of the Web project. |
Context root | Specifies the value of the <context-root> tag of the DD (application.xml) of EAR project. |
Migrate the resources of the Web project. For details on the resources that can be migrated, see Appendix G.2(2) Migrating the resources of the Web project.
To migrate the resources of the Web project, copy the resources to be migrated to the dynamic Web project created in WTP. You can use the import functionality of WTP to copy the resources. For details on the import procedure, see Appendix G.4(2) Migrating the resources of an EJB project.