# HG changeset patch # User jjg # Date 1250088870 25200 # Node ID f9ee66e780f468d4f15f9ea9ab7951ee580d42f6 # Parent bb3c0eeec3cb78bb3a7137048a0df177368716c5 6758471: should be able to set jtreg options in langtools build Reviewed-by: mcimadamore diff -r bb3c0eeec3cb -r f9ee66e780f4 langtools/make/build.properties --- a/langtools/make/build.properties Wed Aug 12 07:14:02 2009 -0700 +++ b/langtools/make/build.properties Wed Aug 12 07:54:30 2009 -0700 @@ -26,10 +26,10 @@ # This is the JDK used to build and run the bootstrap version of javac. # The bootstrap javac is used to compile both boostrap versions of the # other tools, and product versions of all the tools. -# Override this path as needed, either on the command line or in +# Override this path as needed, either on the command line or in # one of the standard user build.properties files (see build.xml) -# boot.java.home = /opt/jdk/1.6.0 +# boot.java.home = /opt/jdk/1.6.0 boot.java = ${boot.java.home}/bin/java boot.javac = ${boot.java.home}/bin/javac boot.javac.source = 6 @@ -37,7 +37,7 @@ # This is the JDK used to run the product version of the tools, # for example, for testing. If you're building a complete JDK, specify that. -# Override this path as needed, either on the command line or in +# Override this path as needed, either on the command line or in # one of the standard user build.properties files (see build.xml) # target.java.home = /opt/jdk/1.7.0 @@ -66,23 +66,23 @@ javac.debuglevel = source,lines javac.no.jdk.warnings = -XDignore.symbol.file=true # set the following to -version to verify the versions of javac being used -javac.version.opt = +javac.version.opt = # in time, there should be no exceptions to -Xlint:all javac.lint.opts = -Xlint:all,-deprecation -Werror # options for the task for javac javadoc.jls3.url=http://java.sun.com/docs/books/jls/ -javadoc.jls3.cite=<a href="${javadoc.jls3.url}">The Java Language Specification, Third Edition</a> +javadoc.jls3.cite=<a href="${javadoc.jls3.url}">The Java Language Specification, Third Edition</a> javadoc.jls3.option=-tag "jls3:a:See <cite>${javadoc.jls3.cite}</cite>:" # jtreg, used to run the JDK regression tests -# Override this path as needed, either on the command line or in +# Override this path as needed, either on the command line or in # one of the standard user build.properties files (see build.xml) # jtreg.home = /opt/jtreg/3.2.2_02 # findbugs -# Override this path as needed, either on the command line or in +# Override this path as needed, either on the command line or in # one of the standard user build.properties files (see build.xml) # findbugs.home = /opt/findbugs/1.2.1 @@ -94,46 +94,61 @@ # parameter of Ant filesets. In particular, note the trailing '/'. javac.includes = \ - javax/annotation/processing/ \ - javax/lang/model/ \ - javax/tools/ \ - com/sun/source/ com/sun/tools/javac/ + javax/annotation/processing/ \ + javax/lang/model/ \ + javax/tools/ \ + com/sun/source/ com/sun/tools/javac/ javac.tests = \ - tools/javac - + tools/javac + +# + javadoc.includes = \ - com/sun/javadoc/ \ - com/sun/tools/javadoc/ + com/sun/javadoc/ \ + com/sun/tools/javadoc/ javadoc.tests = \ - tools/javadoc/ - + tools/javadoc/ + +# + doclets.includes = \ - com/sun/tools/doclets/ + com/sun/tools/doclets/ doclets.tests = \ - com/sun/javadoc/ + com/sun/javadoc/ + +# javah.includes = \ - com/sun/tools/javah/ + com/sun/tools/javah/ javah.tests = \ - tools/javah/ + tools/javah/ + +# javap.includes = \ - com/sun/tools/classfile/ \ - com/sun/tools/javap/ \ - sun/tools/javap/ + com/sun/tools/classfile/ \ + com/sun/tools/javap/ \ + sun/tools/javap/ javap.tests = \ - tools/javap/ + tools/javap/ + +# apt.includes = \ - com/sun/mirror/ \ - com/sun/tools/apt/ + com/sun/mirror/ \ + com/sun/tools/apt/ apt.tests = \ - tools/apt/ - + tools/apt/ + +# +# The following value is used by the main jtreg target. +# An empty value means all tests +# Override as desired to run a specific set of tests +jtreg.tests = diff -r bb3c0eeec3cb -r f9ee66e780f4 langtools/make/build.xml --- a/langtools/make/build.xml Wed Aug 12 07:14:02 2009 -0700 +++ b/langtools/make/build.xml Wed Aug 12 07:54:30 2009 -0700 @@ -31,7 +31,7 @@ --> - + @@ -49,8 +49,8 @@ - - + + @@ -75,25 +75,25 @@ The best file to check for across Solaris/Linux/Windows/MacOS is one of the executables; regrettably, that is OS-specific. --> - + - + - + - + - - + the tools' jar files. If it has not already been set, then + default it to use ${target.java.home}, if available, otherwise + quietly default to simply use "java". --> + + - + @@ -107,13 +107,13 @@ - + - + - + - + @@ -122,13 +122,11 @@ - - - - + + + + @@ -170,52 +168,52 @@ - - + - - - + - + - + - + - + - + - + - + - + @@ -223,31 +221,31 @@ includes="${javadoc.includes}" jarclasspath="javac.jar doclets.jar"/> - + - + - + - + - + - + - + - + @@ -256,11 +254,11 @@ jarmainclass="com.sun.tools.javadoc.Main" jarclasspath="javadoc.jar"/> - + - + - + - + - + - + - + @@ -287,29 +285,29 @@ includes="${javah.includes}" jarclasspath="javadoc.jar doclets.jar javac.jar"/> - + - + - + - + - + - + - + @@ -317,85 +315,85 @@ includes="${javap.includes}" jarmainclass="sun.tools.javap.Main"/> - + - + - + - + - + - + - + - + - + - + - + - - + + - + - + - + - + - + - + - + - + - + @@ -435,8 +433,8 @@ - - + + @@ -477,7 +475,7 @@ - + @@ -540,7 +538,7 @@ includeAntRuntime="no" source="@{javac.source}" target="@{javac.target}" - debug="${javac.debug}" + debug="${javac.debug}" debuglevel="${javac.debuglevel}"> @@ -549,7 +547,7 @@ - + @@ -560,7 +558,7 @@ - + - + - + - + @@ -614,14 +612,14 @@ -
Unofficial Javadoc generated from developer sources for preview purposes only]]>
@@ -650,8 +648,8 @@
- - + + @@ -662,7 +660,7 @@ - + @@ -670,9 +668,9 @@ - - @@ -701,9 +699,9 @@ - + - + @@ -716,7 +714,7 @@ - - + @@ -763,7 +761,7 @@ - ant.home = ${ant.home} boot.java.home = ${boot.java.home} @@ -779,15 +777,15 @@ - - +