If you run the command 'which ant' does it return the location of the 1.6.2 version that is being picked up?
-----Original Message----- From: Ammar Khalid [mailto:[EMAIL PROTECTED] Sent: Monday, December 01, 2008 8:44 AM To: Ant Users List Subject: RE: ANT failing from command line Thanks Mike for helping me so far. I don't get a System Properties section. The only output that I get is: N:\>ant -version Apache Ant version 1.6.2 compiled on July 16 2004 N:\>ant -diagnostics ------- Ant diagnostics report ------- Apache Ant version 1.6.2 compiled on July 16 2004 ------------------------------------------- Implementation Version (JDK1.2+ only) ------------------------------------------- core tasks : 1.6.2 optional tasks : not available ------------------------------------------- ANT_HOME/lib jar listing ------------------------------------------- ant.home: C:\eclipse\plugins\org.apache.ant_1.7.1 ant-antlr.jar (5752 bytes) ant-apache-bcel.jar (8611 bytes) ant-apache-bsf.jar (3939 bytes) ant-apache-log4j.jar (3056 bytes) ant-apache-oro.jar (39627 bytes) ant-apache-regexp.jar (3762 bytes) ant-apache-resolver.jar (4071 bytes) ant-commons-logging.jar (3910 bytes) ant-commons-net.jar (47026 bytes) ant-jai.jar (21348 bytes) ant-javamail.jar (6998 bytes) ant-jdepend.jar (8132 bytes) ant-jmf.jar (6593 bytes) ant-jsch.jar (30797 bytes) ant-junit.jar (93518 bytes) ant-launcher.jar (12143 bytes) ant-netrexx.jar (9881 bytes) ant-nodeps.jar (431580 bytes) ant-starteam.jar (35355 bytes) ant-stylebook.jar (2330 bytes) ant-swing.jar (6738 bytes) ant-testutil.jar (14941 bytes) ant-trax.jar (6881 bytes) ant-weblogic.jar (14205 bytes) ant.jar (1323005 bytes) xercesImpl.jar (1223877 bytes) xml-apis.jar (194354 bytes) ------------------------------------------- Tasks availability ------------------------------------------- importtypelib : Initialization error image : Missing dependency javax.media.jai.PlanarI sshexec : Missing dependency com.jcraft.jsch.UserI replaceregexp : Initialization error test : Not Available icontract : Not Available scp : Missing dependency com.jcraft.jsch.UserInfo translate : Initialization error vajload : Not Available WsdlToDotnet : Initialization error jpcovmerge : Not Available cvsversion : Not Available ildasm : Initialization error maudit : Not Available antlr : Initialization error ftp : Initialization error jpcovreport : Not Available xmlvalidate : Initialization error cab : Initialization error jdepend : Missing dependency jdepend.xmlui.JDepend symlink : Initialization error mmetrics : Not Available junit : Initialization error vajexport : Not Available N:\> -----Original Message----- From: Mike Stewart [mailto:[EMAIL PROTECTED] Sent: 01 December 2008 13:57 To: Ant Users List Subject: RE: ANT failing from command line When you run the ant diagnostics what does it return in the system properties section? Mike S. This e-mail, including any attached files, may contain confidential and privileged information for the sole use of the intended recipient. Any review, use, distribution, or disclosure by others is strictly prohibited. If you are not the intended recipient (or authorized to receive information for the intended recipient), please contact the sender by reply e-mail and delete all copies of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ----------------------------------------- Confidentiality Notice! This electronic transmission and any attached documents or other writings are confidential and are for the sole use of the intended recipient(s) identified above. This message may contain information that is privileged, confidential or otherwise protected from disclosure under applicable law. If the receiver of this information is not the intended recipient, or the employee, or agent responsible for delivering the information to the intended recipient, you are hereby notified that any use, reading, dissemination, distribution, copying or storage of this information is strictly prohibited. If you have received this information in error, please notify the sender by return email and delete the electronic transmission, including all attachments from your system. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]