You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Johannes Zellner <jo...@zellner.org> on 2001/10/29 11:47:33 UTC
including build.xml files
Hi,
is it possible to include another build.xml file ?
(E.g. including a build.xml files which holds a few task
which are common to all my projects)
--
Johannes
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: including build.xml files
Posted by Hakan Koseoglu <ha...@datafit.co.uk>.
Johannes Zellner wrote:
> is it possible to include another build.xml file ?
> (E.g. including a build.xml files which holds a few task
> which are common to all my projects)
You can use <ant> task to call targets from other xml files. I have a
master xml file which controls a project and each particular aspect of
the project is managed by an other xml file, which keeps xml files in
managable sizes. Currently I'm trying to create a lord-of-all type of
xml file to call my project xml's but I have some classpath issues.
I think as long as you use the same classpath for all your projects, you
won't hit any particular problems.
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
Re: including build.xml files
Posted by Conor MacNeill <co...@cortexebusiness.com.au>.
Johannes Zellner wrote:
> Hi,
>
> is it possible to include another build.xml file ?
> (E.g. including a build.xml files which holds a few task
> which are common to all my projects)
>
>
It is not possible to include another build file but it is possible to
include a snippet of a build file. Please refer to the Ant FAQ,
especially this entry
http://jakarta.apache.org/ant/faq.html#xml-entity-include
Conor
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>