ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "CAMPANA,SAL (HP-Philadelphia,ex1)" <sal_camp...@hp.com>
Subject RE: using properties files
Date Wed, 03 Oct 2001 18:01:39 GMT
If I had this:

mypath=c:\program files\some thing\hello

it wouldn't work...

I needed to escape the slashes and all works fine...

i.e. mypath=c:\\program files\\some thing\\hello

Thank you!

-----Original Message-----
From: Diane Holt [mailto:holtdl@yahoo.com]
Sent: Wednesday, October 03, 2001 1:23 PM
To: ant-user@jakarta.apache.org
Subject: Re: using properties files


--- "CAMPANA,SAL (HP-Philadelphia,ex1)" <sal_campana@hp.com> wrote:
> I have been playing with using properties files for passing variables
> into my ANT scripts.
> 
> Is there a way to pass in a property which has spaces?
> 
> i.e.
> 
> name=John Smith

I think you can just do it like that -- works for me anyway. Does it not
work for you?

Diane

=====
(holtdl@yahoo.com)



__________________________________________________
Do You Yahoo!?
Listen to your Yahoo! Mail messages from any phone.
http://phone.yahoo.com

Mime
View raw message