ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wolfgang Häfelinger <ora.et.lab...@web.de>
Subject export
Date Fri, 07 Oct 2005 09:57:13 GMT

Greetings,

One of the really great ant features is the ability to <import>  other build files.
So what
I'm doing is something like

 <import file="b0.xml" />
 <import file="b1.xml" />
 ..
 <import file="bn.xml" />

and it's really cool that a entity (target, macro, patternset ..) defined in b${i} overrides
a 
entity with the same name.

Now what is missing (well, have no clue how to do it) is the other way around. I want to
be able to "export" the final build script.

For example, let's assume that b0.xml just contains this:

<property environment="env" />
 <target name="hello"> 
     <echo> hello b0.xml </echo>
 </target>

and b1.xml shall contain

<target name="hello"> 
     <echo> hello b1.xml </echo>
 </target>

then I would like to see this (printed on stdout for example) 
doing an "export":

<property environment="env" />
<target name="hello"> 
     <echo> hello b1.xml </echo>
 </target>

How would I do this??

Wolfgang.


 
______________________________________________________________
Verschicken Sie romantische, coole und witzige Bilder per SMS!
Jetzt bei WEB.DE FreeMail: http://f.web.de/?mc=021193


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message