dcsimg
Can I include xml files?
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Kim_Ostler
Posted On:   Friday, October 19, 2001 09:06 AM

I have a number of targets that define properties and want those targets to be included by build.xml files in the project subdirectories. Can I do this and, if so, how?


I considered using property files to share the properties but really would rather share the target definitions as well. Thank you.


Example:


			














Re: Can I include xml files?

Posted By:   Erik_Hatcher  
Posted On:   Friday, October 19, 2001 05:49 PM

XML has include capability (which doesn't even involve Ant, actually). See the Ant FAQ item at: http://jakarta.apache.org/ant/faq.html#xml-entity-include.


I will make this a jGuru Ant FAQ also.

About | Sitemap | Contact