ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Patrick Luby <patrick.l...@sun.com>
Subject [PATCH] Ant 1.4 bootstrap.sh bug fix
Date Thu, 13 Sep 2001 17:33:27 GMT
Hello,

I would like to submit the attached patch to the bootstrap.sh file of
the Ant 1.4 release:

The attached patch fixes a bug I found when running build.sh on Solaris.
Specifically, the bug is that all "-D" arguments that are to be used by
ant need to follow the ant classname argument. The original bootstrap.sh
has the "-Dant.home=." argument preceding the ant classname. Hence, the
"ant.home" property gets set as a System property by the JVM instead of
being passed as an argument to the org.apache.tools.ant.Main class.

Without this patch, the bootstrap of Ant 1.4 will always fail on Solaris
and, I assume, on most other Unix platforms.

Thanks,

Patrick

-- 
_____________________________________________________________________
Patrick Luby                          Email: patrick.luby@eng.sun.com
Software Engineering Manager          Phone: 408-863-3284
Sun Microsystems, Desktop Foundation Software
901 San Antonio Road, UCUP01-103
Palo Alto, CA 94303-4900
_____________________________________________________________________
Mime
View raw message