Usually you dont need to set ANT_HOME.
If ANT_HOME is not set, ant.bat will do it for you.
Jan
>-Ursprüngliche Nachricht-
>Von: Liying Miao [mailto:[EMAIL PROTECTED]
>Gesendet: Donnerstag, 7. Juli 2005 14:34
>An: 'Ant Users List'
>Betreff: RE: Ant Configura
Thanks very much.
Liying
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 06, 2005 1:53 PM
To: Liying Miao; user@ant.apache.org
Subject: Re: Ant Configuration Problem
On Wed, 6 Jul 2005 11:07:37 -0400, Liying Miao wrote:
>C:\UPORTAL&g
Buildfile: c:\TEMP\ant-test\dir\build.xml
[echo] C:\TEMP\ant-test\dir
Jan
>-Ursprüngliche Nachricht-
>Von: Liying Miao [mailto:[EMAIL PROTECTED]
>Gesendet: Mittwoch, 6. Juli 2005 20:17
>An: 'Ant Users List'
>Betreff: RE: Ant Configuration Problem
&g
On Wed, 6 Jul 2005 11:07:37 -0400, Liying Miao wrote:
>C:\UPORTAL>set ANT_HOME=./Ant_1-6-2
Try backslashes, and a FULL path, not a relative one.
Ciao, Jürgen
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional command
:16 PM
To: Ant Users List
Subject: RE: Ant Configuration Problem
I would try setting ANT_HOME to an absolute path, rather than a relative
path. Then at least you could cd to the directory that the buildfile is in
and run ant.
-Rob A
> -Original Message-
> From: Liying Miao [mailto:
gt; To: user@ant.apache.org
> Subject: Ant Configuration Problem
>
>
> Hi All,
>
>
> I have a problem with running ant 1.6.2. I have set ANT_HOME in path.
>
> Here is the problem:
>
> When I type Ant, it works:
> ---
Hi All,
I have a problem with running ant 1.6.2. I have set ANT_HOME in path.
Here is the problem:
When I type Ant, it works:
---
C:\UPORTAL>ant
C:\UPORTAL>set ANT_HOME=./Ant_1-6-2
C:\UPORTAL>./Ant_1-6-2/bin/ant.bat
Buildfile: bu
Thanks very much for everyone's rapid responses, downloading a JDK and
changing my $JAVA_HOME to point to it resolved the problem, Ant is now
working correctly!
On Apr 8, 2005 4:12 PM, Jeffrey E Care <[EMAIL PROTECTED]> wrote:
> If all you have is the JRE (and not the JDK) then you won't have tool
If all you have is the JRE (and not the JDK) then you won't have tools.jar
--
Jeffrey E. Care ([EMAIL PROTECTED])
WebSphere Build SWAT Team Lead
WebSphere Build Tooling Lead (Project Mantis)
https://w3.opensource.ibm.com/projects/mantis
Graeme Shaw <[EMAIL PROTECTED]> wrote on 04/08/2005 11:01:
> From: Graeme Shaw [mailto:[EMAIL PROTECTED]
>
> I'm trying to get Ant set up so I can use it to install Apache
XML-RPC.
> $JAVA_HOME=/usr/lib/java/jre
JAVA_HOME is supposed to point to the JDK, not the JRE.
> $ANT_HOME=/usr/local/ant
>
> When I run 'ant' in the XML-RPC directory I get the ou
tools.jar is part of a JDK - not included in a JRE.
So your JAVA_HOME should point to a JDK.
Jan
> -Ursprüngliche Nachricht-
> Von: Graeme Shaw [mailto:[EMAIL PROTECTED]
> Gesendet am: Freitag, 8. April 2005 17:02
> An: user@ant.apache.org
> Betreff: Ant configuration pro
I'm trying to get Ant set up so I can use it to install Apache XML-RPC.
I have:
$JAVA_HOME=/usr/lib/java/jre
$ANT_HOME=/usr/local/ant
When I run 'ant' in the XML-RPC directory I get the output I've
attached at the bottom. I can't seem to find a tools.jar either in
/usr/lib/java/jre/lib or in /us
12 matches
Mail list logo