ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bill.J.Fell...@mail.sprint.com
Subject RE: A String property value
Date Fri, 24 Aug 2001 21:16:19 GMT
Glad to hear the property file can help you.  I remembered that from an 
earlier ticket.

I'm ignorant of WebLogic (and many other things) but perhaps they have 
altered the script that invokes ant to mess with spaces from the 
command line?  Any way you can check that?

/bill
-----Original Message-----
From: shockride [mailto:shockride@yahoo.com]
Sent: Friday, August 24, 2001 3:44 PM
To: ant-user
Cc: shockride
Subject: RE: A String property value


Bill,

I tried your test and received the following error:

C:\>ant -Darg1="boo hoo" show
hoo""=="" was unexpected at this time.

However, if I run with no spaces, there is no
problems.
C:\sptst>ant -Darg1="boohoo" show
Buildfile: build.xml

show:
     [echo] arg1 + boohoo
     [echo] space + c:/Program Files/
     [echo] file1 + i exist

BUILD SUCCESSFUL

Total time: 1 second

BTW,  I am using the exact same version of Java as
you.  Your script does give me the idea that I could
use a command file to write a date to a file, then
call ant.  Not the most elegant solution, but the
easiest for the client to tolarate.

Thanks,
Jim


Mime
View raw message