ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jon Eaves" <...@eaves.org>
Subject Including property files
Date Tue, 05 Jun 2001 05:55:31 GMT
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 <jon@eaves.org>
http://www.eaves.org/jon/


Mime
View raw message