You create a public part of the development component (DC) to be associated with a library.
● You have created a DC project.
● You have selected to add the DC directly to the DTR.
...
1. Open the Development Configurations perspective.
2. Open the Local DCs view and expand the DC project.
3. In the context menu of the Public Parts folder, choose New Public Part.
The Add Public Part dialog appears.
4. Enter the required information.
Name |
Value |
Name |
com.sap.portal.pcd.glservice_api |
Caption |
com.sap.portal.pcd.glservice_api.jar |
Select the radio button Provides an API for developing/compiling other DCs.
5. Choose Next.
6. To add entities, select an entity type and choose Finish.
A dialog Add Files to DTR appears.
7. Select the files to add to the DTR and choose OK.
A dialog Select Activity appears.
8. Select the activity and choose OK.
9. Choose Finish.
Make sure that the public part files contain the JAR entries as Archive, for example:
<entity-type>Archive</entity-type>
The public part file of the library DC should be as follows:
<entities> <entity> <name>xxx.jar</name> <package></package> <caption>xxxx.jar</caption> <description></description> <entity-type>Archive</entity-type> <entity-sub-type>Java Library</entity-sub-type> </entity> </entities> |
You have created the public part of the DC.