[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ant-user
Subject:    RE: ant shell wrapper surprise, try to run version A, runs version B
From:       "Dominique Devienne" <ddevienne () gmail ! com>
Date:       2005-08-26 20:22:15
Message-ID: A672996F85AA7240A9DD2A455BD0D428FA6FAC () HOUEXCH902 ! Landmark ! lgc ! com
[Download RAW message or body]

> From: Stuart Maclean [mailto:stuart@apl.washington.edu]
> Sent: Friday, August 26, 2005 3:13 PM
> To: user@ant.apache.org
> Subject: ant shell wrapper surprise, try to run version A, runs version B
> 
> OS is Linux.  ANT_HOME is set to /path/to/ant-1.6.5.
> 
> Now, I want to run an older version of Ant for some reason, so I fully
> qualify the script at the shell cmd line
> 
> % /path/to/ant-1.6.2/bin/ant
> 
> and it STILL runs 1.6.5.  Grrrrrrrrrrrr.  The ant script (for 1.6.2
> anyways, and 1.6.5 looks the same to me) checks FIRST to see if ANT_HOME
> is defined, and if it is, go with it.  Shouldn't it FIRST check $0 to
> see if it could derive an ANT_HOME from that, using eg dirname.  grrrr
> 
> Stu

Could also be the rpm stuff interfering too. Try with --noconfig to skip
processing the /etc/ stuff. --DD


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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic