you can use XInclude 
http://www.jeckle.de/freeStuff/xia/index.html

Viel Gluck
Martin Gainty 
______________________________________________ 
Verzicht und Vertraulichkeitanmerkung
 
Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger 
sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung 
oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem 
Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. 
Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung 
fuer den Inhalt uebernehmen.





> Date: Mon, 13 Jul 2009 13:41:52 +0200
> Subject: include-require
> From: [email protected]
> To: [email protected]
> 
> Hi!
> 
> How can I create build xml from more file?
> Like 'require' or 'include' in php.
> 
> E.g. common.xml:
> 
> <tstamp>
> <format property="stamp" pattern="yyyy-MM-dd---hh-mm-ss"/>
> </tstamp>
> <property name="logFname" value="${stamp}.txt"/>
> 
> And I like to include this in more other build.xml, e.g.:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <project>
> <include_here file="common.xml"/>
> ...
> </project>
> 
> The result should be:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <project>
> <tstamp>
> <format property="stamp" pattern="yyyy-MM-dd---hh-mm-ss"/>
> </tstamp>
> <property name="logFname" value="${stamp}.txt"/>
> ...
> </project>
> 
> Thanks, Adam
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

_________________________________________________________________
Lauren found her dream laptop. Find the PC that’s right for you.
http://www.microsoft.com/windows/choosepc/?ocid=ftp_val_wl_290

Reply via email to