![]() ![]() |
Concepts How to... Configuration
Common Configurations Customization Project |
There are two ways to get the James source code. 1. Download the source distribution - the source is available from the James release mirrors. Simply choose the version of James you'd like to download, and pick the source distribution appropriate for your platform. 2. Get the source code using SVN - this method gives you access to the cutting edge code base. Instructions on how to use SVN to get the James source code (the jakarta-james distribution) can be found here. James server repository is here.
To run the build you need two third-party tools. 1. Java Development Kit - You must have a JDK of Java version 1.4 or higher installed to build the James distribution. The exact JDKs available depend on the platform. A JDK must be downloaded and installed before the build can run. 2. Ant - This is a Java-tailored, XML-configured, extensible build or make system. You need ant (1.6+) in order to build James. You can get the latest version of Ant here.
In the top level directory of the source distribution you can use ant, simple set the environment variable JAVA_HOME to the base directory of the JDK. Then run the build with any of the following command line arguments:
All build products are output in the dist subdirectory of the James source distribution directory. There is also a build subdirectory of the James source distribution directory that is created during the build process. Both of these directories will be deleted if you run build with the clean argument. Warning! Any changes you've made in the 'dist' directory will be lost after a recompilation. If you are making changes to the config.xml or other files, we recommend you backup and then change the copies in src to avoid losing work. |
|
|
||