Versions Compared

Key

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

...

TechnologyWhere to Get It
Ant version 1.6.5 8 or laterhttp://ant.apache.org/
JDK version 78.0http://javawww.sunoracle.com/j2se/1.7.0/

Checking out the source

The JCov tool repository is located on OpenJDK servers, in the CodeTools Project.  It is stored in mercurial vcs, and can be uploaded from mercurial via the following command:

...

  1. Set up and configure the JDK 78.0.
    • Download and install the JDKs.
    • Set the environment variable JAVA_HOME to point to the JDK 78.0.
  2. Set up and configure the Ant software.
    • Download and install the Ant software.
    • Set your execution path so that it contains the ant command. For example: ANT-dist-path/bin/ant
  3. Make asmtools/build the current directory.Edit the asmtools/build/build.propertiesfile.The jdk5.home property specifies where the JDK 7.0 is located.

  4. Execute the ant command.

The output of the build (asmtools-<VERSION>-build directory) contains the following files and subdirectories:

  • dist/asmtools-<VERSION>.zip -- AsmTools distribution file. Contains examples, javadocs, asmtools.jar and basic documentation files.

  • release/ -- Unpacked AsmTools distribution.

    temp/ -- Temporary
  • binaries/ -- Snapshot of the built product and intermediate source and binaries which were used.  These include unpacked class files, sources, etc.
  • javadoc/ -- Generated copy of the JavaDoc for public API build directory.

Additional Build Targets

...

Build TargetDescription
build (default)Builds all binaries, doc and distributions.
cleanRemoves the entire build directory.
clean-build
Runs the clean target, then the build target (convenience target)
helpPrints the usage message.
binProduces binaries.
devbuildProduces binaries and javadocs.
javadocProduces javadocs.
testPerforms sanity test. (no content presently)