jist:AntBuild
From NITRC Wiki
All open source plugins may now be retrieved and built using ant.
- Step 0. Test your system.
Ant version 1.7.1 or newer required:ant -versionJava JDK 1.6.0 or newer required:java -versionANDjavac -version
- Step 1. Download the build files.
cvs -d :pserver:anonymous@www.nitrc.org:/cvsroot/jist checkout build
- Step 2: Edit the build/build.properties file.
Set mipav= to the absolute path as to where mipav is install.
Note: ~/mipav will not work. Ant requires the full path, such as /home/bnennett/mipav-4-3-0
- Step 2: Alternate: Configure ant for named user-checkout.
- If you would like to check out the build files as a specific user, so that you may (depending on permissions) check in modified source code, then edit the userpass tag in build.properties.
# Define workspace directories for projects to include in the jar file mipav=/home/bennett/mipav-4.2.3 # Set your NITRC username and password. Used only if you modify the build.xml # checkout section to gain write-access userpass=<user>:<pass>
- Additionally, you will need to comment out the
<!-- Read Access -->
section of build.xml and uncomment the<!-- Write Access -->
section. If there is substantial demand for this capability, we can retool the ant file to provide additional support for write-access.
- Additionally, you will need to comment out the
- Step 3: Ant Tasks: checkout, clean, compile, deploy
Use the shortcut: ant all from the build/ folder to run all tasks. Alternatively, each may be run independently.
- This results in two jars in the
jarsfolder. The "JIST-BASE" jar contains NO plugins. The "JIST" jar contains both the base and the plugins. We distribute the JIST jar on NITRC: http://www.nitrc.org/frs/?group_id=228
- This results in two jars in the
- Step 4 (optional): You may rebuild the Javadoc API documentaiton
ant javadoc
- The resulting webpages in the
docfolder are the update version of the | JavaDoc API and | Module (Algorithm) Doc listed on our NITRC toolbar.
- The resulting webpages in the








