Вы находитесь на странице: 1из 1

http://help.sap.com/saphelp_nw70/Helpdata/en/42/c8204dd57f136fe10000000a1553f7/frameset.

htm

Migrating Local Web Dynpro Projects to the NWDI


Use
You can use this procedure to migrate an existing local Web Dynpro project to the Java infrastructure at a later time.

Prerequisites
The local Web Dynpro project was created in your Eclipse workspace and can be built without errors using the local build process. You have already logged on to the DTR server.

Procedure
To migrate a local Web Dynpro project into a Web Dynpro DC project, proceed as follows:

Creating a New Development Component


...

1. Create a new Web Dynpro DC project. You create an empty container for a Web Dynpro DC that does not yet have any functions. The new DC should include all relevant development objects of the local project. Do not check in the newly created DC into the DTR yet.

Copying Packages from the Local Project


2. In the Web Dynpro perspective, switch to the Navigator view. 3. Select the local Web Dynpro project to be migrated and expand the project structure down to the source folder: <My_Local_Project> p src p packages. 4. Select all packages and from the context menu choose Copy.

Inserting Packages into the New DC Project


5. Now choose the DC project that was just created and expand the project structure in the Navigator view, again down to the source folder. 6. Select the Packages node and choose Paste. The Add Files to DTR dialog box appears. 7. Choose OK to confirm your selection. 8. Assign an activity either by creating a new activity or by choosing an existing one.

Execute Reload
9. 10. 11. Switch to the Web Dynpro Explorer. Select the project node of the DC project and choose Reload. In the displayed dialog box, again choose Reload. Reload now also reloads the Web Dynpro metadata into the new project.

Building the Project


12. Execute a local rebuild for the entire DC project. Choose the function Rebuild project. 13. If there are no errors in the task view, execute a DC-based build by choosing the function Development Component p Build. This build is identical to the central build tool; it is needed to take mutual dependencies of DCs into consideration during the build.

Result
You have migrated your local Web Dynpro project into a DC project. You can now deploy the new DC into your local environment and test it before you commence checking in the assigned activity into the DTR.

Вам также может понравиться