Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Build Basics

The OpenSAML 2 source tree comes with a script for invoking Ant on Unix platforms (ant.sh) and Windows platforms (ant.bat). The build provides the following targetlibrary uses the maven build tool, which provides the following useful commands (among many others):

  • clean - removes all the build generated content
  • javadoc:javadoc - generated the Javadoc for the library and places in it the doctarget/site/javadocapidocs directory
  • test - runs the available unit tests and places the results in the doctarget/resultssurefire-reports directory
  • package - generates the OpenSAML java distribution packages and places it them in the dist target directory

Targeting JDK 1.4

By default the build script will target Java 5.0 (JDK 1.5), if you wish to build the library so that it works with Java2 1.4 (JDK 1.4), simply open the build.properties file and change the target.jdk property to 1.4.

Note: You must use JDK 1.5 when building !OpenSAML, even if you are targeting JDK 1.4. The build process will downgrade the resulting Java class files using Retroweaver.

Developer Targets

The build script provides the following development related targets

...

4 builds are currently disabled for the moment, but will return shortly.