If you want to use the following import in your Java Class file:
import com.sapportals.portal.pcd.gl.IPcdGlService;
and this class is available in the com.sap.portal.pcd.glserviceapi JAR file, you will have to declare a dependency to the JAR file. Thus, you need to reference a dependency to a public part that is made available using an external library.
You work in SAP NetWeaver Developer Studio.
...
1. From the menu path, choose Window → Open Perspective → Other… and select from the list of perspectives the entry Development Configurations.
2. Open Local DCs view.
3. To create a new development component (DC), open the context menu of your software component (SC) and select Create New DC…
The New Development Component project dialog appears.
4. Specify the project data. For example:
Data |
Value |
Vendor |
sap.com |
Name |
ep_libraries |
Caption |
Common EP Library |
Language |
American English |
Domain |
Enterprise Portals |
Type |
External Libraries |
Do not select the Local Development Component indicator. Thus, you add the DC immediately to the DTR and activate its usage for other developers.
5. Choose Next.
6. Create a new activity if required. For example:
Data |
Value |
Display name |
EP Library Definition |
Description |
Initial EP Library Definitions |
7. Choose OK and then Finish.