darling-openjdk/langtools
Kelly O'Hair 3388e7fb44 Merge
2011-02-15 12:34:33 -08:00
..
.jcheck 6669216: Add jcheck configuration directories 2008-02-29 20:04:03 -08:00
make 7013272: Automatically generate info about how compiler resource keys are used 2011-01-26 13:45:25 -08:00
src/share Merge 2011-02-15 12:34:33 -08:00
test 7007615: java_util/generics/phase2/NameClashTest02 fails since jdk7/pit/b123 2011-02-07 18:10:13 +00:00
.hgignore 6909462: Fix nbproject/private references in .hgignore 2009-12-16 12:52:23 -08:00
.hgtags Added tag jdk7-b129 for changeset 22e1f19ae95c 2011-02-10 16:24:51 -08:00
ASSEMBLY_EXCEPTION Initial load 2007-12-01 00:00:00 +00:00
LICENSE Initial load 2007-12-01 00:00:00 +00:00
README 6843041: Remove duplicate README files in repositories (make/README) 2009-05-19 17:39:30 -07:00
THIRD_PARTY_README 6803688: Integrate latest JAX-WS (2.1.6) in to JDK 6u14 2009-08-07 11:32:20 -07:00

Building the "langtools" workspace.

The "langtools" workspace can be built from the command line with Ant.
The build file is make/build.xml, in conjunction with make/build.properties.
Some additional user-specific properties files are also read, to allow
you to customize selected properties as needed.

Individual tools within the workspace can also be built and worked on
with NetBeans, using the projects in the make/netbeans directory.

The "langtools" workspace can also be built from the command line with
GNU Make, although the Makefile is simply a wrapper around the Ant
build file. This is provided for systems (such as the full OpenJDK build)
that expect to be able to build this workspace with GNU Make.

System Requirements:
  Ant:      version 1.6.5 or later
  NetBeans: version 6.0 or later (optional)
  JDK:      currently version 1.5.0, although 1.6.0 is recommended
  OS:       any system supporting the above tools

For more information:
  Ant:      http://ant.apache.org/
  GNU Make: http://www.gnu.org/software/make/
  NetBeans: http://www.netbeans.org/


Testing the "langtools" workspace.

The primary set of tests for the compiler is the compiler TCK. This
tests that the compiler performs according to the specifications in
JLS and JVMS.

In addition, there is a substantial collection of regression and unit
tests for all the tools in the maain langtools test/ directory.

Finally, there is a small set of tests to do basic validation of a build
of the langtools workspace for use by JDK. These tests check the contents
of the dist/ directory generated by the build, and verify that the various
tools can do basic "Hello World"-style processing. These tests should be
run by jtreg, with the -jdk option set a version of JDK capable of running
the default output of the javac compiler in this workspace. Currently, 
this means JDK 6 or better.