Jigsaw forest now includes JDK 7 M5
Jonathan Gibbons
Jonathan.Gibbons at Sun.COM
Wed Nov 11 18:51:09 PST 2009
Andrew John Hughes wrote:
> 2009/11/11 Mark Reinhold <mr at sun.com>:
>
>> If perchance you want to do a boot-cycle build, be sure to apply the
>> attached patch to the jaxws repo first.
>>
>> - Mark
>>
>> --
>>
>> diff --git a/build.properties b/build.properties
>> --- a/build.properties
>> +++ b/build.properties
>> @@ -34,6 +34,9 @@
>> # one of the standard user build.properties files (see build.xml)
>> javac.jar=${bootstrap.dir}/lib/javac.jar
>>
>> +# jaxws needs tools.jar too, for the old com.sun.mirror (APT) API
>> +tools.jar=${java.home}/../lib/tools.jar
>> +
>> # options for the <javac> tasks used to compile the tools
>> javac.source = 7
>> javac.target = 7
>> diff --git a/build.xml b/build.xml
>> --- a/build.xml
>> +++ b/build.xml
>> @@ -108,6 +108,8 @@
>> depends="init, -init-src-dirs, -build-prep">
>> <javac fork="true"
>> destdir="${build.classes.dir}"
>> + includeAntRuntime="false"
>> + classpath="${build.classes.dir}:${tools.jar}"
>> memoryInitialSize="${javac.memoryInitialSize}"
>> memoryMaximumSize="${javac.memoryMaximumSize}"
>> source="${javac.source}"
>>
>>
>
> Wouldn't using ${output.dir}/../langtools/build/classes be better?
> The above assumes the bootstrap JDK has non-standard (com.sun)
> classes.
>
I think Kelly is putting a slightly different variant of the patch into
TL. That funky path you suggest is definitely not better, since it
assumes far too much about the structure within ${output.dir}.
-- Jon
More information about the jigsaw-dev
mailing list