ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.Pietschmann" <>
Subject Re: Include xml file in build.xml
Date Sun, 02 Mar 2003 12:46:56 GMT
Oliver Wulff wrote:
> To include an xml file I do the following:
> <!DOCTYPE project [
>     <!ENTITY repository SYSTEM "file:./repository.xml">
> ]>
> This works fine. But I include an xml file which is the same for all
> projects and are stored at a central directory in the local filesystem.
> My question is: Can I define the location of my file dependent dynamically.
> For example, dependent on an environment variable?

Marginally possible through catalogs, but may be tricky to set up.

What's wrong with "file:///central/dir/repository.xml"?


View raw message