Show TOC Start of Content Area

Procedure documentation Declaring the Use of Another Development Component  Locate the document in its SAP Library structure

Use

In this step you, declare that your new development component (DC) uses another DC that you have created in the previous steps.

Prerequisites

      You have restarted SAP NetWeaver Developer Studio to refresh the active DCs list.

      You are in the J2EE Development perspective in the J2EE DC Explorer view.

Procedure

...

       1.      Open the DC node of your J2EE-Library DC.

       2.      Select the entry DC MetaData    DC Definition    Used DCs and from the context menu, choose Add Used DC...

Note

A DC can use parts of another DC only, if a use dependency was declared.

       3.      In the dialog that appears, select the Inactive tab.

       4.      Choose the node TECHNO_dev example.org_technology tech/tax/calc DC MetaData Public Parts tax.

Note

You can select different nodes in the hierarchy. The selected node and its child nodes are then available to the DC.

       5.      Select the dependency type:

                            a.      In the section Dependency Type select the entry Build-Time.

                            b.      Unselect the checkbox Deploy Time.

Note

If the DC used is of type Java (as in our example), then the check whether the DC is deployed would always result in an error because this DC type is not deployable. (For this reason, you created a public part of purpose assembly in the previous step, which enables you to wrap the DC in another deployable DC.)

       6.      Choose Finish.

Result

A use dependency is created to component tech/tax/calc.

Next Step

Building and Deploying the Library

End of Content Area