No need for any utility.
for /f %i in ("ant.bat") do @echo %~$path:i
-Original Message-
From: Bill Rich [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 01, 2005 7:24 PM
To: 'Ant Users List'
Subject: RE: ant not recognizing command line argument
Attached is a l
?
Ray Tayek wrote:
At 04:23 PM 12/1/2005, you wrote:
Attached is a little utility...
nice program.
thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---
Safak Ökmen wrote:
CLASSPATH=.;C:\PROGRA~1\JMF21~1.1\lib\sound.jar;C:\PROGRA~1\JMF21~1.1\lib\jmf.jar;d:\PROGRA~1\JMF21~1.1\lib\sound.jar;d:\PROGRA~1\JMF21~1.1\lib\jmf.jar;C:\WINDOWS\DOWNLO~1\corteai.zip;C:\WINDOWS\DOWNLO~1\classes.zip;C:\WINDOWS\java\classes;D:\programme\jdbc\mysql-connector-java
At 04:23 PM 12/1/2005, you wrote:
Attached is a little utility...
nice program.
thanks
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
I have taken ant bin path out of the path variable one moment ago, so it is
not listed in the set output.
Steve Loughran wrote:
Safak Ökmen wrote:
ANT_HOME was pointing to "D:\programme\ant".
I'm sorry. I just don't know what's wrong.
I have a command line utility fsum (FastSum) which I tri
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.
C:\WINDOWS\system32>ant
Der Befehl "ant" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
C:\WINDOWS\system32>ant -version
Der Befehl "ant" ist entweder falsch geschrieben oder
konnte nicht gefunden
Safak Ökmen wrote:
ANT_HOME was pointing to "D:\programme\ant".
I'm sorry. I just don't know what's wrong.
I have a command line utility fsum (FastSum) which I tried with command
line arguments (fsum something.zip something.zip.md5) and it works fine.
I think that means cmd is recognizing com
Also I wonder, why the eclipse ant plugin works fine.
Matt Benson wrote:
ANT_HOME is used by ant.bat . Which ant.bat is called
is dependent upon your Windows system PATH. The very
fact that you removed the ANT_HOME variable and
received an error message after that makes your PATH
settings sus
If i understood you right, the following should not solve the problem. I
removed ANT_HOME and added the complete path D:\programme\ant\bin to the
Path variable. I checked it. It is the same problem.
Matt Benson wrote:
ANT_HOME is used by ant.bat . Which ant.bat is called
is dependent upon you
ANT_HOME is used by ant.bat . Which ant.bat is called
is dependent upon your Windows system PATH. The very
fact that you removed the ANT_HOME variable and
received an error message after that makes your PATH
settings suspect. I personally no longer use
ANT_HOME; if you get your PATH set up corre
ANT_HOME was pointing to "D:\programme\ant".
I'm sorry. I just don't know what's wrong.
I have a command line utility fsum (FastSum) which I tried with command line
arguments (fsum something.zip something.zip.md5) and it works fine. I think
that means cmd is recognizing command line argument.
That proves that the Java classes in use are those
below ANT_HOME, but it still doesn't prove which ant
executable is ultimately calling the Java code.
--- Safak Ökmen <[EMAIL PROTECTED]> wrote:
> I tried to identifiy the ant version running by
> removing the ANT_HOME
> variable.
> __
>
I tried to identifiy the ant version running by removing the ANT_HOME
variable.
__
D:\programme>ant
Der Befehl "ant" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
D:\programme>cd ant
D:\programme\ant>cd bin
D:\programme\ant\bin>ant.bat -debug clean
Buildfile: build
>>> init:
> >>> [mkdir] Created dir: C:\TEMP\ant-test6\bin
> >>> [mkdir] Created dir: C:\TEMP\ant-test6\dist
> >>> [mkdir] Created dir: C:\TEMP\ant-test6\etc
> >>> [mkdir] Created dir: C:\TEMP\ant-test6\java
> >>>
Apparently, ant doesn't care of whatever you put in the commande line.
Just a stupid idea: try specifying the extension for the ant script
(ant.bat or ant.cmd)
ant.bat -debug clean
or
ant.cmd -debug clean
Safak Ökmen wrote:
Hi!
It is really strange. -debug doesn't work either.
Look at thi
;>> [mkdir] Created dir: C:\TEMP\ant-test6\bin
> >>> [mkdir] Created dir: C:\TEMP\ant-test6\dist
> >>> [mkdir] Created dir: C:\TEMP\ant-test6\etc
> >>> [mkdir] Created dir: C:\TEMP\ant-test6\java
> >>> [mkdir] Created dir: C:\TEMP\a
n:
BUILD SUCCESSFUL
Total time: 0 seconds
---8-<---8-<---8-<---8-<---8-<---8-<---8-<---8-<
-Ursprüngliche Nachricht-
Von: Safak Ökmen [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 30. November 2005 20:50
An: Ant Users List
ke an Ant problem to me.
Bill
-Original Message-
From: Safak Ökmen [mailto:[EMAIL PROTECTED]
Sent: Thursday, December 01, 2005 8:24 AM
To: Ant Users List
Subject: Re: ant not recognizing command line argument
Here is another sample:
__
D:\programme\ant\bin>ant -debug clean
> >[delete] Deleting directory
> C:\TEMP\ant-test6\bin
> >[delete] Deleting directory
> C:\TEMP\ant-test6\dist
> >[delete] Deleting directory
> C:\TEMP\ant-test6\etc
> >[delete] Deleting directory
> C:\TEMP\ant-test6\java
> > [delete]
UL
Total time: 0 seconds
---8-<---8-<---8-<---8-<---8-<---8-<---8-<---8-<
-Ursprüngliche Nachricht-
Von: Safak Ökmen [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 30. November 2005 20:50
An: Ant Users List
Betreff: Re: ant not recogniz
--8-<---8-<---8-<
-Ursprüngliche Nachricht-
Von: Safak Ökmen [mailto:[EMAIL PROTECTED]
Gesendet: Mittwoch, 30. November 2005 20:50
An: Ant Users List
Betreff: Re: ant not recognizing command line argument
Hi!
I'm sorry.
Here I have uploaded it on my webpage:
, November 30, 2005 1:18 PM
To: Ant Users List
Subject: Re: ant not recognizing command line argument
I just wrote this simple build.xml:
and chaned into the bin directory of my ant installation.
Execute ant, I get
I just wrote this simple build.xml:
and chaned into the bin directory of my ant installation.
Execute ant, I get
D:\programme\ant\bin>ant
Buildfile: build.xml
one:
[mkdir] Created dir: D:\programme\ant\bin\hal
Hi!
I'm sorry.
Here I have uploaded it on my webpage:
http://home.in.tum.de/~oekmen/antFailure.JPG
Safak.
Ivan Ivanov wrote:
Hello,
I am sorry. I am willing to help, morever it seems an
easy issue, but your attachment is stripped off. If
you want to receive some help, sent the build log
inlin
Hello,
I am sorry. I am willing to help, morever it seems an
easy issue, but your attachment is stripped off. If
you want to receive some help, sent the build log
inline of the message.
Regards
Ivan
--- Safak �kmen <[EMAIL PROTECTED]> wrote:
> I start it with just
> ant (the output should be
I start it with just
ant (the output should be like on the jpeg)
or
ant clean (the output on the jpeg is false for the target clean)
on command line. See jpeg.
Safak.
Ivan Ivanov wrote:
Hello,
How do you start this build file. Please post the
exact command with which you start it, as well as
Hello,
How do you start this build file. Please post the
exact command with which you start it, as well as the
output.
Regards
Ivan
--- Safak �kmen <[EMAIL PROTECTED]> wrote:
> Here is the buildfile:
>
> http://phpfi.com/89578
>
> Safak.
>
> Karr, David wrote:
> > We'd have to see your bui
It's pretty hard to help you without seeing your Ant script. Please re-post
with the relevant part of the script and someone here can probably help you.
Rhino
- Original Message -
From: "Safak Ökmen" <[EMAIL PROTECTED]>
To:
Sent: Wednesday, November 30, 2005 1:59 PM
Subject: ant not
Here is the buildfile:
http://phpfi.com/89578
Safak.
Karr, David wrote:
We'd have to see your build file. I'm guessing your "clean" target
has a dependency which you didn't notice.
-Original Message-
From: Safak Ökmen [mailto:[EMAIL PROTECTED]
Sent: Wednesday, November 30, 2005 10:5
We'd have to see your build file. I'm guessing your "clean" target has a
dependency which you didn't notice.
> -Original Message-
> From: Safak Ökmen [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, November 30, 2005 10:59 AM
> To: user@ant.apache.org
> Subject: ant not recognizing command
30 matches
Mail list logo