- Loading...
This page describes how to build the AsmTools binary. Some notes before you get started:
The AsmTools build requires the technologies listed in the following table.
Technology | Where to Get It |
---|---|
Ant version 1.8 or later | http://ant.apache.org/ |
JDK version 8.0 | http://www.oracle.com/technetwork/java/javase/downloads/index.html |
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:
% hg clone http://hg.openjdk.java.net/code-tools/asmtools
The following steps describe how to build AsmTools. These instructions assume that your AsmTools local working copy is named asmtools
.
ant
command. For example: ANT-dist-path/bin/ant
asmtools/build
the current directory.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.
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.The following additional targets are available. You might wish to identify these targets to your IDE (for example, NetBeans).
Build Target | Description |
---|---|
build (default) | Builds all binaries, doc and distributions. |
clean | Removes the entire build directory. |
clean-build | Runs the clean target, then the build target (convenience target) |
help | Prints the usage message. |
bin | Produces binaries. |
devbuild | Produces binaries and javadocs. |
javadoc | Produces javadocs. |
test | Performs sanity test. (no content presently) |