Show TOC Start of Content Area

Procedure documentation Setting a Project Classpath  Locate the document in its SAP Library structure

Use

The project classpath is crucial for any J2EE component in a project. It must point to the JAR or folder where the packages of the components and the classes that they use are located. You can set more than one classpath in a list. The position of a folder or a Java class in the classpath list is important because a classpath is searched for in the classpath list from top to the bottom and the first suitable classpath is used.

Procedure

       1.      Choose Project Options. The Project Options dialog window appears.

       2.      Choose the Classpath tab. It lists the available classpaths. You can add, remove and rearrange them.

       3.      Manage a classpath or a classpath variable.

       4.      To rearrange the position of an available classpath, use the Move Up and Move Down buttons.

       5.      To delete a classpath directory from the list, choose it and click the Delete button.

       6.      Click the OK button to confirm your changes.

Managing Classpaths and Classpath Variables

...

       1.      Click the Change button. The Classpath Management window appears. It provides the functionality of a typical File Chooser Window. Additionally you can manage the classpaths from the Classpath field and its relevant buttons.

       2.      To add a new classpath to the list:

                                                  i.       Select a directory or a file from the Directories and Files panes.

                                                ii.       Click the Add button.

                                               iii.       To delete a classpath directory from the Classpath list, choose it and use click the Removebutton.

       3.      To set classpath variables for the Deploy Tool project, click the Variables button. For more information, see Setting Classpath Variables.

       4.      Click the OK button. The Classpath Management window is closed and you return to the Project Options window.

 

 

End of Content Area