-
Book Overview & Buying
-
Table Of Contents
-
Feedback & Rating
Apache OfBiz Cookbook
The Java compiler uses information on the CLASSPATH to resolve references to Java classes that are present within your OFBiz program. Since there may be many class references within your Java code, OFBiz makes it easy to add classes and JAR files to the compile time CLASSPATH by providing the ANT tool.
Open the build.xml file in the Component that contains your Java source.
To add classes and JAR files to the compile time CLASSPATH, do as follows:
1. Locate the section within the build.xml file named local.class.path
2. Add your new JAR file or Java class file location within the path directive as shown in the following:
![]() |
3. Save and close the file.
4. Invoke ANT to build your program with the new CLASSPATH entries.
OFBiz provides a convenient tool in a pre-configured ANT build.xml file to manage the OFBiz compile time CLASSPATH. To add new compile time entries, simply modify the ANT build.xml file.
Change the font size
Change margin width
Change background colour
