ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
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?

-----Original Message-----
From: shockride []
Sent: Friday, August 24, 2001 3:44 PM
To: ant-user
Cc: shockride
Subject: RE: A String property value


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
C:\sptst>ant -Darg1="boohoo" show
Buildfile: build.xml

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


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.


View raw message