• Home
    • View
    • Login
    This page
    • Normal
    • Export PDF
    • Page Information

    Loading...
  1. Dashboard
  2. Undefined Space
  3. Code Tools
  4. How to build

Page History

Versions Compared

Old Version 5

changes.mady.by.user Mikhail Ershov

Saved on Mar 05, 2014

compared with

New Version 6

changes.mady.by.user Kevin Looney

Saved on Jun 11, 2014

  • Previous Change: Difference between versions 4 and 5
  • Next Change: Difference between versions 6 and 7
  • View Page History

Key

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

...

Requirements

The SigTest tool build requires the technologies listed in the following table.

TechnologyWhere to Get It
Ant version 1.6.5 or laterhttp://ant.apache.org/
JDK version 5.0http://java.sun.com/j2se/1.5.0/
JDK version 1.4.2 (optional)http://java.sun.com/j2se/1.4.2/download.html
CDC Reference Implementation 1.1 (JSR 218) (optional, Linux) OR Sun Java Toolkit 1.0 for CDC (optional, Windows) http://java.sun.com/javame/downloads/index.jsp

Checking out the source

The SigTest 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/sigtest

Configure and Run the Build

The following steps describe how to build SigTest tool. These instructions assume that your SigTest tool local working copy is named sigtest.

  1. Set up and configure the JDK 5.0, JDK 1.4.2 (optional), and CDC Reference Implementation 1.1 (JSR 218) (optional).
    • Download and install the JDKs and/or CDC RI.
    • Set the environment variable JAVA_HOME to point to the JDK 5.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 sigtest/build the current directory.
  4. Edit the sigtest/build/build.propertiesfile.
    • The jdk5.home property specifies where the JDK 5.0 is located.
    • The optional jdk4.home property specifies where the JDK 1.4.2 is located. Only needed if you wish to run SigTest for Java SE 1.4 libraries, specify.
    • The optional cdc.boot property specifies bootclasspath used to compile classes for testing CDC libraries. If not specifed, built SigTest will not support CDC classes testing.
  5. Execute the ant command.

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

  • sigtest-<VERSION>.zip -- SigTest distribution file. Contains examples, javadocs, sigtest.jar, sigtestdev.jar and basic documentation files.
  • release/ -- Unpacked SigTest distribution.
  • temp/ -- Temporary build directory.

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.
helpPrints the usage message.
binProduces binaries.
devbuildProduces binaries and javadocs.
javadocProduces javadocs.
testPerforms sanity test.
Overview
Content Tools
ThemeBuilder

Terms of Use
• License: GPLv2
• Privacy • Trademarks • Contact Us

Powered by a free Atlassian Confluence Open Source Project License granted to https://www.atlassian.com/software/views/opensource-community-additional-license-offer. Evaluate Confluence today.

  • Kolekti ThemeBuilder Powered by Atlassian Confluence 8.5.23
  • Kolekti ThemeBuilder printed.by.atlassian.confluence
  • Report a bug
  • Atlassian News
Atlassian
Kolekti ThemeBuilder EngineAtlassian Confluence
{"serverDuration": 505, "requestCorrelationId": "442cf1a071d11fa0"}