Configuring classpath

The classpath configuration means the setting of paths to the source files or folders. This class path will be used for project sources compilation. The classpath file is located in the root of the project's directory, but it is not visible in the browser tree because it cannot be directly edited by users.

Viewing the source paths of the project

  1. Select the created project item in the Workspace panel.

  2. Go to FileConfigure Classpath... from the top menu to open the Configure Classpath form as below:

  3. Click Add ... or Remove to add or remove source in the tree respectively.

  4. Click Save to accept your changes in the classpath configuration, or Cancel to discard changes.


If the selected item in the Workspace panel is not a project or a part of it, you will get an error message.

Adding sources to classpath

  1. Click Add... in the Configure Classpath form to open the Choose source path form.

  2. Select one or more sources in the tree.

  3. Click OK to accept your selection.


Use the CTRL/Shift key to select more than one item in the tree.


The OK button is disabled if the workspace root folder is selected in the Choose source path form.

Removing sources from classpath

To remove source(s) from project's classpath, select source(s) in the tree of the Configure Classpath form and click Remove.


The Remove button is disabled if there is no source selected in the tree.

Copyright ©. All rights reserved. eXo Platform SAS
blog comments powered byDisqus