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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

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

David Shao
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

openjdk_b22.diff (1K) Download Attachment
Loading...