Start of Content Area

Procedure documentation Referencing JAR Files Locate the document in its SAP Library structure

Procedure

Caution

The version of the JAR files you reference in your project in the SAP NetWeaver Developer Studio must be the same as the version on the portal you use for deployment and testing.

...

       1.      Copy all the JARs that you need for the project from the portal for deployment to the workspace of your project. To do this:

                            a.       Create a folder in your project workspace with File  ® New folder:

                            b.       Copy the following public Knowledge Management JAR files to the folder:
bc*_api.jar, km*_api.jar and coll*_api.jar

                            c.      If required, copy further portal JAR files to the folder.

       2.      Identify all the JAR files you need to reference in your project. If you use a particular Knowledge Management class or interface, you can identify the corresponding JAR file in the Javadocs. The Javadocs specify the name of the JAR file that each interface or class belongs to.

For Knowledge Management, you need to reference:

     All bc*_api.jar files

     The subset of JAR files identified in km*_api.jar and coll*_api.jar

     Additional portal JAR files if you use portal classes or interfaces

       3.      Add the JAR files you need for your project to the Java build path of your project. To do this, choose Project à Properties and then select Java Build Path and choose Add Jars.

Caution

To ensure acceptable performance, only reference the JARs you actually need for your development project. Referencing all km*_api.jar and coll*_api.jar files would significantly slow down your development work.

End of Content Area