You are viewing a plain text version of this content. The canonical link for it is here.
Posted to j-dev@xerces.apache.org by Lynn Monson <lm...@flipdog.com> on 2000/11/27 18:52:00 UTC

Suggestion for build.bat

The build.bat file for Xerces-J sets the ANT_HOME environment variable w/out
considering whether ant is already installed.  This means that after
building xerces, you may be left in a state where ant no longer runs.
There's a simple fix that I've attached.  I'm not certain what the
apache/xerces build philosophy is, so I'd appreciate any feedback if this
fix conflicts with established practice.

Thanks





Re: Suggestion for build.bat

Posted by Arnaud Le Hors <le...@us.ibm.com>.
Lynn Monson wrote:
> 
> The build.bat file for Xerces-J sets the ANT_HOME environment variable w/out
> considering whether ant is already installed.  This means that after
> building xerces, you may be left in a state where ant no longer runs.
> There's a simple fix that I've attached.  I'm not certain what the
> apache/xerces build philosophy is, so I'd appreciate any feedback if this
> fix conflicts with established practice.

There is even a simpler fix than that: get a real shell and stop using
these .bat files! build.sh works fine... Sorry, I couldn't resist... :-)

I applied your patch, I don't see how it could hurt anybody and I'm not
aware of any policy on the matter.
Thanks.
-- 
Arnaud  Le Hors - IBM Cupertino, XML Technology Group