Entering content frame

Procedure documentation Managing PAR and JAR Files in the Project Locate the document in its SAP Library structure

Use

Use this procedure to manage the PAR files using the SAP NetWeaver Developer Studio.

Procedure

Importing a PAR File Into a New Project

This enables you to create a new project from an existing PAR file.

...

       1.      Choose File  ® Import… ® PAR File.

 This graphic is explained in the accompanying text>

       2.      Specify the location of the PAR file.

       3.      Specify the other required values and choose Finish.

       4.      The PAR file is imported. The following is displayed:

This graphic is explained in the accompanying text

If the source code is included in the PAR file, you will be able to edit this code and generate a new PAR file. The import function sets up a basic classpath for the new project. The following JAR files are added to the new project:

·        prtapi.jar

·        com.sap.portal.runtime.application.soap_api.jar

·        sapxmltoolkit.jar

·        jaxm-api.jar

·        jaxp.jar

·        saaj-api.jar

·        prttest.jar

·        com.sap.security.api.jar

Managing JAR Files in the Project

When the portal application you imported uses additional portal services (for example: HTMLB), you have to add the corresponding JAR files manually:

...

       1.      Right-click on the project in the Package Explorer view

       2.      Choose Properties ® Java Build Path

       3.      Select the Libraries tag

The list of the current JAR files added to the project is displayed:

·        To remove a JAR file, select the it and choose the Remove

·        To add a JAR file, choose Add External JARs ... and select a JAR file

 

 

Leaving content frame