thanks guys, yes, we have ANT_OPTS, but not ANT_ARGS. Our scripts are working fine in a number of machines. Now that I think the only new thing is java 1.5.0.07, it's the first time we use that update.
On 7/26/06, Burgess, Benjamin <[EMAIL PROTECTED]> wrote:
There was a bug with the Launcher class that was released with Ant 1.6.5 - do you by chance have any ANT_ARGS set, such as -lib or -noclasspath etc...? See http://issues.apache.org/bugzilla/show_bug.cgi?id=36171 Ben -----Original Message----- From: jm [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 26, 2006 9:16 AM To: Ant Users List Subject: strange problem starting ant Hi, we are experiencing an strange problem, never seen that before. Our env is ant1.6.5, jdk1.5.0.07, on a xp. ANT_HOME and JAVA_HOME are set properly, ant\bin is on the path. When we run 'ant', we get the following: Usage: java [-options] class [args...] (to execute a class) or java [-options] -jar jarfile [args...] (to execute a jar file) where options include: -client to select the "client" VM -server to select the "server" VM -hotspot is a synonym for the "client" VM [deprecated] The default VM is client. ... java -version shows our version (1.5.0.07). If I run ant the hardcore way: java -Dant.home=%ANT_HOME% -cp %ANT_HOME%\lib\ant-launcher.jar org.apache.tools.ant.launch.Launcher ... everything works ok. We have verified the ant.bat being called is the one in the correct directory. Any idea? thanks --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ************************************************************** This message, including any attachments, contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, please contact sender immediately by reply e-mail and destroy all copies. You are hereby notified that any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. TIAA-CREF ************************************************************** --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
