Building JPPF
From JPPFWiki
| Main Page > Building JPPF |
[edit]
Requirements
- Any platform with Java 2, Standard Edition (J2SE) 5.0 or later. Note that the JDK is required, the JRE does not have a compiler.
- Apache Ant 1.6.2 or later.
- At least 512 MB of RAM.
- The latest version of the JPPF source code. It can be found on the JPPF download page. The name of the file should be jppf-full-src-x.y.z.bbbb-yyyymmdd.zip, where:
- x.y.z denotes the major version, minor version and patch level
- bbbb is the build number
- yyyymmdd is the date of the build
[edit]
Building from the source
Once you have unzipped the source distribution, say in a folder named jppf-x.y.z, go to jppf-x.y.z/JPPF/bin and run ant deploy.
This will compile and package all the distribution files that are currently available on the JPPF download page.
All the build scripts are located in jppf-x.y.z/JPPF/bin.
The main build script (build.xml) uses a properties file, build.properties, used to configure the way the build will be performed.
Here is an example build.properties:
# release number for this build version.number = 0.24.0 # root install directory for the NSIS installer # this is used to generate the WIndows screensaver installer NSIS.home = C:/Tools/NSIS # switch to generate either a single jar file for each component, or multiple ones. # possible values: single | multiple build.jars.type = multiple
