You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Rodent of Unusual Size <Ke...@Golux.Com> on 2002/11/05 18:07:02 UTC

ant still required..

i just tried to run forrest with $forrest_home/bin in my
path, and it varfed again on not finding ant.  i had to
add the previously-installed standalone ant to my path.

i thought forrest was including its own ant and was going
to use it?

Re: ant still required..

Posted by Jeff Turner <je...@apache.org>.
On Tue, Nov 05, 2002 at 12:07:02PM -0500, Rodent of Unusual Size wrote:
> i just tried to run forrest with $forrest_home/bin in my
> path, and it varfed again on not finding ant.  i had to
> add the previously-installed standalone ant to my path.
> 
> i thought forrest was including its own ant and was going
> to use it?

Doh.. forgot to remove the Ant check in bin/forrest:

Index: src/resources/forrest-shbat/bin/forrest
===================================================================
RCS file: /home/cvs/xml-forrest/src/resources/forrest-shbat/bin/forrest,v
retrieving revision 1.5
retrieving revision 1.6
diff -r1.5 -r1.6
3,13d2
< 
< # ----- Test if ant is around ------------------------------------------------
< # and bail out if it does not with a message that it is required
< 
< if [ ! `which ant` ]; then
<   echo "You must install Ant (http://jakarta.apache.org/ant)"
<   echo "and add \$ANT_HOME/bin to your PATH variable"
<   exit 1
< fi
< 
< 

Fixed in CVS.  Thanks for catching.


--Jeff