Migrating Standard Projects into Development Components
Use
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
Procedure
Migrating Projects
-
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.
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 . Choose Next .
-
Specify 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.
-
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.
Result
Your project is now available as a DC.
More information :

