Patch to build workspace langtools on Mac OS X 10.4 for b22

David Shao shao3david at yahoo.com
Mon Oct 15 06:35:16 UTC 2007


Attached is a trivial patch to build.xml to get workspace langtools for b22 to at least
compile on Mac OS X 10.4, using the default Java 1.5 and using apache-ant 1.7.0 from
MacPorts.

On my system, the check for the bootstrap java would fail.  I am a novice at Ant, but
from my reading of the manual, I changed the usage of task available so that if the file
on the path created from concatenating property and marker was found, a marker property
would be set, then as was done with the property test of macrodef check, I simply check
for whether the marker property was not set to decide whether to fail.  My description is
longer than the actual changes.

I do not know if using task available with no property set within a conditional is an Ant
idiom that is supposed to work, but that is all that prevented initial building for me.

I have not tested the actual functionality of the built langtools.




       
____________________________________________________________________________________
Yahoo! oneSearch: Finally, mobile search 
that gives answers, not web links. 
http://mobile.yahoo.com/mobileweb/onesearch?refer=1ONXIC
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openjdk_b22.diff
Type: application/octet-stream
Size: 834 bytes
Desc: 1580769911-openjdk_b22.diff
URL: <https://mail.openjdk.org/pipermail/build-dev/attachments/20071014/2ab22362/openjdk_b22.diff>


More information about the build-dev mailing list