CDC Project Properties Dialog Box: Libraries
The Libraries panel enables you to register libraries on a project's various classpaths as
well as set the target
Java ME CDC platform against which all source files are compiled and run.
Like this you can select which emulators your project will run on. You open the
Java ME CDC Project Properties dialog box by right-clicking any
CDC project node and choosing Properties.
You can
configure project classpaths:
- Compile Specifies any libraries, jar files or projects that are needed
to properly compile your application. Essentially this panel sets the compilation classpath
- Run Specifies any libraries, jar files or projects that are needed when you
run the application. Essentially this panel sets the run-time classpath. Any libraries or jar files in this
panel will also be automatically included in the application distribution package.
- Compile Tests JUnit test compilation classpath.
- Run Tests JUnit test runtime classpath.
Use the buttons on the right side of the panel to add, remove,
and change the order of classpath elements. You can add any of the following:
- JAR file. A Java archive file somewhere on your system.
- Library. A collection
of binary files, source files, and Javadoc files.
- Project. The build
output, source files, and Javadoc files of another IDE project. The project must be another CDC project.
Notes:
- If a JAR file with attached souce code and Javadoc documentation is registered
with a project as a member of a Java Class Library, you can simply
add the JAR file to the classpath and the IDE finds the Javadoc documentation
and source code automatically. Adding a Java Class Library rather than a regular JAR file
also makes it easier for other developers
you share the project with to fix broken references to Javadoc documentation
and source code.
- By default, the project's compiled sources and everything on the compilation
classpath are also on the runtime classpath.
Legal Notices