ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anderson, Rob (Global Trade)" <Rob.Ander...@nike.com>
Subject RE: Basic setup question
Date Wed, 17 Mar 2004 19:49:12 GMT
Yeah, In some cases the ant shell script or ant.bat will figure out what ANT_HOME should be
and set it appropriately. There are several tests in the script and if all of them fail, it
will complain that ANT_HOME is not set properly.

-Rob Anderson

> -----Original Message-----
> From: Bill Rich [mailto:billrich@attglobal.net]
> Sent: Wednesday, March 17, 2004 11:45 AM
> To: Ant Users List
> Subject: RE: Basic setup question
> 
> 
> This is the way Ant works on my Win2K system also.  There is 
> no ANT_HOME environment
> variable set permanently on my system.  When Ant is running 
> there appears to be an
> ANT_HOME var set that can be accessed by using env.ANT_HOME.  
> I do have the Ant bin dir in
> my path.
> 
> Bill Rich
> Wilandra Consulting LLC
> 1325 Addiewell Place
> San Jose, CA  95120-3905
> phone:      +1 408 268-2452
> mobile:     +1 408 410-9713
> Santa Cruz: +1 831 464-9007
> fax:        +1 413 669-9716
> billrich@wilandra.com or billrich@attglobal.net
> http://www.wilandra.com
> 
> -----Original Message-----
> From: Guru Balse [mailto:guru.balse@oracle.com]
> Sent: Wednesday, March 17, 2004 10:06 AM
> To: Ant Users List
> Subject: Re: Basic setup question
> 
> 
> I suspect ANT works in mysterious ways on NT/XP.
> 
> Look at my screen dump below:
> ---------------------------------------------------------
> C:\my_data\ant_learn>set | grep ANT
> 
> C:\my_data\ant_learn>which ant
> /cygdrive/c/my_data/apache-ant-1.6.0/bin/ant
> 
> C:\my_data\ant_learn>ant -f test.xml
> Buildfile: test.xml
> 
> test:
>      [echo] ANT is cool!
> 
> BUILD SUCCESSFUL
> Total time: 0 seconds
> C:\my_data\ant_learn>
> ---------------------------------------------------------
> so as long as the real ANT HOME bin directory is in the path, 
> ant seems to work (at least
> for me)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message