If all you're sharing is properties, a neater way is to use a properties file and load it in both build files like this: <property file="shared.properties/>
Otherwise I think the XML include is the only way to go. -----Original Message----- From: Baldry, Scot M [mailto:[EMAIL PROTECTED]] Sent: Monday, March 11, 2002 8:40 AM To: 'Ant Users List' Subject: RE: how to divide build.xml files ? <!DOCTYPE project [ <!ENTITY IncludeBuildCore SYSTEM "../../../../../buildCore.xml"> %IncludeBuildCore; ]> and then place... &IncludeBuildCore; at the relevant point in your buildfile to "in-place" include the contents of the other buildfile. Whilst on the subject does anyone know of a neater way of doing this? Scot -----Original Message----- From: Romain.Rouvoy [mailto:[EMAIL PROTECTED]] Sent: 11 March 2002 13:09 To: Ant User Mailing-List Subject: how to divide build.xml files ? Hi ! I want to divide my build.xml file in 2 files because I want to reuse some properties and some path I defined. Indeed I have a second one which needs the declaration of the different variables. So my question is how can I do ? and how can I include it into my build.xml file ? Thanks, Romain -- R. Rouvoy ------------------------------ Romain ROUVOY <[EMAIL PROTECTED]> GOAL Team - LIFL (Laboratoire d'Informatique Fondamentale de Lille) USTL Lille 1 - France -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
