You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Janani Narayanan <ja...@gmail.com> on 2008/02/25 02:45:07 UTC

ant_home problem

hi all,

[globus@mobilegrid3 gt4-secure1.withouterror]$ ant -version
Apache Ant version 1.6.2 compiled on May 23 2005
[globus@mobilegrid3 gt4-secure1.withouterror]$ echo $ANT_HOME
/usr/local/ant-1.6.4

 i dunno from where this ant version 1.6.2 came.my original version is
1.6.4.wt shd  i do to change the entry?which file shd i change?plz help
me!!!!1

Re: ant_home problem

Posted by Peter Reilly <pe...@gmail.com>.
Please ensure that you are not using jpackage verion of ant.
Check the file /etc/ant.conf.
This file overwrites ANT_HOME.

Peter

On Mon, Feb 25, 2008 at 4:56 AM, Chun Ji <CJ...@pro-unlimited.com> wrote:
>
>  What happen if you type " which ant", is it point to "/usr/local/ant-1.6.4/bin/ant"  ?
>  If yes, you are using the "ant", which is under /usr/local/ant-1.6.4, but of the version  1.6.2.
>  Otherwise, you may reset you path, such as export PATH=${ANT_HOME}/bin:${PATH}
>
>  -c
>
>
>
>
>  -----Original Message-----
>  From: Janani Narayanan [mailto:janani.narayanan@gmail.com]
>  Sent: Sun 2/24/2008 5:45 PM
>  To: user@ant.apache.org
>  Subject: ant_home problem
>
>  hi all,
>
>  [globus@mobilegrid3 gt4-secure1.withouterror]$ ant -version
>  Apache Ant version 1.6.2 compiled on May 23 2005
>  [globus@mobilegrid3 gt4-secure1.withouterror]$ echo $ANT_HOME
>  /usr/local/ant-1.6.4
>
>   i dunno from where this ant version 1.6.2 came.my original version is
>  1.6.4.wt shd  i do to change the entry?which file shd i change?plz help
>  me!!!!1
>
>

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


RE: ant_home problem

Posted by Chun Ji <CJ...@pro-unlimited.com>.
What happen if you type " which ant", is it point to "/usr/local/ant-1.6.4/bin/ant"  ?
If yes, you are using the "ant", which is under /usr/local/ant-1.6.4, but of the version  1.6.2. 
Otherwise, you may reset you path, such as export PATH=${ANT_HOME}/bin:${PATH}

-c 


-----Original Message-----
From: Janani Narayanan [mailto:janani.narayanan@gmail.com]
Sent: Sun 2/24/2008 5:45 PM
To: user@ant.apache.org
Subject: ant_home problem
 
hi all,

[globus@mobilegrid3 gt4-secure1.withouterror]$ ant -version
Apache Ant version 1.6.2 compiled on May 23 2005
[globus@mobilegrid3 gt4-secure1.withouterror]$ echo $ANT_HOME
/usr/local/ant-1.6.4

 i dunno from where this ant version 1.6.2 came.my original version is
1.6.4.wt shd  i do to change the entry?which file shd i change?plz help
me!!!!1