Window ant.bat out of hell
Kelly O'Hair
Kelly.Ohair at Sun.COM
Tue May 5 22:02:00 UTC 2009
Recent javac.debuglevel changes to the OpenJDK7 jdk7/build forest
have run smack into the ant windows issue regarding commas in
command lines:
https://issues.apache.org/bugzilla/show_bug.cgi?id=46561
Not all windows users run into this, it depends on whether the
bin/ant.bat startup script is used (sh version is fine).
I've prepared a webrev for the jaxp and jaxws repositories to
just remove the use of javac.debuglevel:
http://cr.openjdk.java.net/~ohair/6837665-ant-debuglevel/webrev/
Andrew will likely have a webrev or diff for the langtools
repository soon.
So you windows users out there watch out, this will probably not
work:
ant -Djavac.debuglevel=source,lines,vars
And may also return a process exit code of 0 after it says
"BUILD FAILED" :^(
-kto
More information about the build-dev
mailing list