You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by sdeva <de...@india.triviumsys.com> on 2000/08/25 11:03:48 UTC

FW: Can ant-projects be included in other ant-projects.


>  -----Original Message-----
> From: 	sdeva  
> Sent:	Thursday, August 24, 2000 9:24 PM
> To:	'ant-user-help@jakarta.apache.org'
> Subject:	Can ant-projects be included in other ant-projects.
> 
> Hello,
> 
> I recently started using Ant for my project build. I should say that its a
> great tool. It perfectly suites for a java based e-commerce kind of
> product
> development.
> 
> My project has around 10-15 modules, 20-25 developers and there is lot of
> stuff common to everybody or some modules. I am now trying to wrtie
> build.xml for each of these modules as well as common stuff. My question
> now
> is there a way in ant to write build.xml for common modules and share them
> in the different module build.xml's.  In other words, is there a way to
> include ant-projects in other ant-projects.
> 
> thanks,
> -Srinivas Devarakonda.
> 
> Senior Member Technical Team.
> Trivium Systems India Private Limited.
> http://www.triviumsys.com
> 

Re: FW: Can ant-projects be included in other ant-projects.

Posted by "Frank O. Laus" <la...@uni-muenster.de>.
sdeva wrote:
> > My project has around 10-15 modules, 20-25 developers and there is lot of
> > stuff common to everybody or some modules. I am now trying to wrtie
> > build.xml for each of these modules as well as common stuff. My question
> > now
> > is there a way in ant to write build.xml for common modules and share them
> > in the different module build.xml's.  In other words, is there a way to
> > include ant-projects in other ant-projects.

I have a very similar problem. Im am also witing a programm with
different modules which should have
their own buildfiles.
I would like to use a mechanism like
	forall buildfiles in dir
		ant buildfile

In the moment I start the modules' buildfiles with a hardcoded list of
buildfiles
	ant buildfile-module1
	ant buildfile-module2
	etc.
This is of course not what I want/need but I dont't see any other way to
handle this problem.

Has anyone a better idea? Or is this a problem of ant?

Bye
	Frank

-- 


Frank O. Laus
Westf. Wilhelms-Universitaet Muenster
Psychologisches Institut III
Fliednerstr. 21
48149 Muenster
Germany
Tel.: +049-251-8339959
EMail: laus@uni-muenster.de
WWW: http://wwwpsy.uni-muenster.de/inst3/AEKeil/laus/bio.html

privat:
Frank O. Laus
Ruhrstr. 19
D-48145 Muenster
Germany
Tel.: +049-251-235966

RE: Can ant-projects be included in other ant-projects.

Posted by Marcel Schutte <ma...@schutte.com>.
Yes, that is something I would like to see too. At the moment I have to
repeat lots of code in my build.xml 's.

Marcel Schutte

> -----Original Message-----
> From: sdeva [mailto:deva@india.triviumsys.com]
> Sent: vrijdag 25 augustus 2000 11:04
> To: ant-user@jakarta.apache.org
> Subject: FW: Can ant-projects be included in other ant-projects.
>
>
>
>
> >  -----Original Message-----
> > From: 	sdeva
> > Sent:	Thursday, August 24, 2000 9:24 PM
> > To:	'ant-user-help@jakarta.apache.org'
> > Subject:	Can ant-projects be included in other ant-projects.
> >
> > Hello,
> >
> > I recently started using Ant for my project build. I should say
> that its a
> > great tool. It perfectly suites for a java based e-commerce kind of
> > product
> > development.
> >
> > My project has around 10-15 modules, 20-25 developers and there
> is lot of
> > stuff common to everybody or some modules. I am now trying to wrtie
> > build.xml for each of these modules as well as common stuff. My question
> > now
> > is there a way in ant to write build.xml for common modules and
> share them
> > in the different module build.xml's.  In other words, is there a way to
> > include ant-projects in other ant-projects.
> >
> > thanks,
> > -Srinivas Devarakonda.
> >
> > Senior Member Technical Team.
> > Trivium Systems India Private Limited.
> > http://www.triviumsys.com
> >
>