AsmTools Build Instructions

This page describes how to build the AsmTools binary. Some notes before you get started:

Table of Contents

Requirements

The AsmTools build requires the technologies listed in the following table.

TechnologyWhere to Get It
Ant version 1.8 or laterhttp://ant.apache.org/
JDK version 8.0http://www.oracle.com/technetwork/pt/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

Configure and Run the Build

The following steps describe how to build AsmTools. These instructions assume that your AsmTools local working copy is named asmtools.

  1. Set up and configure the JDK 7.0.
  2. Set up and configure the Ant software.
  3. Make asmtools/build the current directory.

  4. Execute the ant command.

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

Additional Build Targets

The following additional targets are available. You might wish to identify these targets to your IDE (for example, NetBeans).

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)