In the ant 1.6alpha, there is an import task which might suit your needs.
You may want to download it from this location
http://cvs.apache.org/builds/ant/nightly/
Antoine
----- Original Message -----
From: "Oliver Wulff" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, March 02, 2003 1:35 PM
Subject: Include xml file in build.xml


Hi

To include an xml file I do the following:

<!DOCTYPE project [
    <!ENTITY repository SYSTEM "file:./repository.xml">
]>

&repository;

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?

Hope somebody can help me
Oliver






******************* BITTE BEACHTEN *******************
Diese Nachricht (wie auch allfällige Anhänge dazu) beinhaltet
möglicherweise vertrauliche oder gesetzlich geschützte Daten oder
Informationen. Zum Empfang derselben ist (sind) ausschliesslich die
genannte(n) Person(en) bestimmt. Falls Sie diese Nachricht
irrtümlicherweise erreicht hat, sind Sie höflich gebeten, diese unter
Ausschluss jeder Reproduktion zu zerstören und die absendende Person
umgehend zu benachrichtigen. Vielen Dank für Ihre Hilfe.



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to