ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Diane Holt <>
Subject Re: Property task help
Date Mon, 25 Mar 2002 06:51:44 GMT
--- Vikram Chhibber <> 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.



Do You Yahoo!?
Yahoo! Movies - coverage of the 74th Academy Awards®

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message