[Fwd: Patch to build workspace langtools on Mac OS X 10.4 for b22]

Kelly O'Hair Kelly.Ohair at Sun.COM
Mon Oct 15 10:02:45 PDT 2007


Forwarding to javac alias.

-kto

-------- Original Message --------
Subject: Patch to build workspace langtools on Mac OS X 10.4 for b22
Date: Sun, 14 Oct 2007 23:35:16 -0700 (PDT)
From: David Shao <shao3david at yahoo.com>
To: build-dev at openjdk.java.net

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: not available
Url : http://mail.openjdk.java.net/pipermail/compiler-dev/attachments/20071015/202a43f6/openjdk_b22.diff 


More information about the compiler-dev mailing list