I just tried the following:
ant -Dinpath=%Mypath% -Dinput="this and that" Framework
inpath is a path i need for my compilation
Framework is some target in my build.xml
works just fine for me
-- Arvid
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday,
EMAIL PROTECTED]
Subject: RE: Property Setting
I just tried the following:
ant -Dinpath=%Mypath% -Dinput="this and that" Framework
inpath is a path i need for my compilation
Framework is some target in my build.xml
works just fine for me
-- Arvid
-Original Message-
From:
Nope, RedHat 6.2.
Ant is 1.2 by the way. Arvid, are you 1.2 or are you using a development
version?
-Original Message-
From: Chris Winters [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 9:03 AM
To: [EMAIL PROTECTED]
Cc: Watson, Cory
Subject: Re: Property Setting
* [EMAIL
--- [EMAIL PROTECTED] wrote:
Ok... I'll try again:
ant -Dbleh="this and that="this and that" spotless
I suspect that middle quote is causing you trouble. Try:
ant -Dbleh="this and that=this and that"
and see what happens.
(Sorry, no time to test it myself.)
Diane
=
([EMAIL
Actually I mistyped that, my bad...
ant -Dbleh="this and that" spotless
still no dice.
-Original Message-
From: Diane Holt [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 10:12 AM
To: [EMAIL PROTECTED]
Subject: RE: Property Setting
--- [EMAIL PROTECTED] wrote:
* [EMAIL PROTECTED] ([EMAIL PROTECTED]) [010226 09:42]:
Ok... I'll try again:
ant -Dbleh="this and that="this and that" spotless
BUILD FAILED
Target 'and' does not exist in this project.
Total time: 0 seconds
This might be an OS problem. Are you using Win95/98? If so, there was
a
pping out the quotes, so the
command being invoked is:
java .. org.apache.tools.ant.Main -Dbleh=this and that spotless
which corresponds to your error message.
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, February 26, 2001 11:35 AM
To: [EMAIL PRO
Hello,
This should be fixed in Ant 1.3beta3. In the meantime, edit the ant
script and change the $@ on the last line to "$@" so that arguments will
be passed quoted into the JVM.
-Bill
[EMAIL PROTECTED] wrote:
In trying to set a property, I've run into a wall. From within a buildfile
I
- Original Message -
From: "Bill Burton" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, February 26, 2001 9:16 PM
Subject: Re: Property Setting
Hello,
This should be fixed in Ant 1.3beta3. In the meantime, edit the ant
script and change the $@ on the last line