FAQ

[Ant-user] ant_home problem

Janani Narayanan
Feb 25, 2008 at 1:45 am
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
reply

Search Discussions

2 responses

  • Chun Ji at Feb 25, 2008 at 4:56 am
    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
    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
  • Peter Reilly at Feb 25, 2008 at 9:34 am
    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 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
    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

Related Discussions

Discussion Navigation
viewthread | post