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 18:04:53 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
Mime
View raw message