The property file is NOT xml, it's in java "properties" format:

name=value

-Peter

> -----Original Message-----
> From: Jon Eaves [mailto:[EMAIL PROTECTED]]
> Sent: Monday, June 04, 2001 10:56 PM
> To: [EMAIL PROTECTED]
> Subject: Including property files
> 
> 
> Hi all,
> 
> Did a quick search of the archives, but didn't come up with what
> I wanted.  
> 
> I've got a project build file (build.xml) that includes a
> platform specific file (windows_env.xml or unix_env.xml) 
> depending on the platform.
> 
> Within the *_env.xml files is a
> 
> <property file="user_env.xml" />
> 
> So users can just modify one file and the rest can stay
> in CVS unchanged.  The local file has things like the
> source and deployment roots, etc, etc.
> 
> The user_env.xml file doesn't seem to be included/parsed as
> ant -v doesn't show anything particularly interesting, and
> the <echo message="${user.foo}" /> displays ${user.foo} and
> gives a nice error message in ant -v.
> 
> Help !
> 
> Cheers,
>     -- jon
> 
> --
> Jon Eaves <[EMAIL PROTECTED]>
> http://www.eaves.org/jon/
> 

Reply via email to