suggestion and offer: langtools in build
Erik Joelsson
erik.joelsson at oracle.com
Thu Jan 24 02:05:45 PST 2013
If you could put the info in a bug it would greatly help us remember to
get on this eventually. Tag it build-infra. Thanks!
/Erik
On 2013-01-24 03:00, Jonathan Gibbons wrote:
> OK, I'll add the code to langtools; you can utilize it in the build
> when you have time.
>
> -- Jon
>
> On 01/23/2013 05:48 PM, Kelly O'Hair wrote:
>> Sounds like a swell idea to me.
>>
>> -kto
>>
>> On Jan 23, 2013, at 3:47 PM, Jonathan Gibbons wrote:
>>
>>> OK, I realize you guys are really busy right now, so you may want to
>>> save this for a bit later ...
>>>
>>> It bugs me that the new build creates lots of jar files for
>>> langtools, that only differ in the main program.
>>>
>>> updating 1739 files
>>> updating 1739 files
>>> updating 1739 files
>>> Modifying langtools/dist/lib/classes.jar
>>> updating 1749 files
>>>
>>> How about changing it so that we create a single jar file
>>> (classes.jar) that contains a "build-time only" main program which
>>> is a wrapper for all the necessary tools, such that the first arg
>>> identifies the tool.
>>>
>>> Thus the downstream use is simply to replace
>>>
>>> BOOTJAVAHOME/bin/java -jar javac.jar args
>>>
>>> with
>>>
>>> BOOTJAVAHOME/bin/java -jar classes.jar javac args
>>>
>>> If you (build-infra guys) are interested, I'll provide the main
>>> program to go in the langtools repo. This would be for the build
>>> only -- there is no suggestion to put it in any external product.
>>>
>>> -- Jon
>
More information about the build-infra-dev
mailing list