ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <hol...@yahoo.com>
Subject Re: Property task help
Date Mon, 25 Mar 2002 06:51:44 GMT
--- Vikram Chhibber <vikram_chhibber@pspl.co.in> wrote: 
> I am having a problem running ant property task.
> I am reading property from a file and the specification says that the
> format of the file should be as defined by the file used in the class
> java.util.Properties i.e.
>  if the last character on the line is \, then the next line is treated
> as a continuation of the current line
> 
> example:
> CurrentDirectory = \
> c:/temp
> 
> Therefore the value of CurrentDirectory should be c:\temp but Ant takes
> it as empty string.
> Could you please tell me what's wrong here?

I suspect it may have to do with when you're reading in the file versus
when you're accessing the property, since your example works for me.

Diane

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



__________________________________________________
Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®
http://movies.yahoo.com/

--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message