Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 50919 invoked from network); 30 Apr 2008 19:25:22 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 30 Apr 2008 19:25:22 -0000 Received: (qmail 13489 invoked by uid 500); 30 Apr 2008 19:25:19 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 13454 invoked by uid 500); 30 Apr 2008 19:25:19 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 13443 invoked by uid 99); 30 Apr 2008 19:25:19 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2008 12:25:19 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of peter.kitt.reilly@gmail.com designates 64.233.170.190 as permitted sender) Received: from [64.233.170.190] (HELO rn-out-0910.google.com) (64.233.170.190) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 30 Apr 2008 19:24:34 +0000 Received: by rn-out-0910.google.com with SMTP id j40so375903rnf.22 for ; Wed, 30 Apr 2008 12:24:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=HiInhG5JazS2l0MSvosh3QaEZXMp9ocZ6m0LlirxOI0=; b=qJORbXw49m3+vRH4md1RiVaU+kxrByoY9A5MH0ET2ieS6XE37hcq7OyY3WL6X1E/r5dr5o1FTxccfrimVQP4tlGhMDtaLY9VV2d+4NO/ApAUZWlUELzBhQcExti7LL65oVct9Hz5TZBZM7+Esaqm2e5fTi7RNKeevuPXBStE0Hw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hHtGmj3C+2J3Mbyzs1AO7BL8PmAZio34byonHqN3wY3klQgdJ0/M5QDjb+a3Eye4HniLjh0ydQAzS78NSkTEDlZLi+GSMDAk23i8iHC3RCcODj7Q9dYzL3ZDJbkA9SJRZUiDqJJrAZcYX6whOYuDAd4+mSWLfOczIY01ovPnpcc= Received: by 10.142.177.7 with SMTP id z7mr444421wfe.238.1209583486558; Wed, 30 Apr 2008 12:24:46 -0700 (PDT) Received: by 10.142.144.1 with HTTP; Wed, 30 Apr 2008 12:24:46 -0700 (PDT) Message-ID: Date: Wed, 30 Apr 2008 20:24:46 +0100 From: "Peter Reilly" To: "Ant Users List" Subject: Re: FW: Trouble with installation In-Reply-To: <3A7B10AA0D19B94FA69B1E55ADD1788B01CF48D8@BANE.quinton.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <3A7B10AA0D19B94FA69B1E55ADD1788B01CF48D1@BANE.quinton.com> <3A7B10AA0D19B94FA69B1E55ADD1788B01CF48D8@BANE.quinton.com> X-Virus-Checked: Checked by ClamAV on apache.org Looking at the JAVA_HOME setting: JAVA_HOME=C:\Progra~1\Java\jdk1.5.0_15; You have a trailing '";", this may not be good. Peter On Wed, Apr 30, 2008 at 7:53 PM, Debbie Shapiro wrote: > Well, I tried reinstalling Ant into c:\Ant, but I'm still getting the > same results. > > It somehow thinks it should be looking for my Java path in c:\Program > > Files\Java\jre1.5.0_15\lib\ > (instead of the JDK) > And it is looking for tools.jar in the JRE where it doesn't exist. > > I still can't run Ant outside of the Ant directory. > > > Unable to locate tools.jar. Expected to find it in C:\Program > Files\Java\jre1.5.0_15\lib\tools.jar > ------- Ant diagnostics report ------- > Apache Ant version 1.7.0 compiled on December 13 2006 > > ------------------------------------------- > Implementation Version > ------------------------------------------- > core tasks : 1.7.0 > optional tasks : not available > > ------------------------------------------- > ANT PROPERTIES > ------------------------------------------- > ant.version: Apache Ant version 1.7.0 compiled on December 13 2006 > ant.java.version: 1.5 > ant.core.lib: C:\Ant\apache-ant-1.7.0\lib\ant.jar > ant.home: C:\Ant\apache-ant-1.7.0 > > > ------------------------------------------- > ANT_HOME/lib jar listing > ------------------------------------------- > ant.home: C:\Ant\apache-ant-1.7.0 > > > ant-antlr.jar (5769 bytes) > ant-apache-bcel.jar (8627 bytes) > ant-apache-bsf.jar (3980 bytes) > ant-apache-log4j.jar (3074 bytes) > ant-apache-oro.jar (39591 bytes) > ant-apache-regexp.jar (3737 bytes) > ant-apache-resolver.jar (4080 bytes) > ant-commons-logging.jar (3943 bytes) > ant-commons-net.jar (47163 bytes) > ant-jai.jar (21368 bytes) > ant-javamail.jar (7011 bytes) > ant-jdepend.jar (8152 bytes) > ant-jmf.jar (6609 bytes) > ant-jsch.jar (30122 bytes) > ant-junit.jar (92792 bytes) > ant-launcher.jar (11734 bytes) > ant-netrexx.jar (9895 bytes) > ant-nodeps.jar (430311 bytes) > ant-starteam.jar (35404 bytes) > ant-stylebook.jar (2334 bytes) > ant-swing.jar (6713 bytes) > ant-testutil.jar (14919 bytes) > ant-trax.jar (6897 bytes) > ant-weblogic.jar (14254 bytes) > ant.jar (1289806 bytes) > xercesImpl.jar (1212965 bytes) > xml-apis.jar (195119 bytes) > > ------------------------------------------- > USER_HOME/.ant/lib jar listing > ------------------------------------------- > user.home: C:\Documents and Settings\Administrator.ENGDOM > No such directory. > > ------------------------------------------- > Tasks availability > ------------------------------------------- > image : Missing dependency javax.media.jai.PlanarImage > sshexec : Missing dependency com.jcraft.jsch.UserInfo > scp : Missing dependency com.jcraft.jsch.UserInfo > jdepend : Missing dependency jdepend.xmlui.JDepend > A task being missing/unavailable should only matter if you are trying to > use it > > ------------------------------------------- > org.apache.env.Which diagnostics > ------------------------------------------- > Not available. > Download it at http://xml.apache.org/commons/ > > ------------------------------------------- > XML Parser information > ------------------------------------------- > XML Parser : org.apache.xerces.jaxp.SAXParserImpl > XML Parser Location: C:\Ant\apache-ant-1.7.0\lib\xercesImpl.jar > > Namespace-aware parser : > org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser > Namespace-aware parser Location: > C:\Ant\apache-ant-1.7.0\lib\xercesImpl.jar > > > ------------------------------------------- > System properties > ------------------------------------------- > java.runtime.name : Java(TM) 2 Runtime Environment, Standard Edition > sun.boot.library.path : C:\Program Files\Java\jre1.5.0_15\bin > java.vm.version : 1.5.0_15-b04 > ant.library.dir : C:\Ant\apache-ant-1.7.0\lib > > java.vm.vendor : Sun Microsystems Inc. > java.vendor.url : http://java.sun.com/ > path.separator : ; > java.vm.name : Java HotSpot(TM) Client VM > file.encoding.pkg : sun.io > user.country : US > sun.java.launcher : SUN_STANDARD > sun.os.patch.level : Service Pack 2 > java.vm.specification.name : Java Virtual Machine Specification > user.dir : C:\Ant\apache-ant-1.7.0\bin > > java.runtime.version : 1.5.0_15-b04 > java.awt.graphicsenv : sun.awt.Win32GraphicsEnvironment > java.endorsed.dirs : C:\Program Files\Java\jre1.5.0_15\lib\endorsed > os.arch : x86 > java.io.tmpdir : C:\DOCUME~1\ADMINI~1.ENG\LOCALS~1\Temp\ > line.separator : > > java.vm.specification.vendor : Sun Microsystems Inc. > user.variant : > os.name : Windows 2003 > ant.home : C:\Ant\apache-ant-1.7.0 > > sun.jnu.encoding : Cp1252 > java.library.path : > C:\WINDOWS\system32;.;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\system32 > ;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program > Files\Dell\SysMgt\RAC5;C:\Program Files\Dell\SysMgt\oma\bin; > C:\Ant\apache-ant-1.7.0\bin > > java.specification.name : Java Platform API Specification > java.class.version : 49.0 > sun.management.compiler : HotSpot Client Compiler > os.version : 5.2 > user.home : C:\Documents and Settings\Administrator.ENGDOM > user.timezone : America/Chicago > java.awt.printerjob : sun.awt.windows.WPrinterJob > file.encoding : Cp1252 > java.specification.version : 1.5 > user.name : Administrator > java.class.path : > C:\Ant\apache-ant-1.7.0\lib\ant-launcher.jar;C:\Ant\apache-ant-1.7.0\lib > \ant-antlr.jar;C:\Ant\apache-ant-1.7.0\lib\ant-apache-bcel.jar;C:\Ant\ap > ache-ant-1.7.0\lib\ant-apache-bsf.jar;C:\Ant\apache-ant-1.7.0\lib\ant-ap > ache-log4j.jar;C:\Ant\apache-ant-1.7.0\lib\ant-apache-oro.jar;C:\Ant\apa > che-ant-1.7.0\lib\ant-apache-regexp.jar;C:\Ant\apache-ant-1.7.0\lib\ant- > apache-resolver.jar;C:\Ant\apache-ant-1.7.0\lib\ant-commons-logging.jar; > C:\Ant\apache-ant-1.7.0\lib\ant-commons-net.jar;C:\Ant\apache-ant-1.7.0\ > lib\ant-jai.jar;C:\Ant\apache-ant-1.7.0\lib\ant-javamail.jar;C:\Ant\apac > he-ant-1.7.0\lib\ant-jdepend.jar;C:\Ant\apache-ant-1.7.0\lib\ant-jmf.jar > ;C:\Ant\apache-ant-1.7.0\lib\ant-jsch.jar;C:\Ant\apache-ant-1.7.0\lib\an > t-junit.jar;C:\Ant\apache-ant-1.7.0\lib\ant-launcher.jar;C:\Ant\apache-a > nt-1.7.0\lib\ant-netrexx.jar;C:\Ant\apache-ant-1.7.0\lib\ant-nodeps.jar; > C:\Ant\apache-ant-1.7.0\lib\ant-starteam.jar;C:\Ant\apache-ant-1.7.0\lib > \ant-stylebook.jar;C:\Ant\apache-ant-1.7.0\lib\ant-swing.jar;C:\Ant\apac > he-ant-1.7.0\lib\ant-testutil.jar;C:\Ant\apache-ant-1.7.0\lib\ant-trax.j > ar;C:\Ant\apache-ant-1.7.0\lib\ant-weblogic.jar;C:\Ant\apache-ant-1.7.0\ > lib\ant.jar;C:\Ant\apache-ant-1.7.0\lib\xercesImpl.jar;C:\Ant\apache-ant > > > -1.7.0\lib\xml-apis.jar > java.vm.specification.version : 1.0 > sun.arch.data.model : 32 > java.home : C:\Program Files\Java\jre1.5.0_15 > java.specification.vendor : Sun Microsystems Inc. > user.language : en > awt.toolkit : sun.awt.windows.WToolkit > java.vm.info : mixed mode, sharing > java.version : 1.5.0_15 > java.ext.dirs : C:\Program Files\Java\jre1.5.0_15\lib\ext > sun.boot.class.path : C:\Program > Files\Java\jre1.5.0_15\lib\rt.jar;C:\Program > Files\Java\jre1.5.0_15\lib\i18n.jar;C:\Program > Files\Java\jre1.5.0_15\lib\sunrsasign.jar;C:\Program > Files\Java\jre1.5.0_15\lib\jsse.jar;C:\Program > Files\Java\jre1.5.0_15\lib\jce.jar;C:\Program > Files\Java\jre1.5.0_15\lib\charsets.jar;C:\Program > Files\Java\jre1.5.0_15\classes > java.vendor : Sun Microsystems Inc. > file.separator : \ > java.vendor.url.bug : http://java.sun.com/cgi-bin/bugreport.cgi > sun.cpu.endian : little > sun.io.unicode.encoding : UnicodeLittle > sun.desktop : windows > sun.cpu.isalist : > > ------------------------------------------- > Temp dir > ------------------------------------------- > Temp dir is C:\DOCUME~1\ADMINI~1.ENG\LOCALS~1\Temp\ > Temp dir is writeable > Temp dir alignment with system clock is 16 ms > > > ------------------------------------------- > Locale information > ------------------------------------------- > Timezone Central Standard Time offset=-18000000 > > ------------------------------------------- > Proxy information > ------------------------------------------- > Java1.5+ proxy settings: > Direct connection > > > > > Debbie Shapiro, Data Warehouse Manager > Office: 425.402.2233 > > -----Original Message----- > > From: Taj, Abdul [mailto:abdul_taj@mcgraw-hill.com] > Sent: Wednesday, April 30, 2008 11:43 AM > To: Ant Users List > > > Subject: RE: FW: Trouble with installation > > That would only matter if he had given "Program File" > > But since the path is specified like - Progra~1, it is not a concern.. > > -t > > -----Original Message----- > From: glenn opdycke-hansen [mailto:glennoph@gmail.com] > Sent: Wednesday, April 30, 2008 2:29 PM > To: Ant Users List > Subject: Re: FW: Trouble with installation > > I noticed this > > ANT_HOME=C:\Progra~1\Ant\apache-ant-1.7.0 > > JAVA_HOME=C:\Progra~1\Java\jdk1.5.0_15; > > It appears that Ant and Java are installed in the "Program Files" > folder. > I would first install and to C\:ant or something similar. Please do > not use a folder name with an embedded space. > Then change the PATH to the new ant install and try again. > > --glenn > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > -------------------------------------------------------- > > The information contained in this message is intended only for the > recipient, and may be a confidential attorney-client communication or > may otherwise be privileged and confidential and protected from > disclosure. If the reader of this message is not the intended recipient, > or an employee or agent responsible for delivering this message to the > intended recipient, please be aware that any dissemination or copying of > this communication is strictly prohibited. If you have received this > communication in error, please immediately notify us by replying to the > message and deleting it from your computer. The McGraw-Hill Companies, > Inc. reserves the right, subject to applicable local law, to monitor and > review the content of any electronic message or information sent to or > from McGraw-Hill employee e-mail addresses without informing the sender > or recipient of the message. > -------------------------------------------------------- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org