With this procedure you migrate your standard development projects to a development component (DC), which you can add to SAP NetWeaver Development Infrastructure (NWDI) control. The procedure is applicable for the following type of local projects:
Enterprise Application Project
EJB Project
Java Project
Dynamic Web Project
Web Dynpro Project
Migrating Projects
There is no automatic migration for Web, EJB, and EAR project. You have to move them manually to a DC.
Open the Project Explorer view of the SAP NetWeaver Developer Studio.
Select the project you want to migrate. In the context menu, choose
In the dialog that appears, select a development configuration and navigate to the software component (SC) in which the converted project should be put as DC. Choose Next .
Select the project that you want to convert to development component. Choose Finish .
The new DC project is created in the selected SC.
Public parts are not generated automatically.
Migrating EAR Projects
Since it is not possible to migrate an EAR project, you have to create it from scratch.
From the Development Infrastructure perspective, select the SC to which you want to add the DC. Open the context menu and choose
.In the dialog that appears, select Next .
. ChooseSpecify preferences for the new DC. Choose Finish .
Select the DC and open the Public Parts tab. Create a new public part for the migrated Web project.
When creating a DC Web Module project from scratch, the public parts are generated automatically.
Choose Dependencies tab. Add the dependency to the engine.jee5.facade public part (for servlet.jar ).
Add the dependency from the EAR project to the migrated web project. Open the Component Properties view of the EAR DC.
Select the tab Dependencies and choose Add.. .
In the dialog that appears, choose the DC that should be referenced from the list. Choose Next .
Select the public part of type assembly and choose Finish .
Build the DC with the newly created public part.
From the DC context menu choose Build .
Build the EAR project and deploy it locally to test it.
Your project is now available as a DC.
More information :