ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Example Ant 1.6 build files for project with multiple WAR and JAR modules?
Date Wed, 02 Nov 2005 13:22:52 GMT
Hi Lawrie,

having the Jakarta Commons in mind I would think about
- one project (svn+Ant) per jar/war
  build.xml: import common/common.xml
- one project per ear
  build.xml: import common/common.xml
- one project for common files

I´m not the svn-guru, so I stress to "think about" these :-)


>-----Ursprüngliche Nachricht-----
>Von: Ron Wheeler [] 
>Gesendet: Mittwoch, 2. November 2005 13:41
>An: Ant Users List
>Betreff: Re: Example Ant 1.6 build files for project with 
>multiple WAR and JAR modules?
>Did you look at the Apache projects?
>Many of them are using Maven which may be closer to what you want.
>What about Ant itself?
>Lawrie Gallardo wrote:
>> Hi,
>> I need to put together Ant 1.6 build files for a project which will 
>> have an EAR module and several WAR and JAR modules. I 
>ideally want to 
>> make good use of Ant 1.6 features such as import, macrodef 
>and subant 
>> tasks to produce a common build file (which each individual module's 
>> build file can then import and override), a master build file, and a 
>> release build file. To avoid re-inventing the wheel, I have tried to 
>> find an open source project with suitable build files to use as a 
>> starting block, but I have not been able to find anything that fits 
>> the bill.
>> Does anyone know of an open source project with build files 
>that would 
>> be worth me taking a look at?
>> Or has anybody already put together something along these 
>lines for an 
>> existing project? If so, I'd be incredibly grateful if you 
>could mail 
>> me a copy of these build files so that I could use them as a 
>> point to adapt and amend to fit my project's requirements. I 
>know this 
>> sounds a bit cheeky, but I'd really like to avoid the unproductive 
>> effort of starting completely from scratch and re-inventing 
>the wheel...
>> Thanks in advance,
>> Lawrie.
>> eMail: lawriegallardo at hotmail dot com
>> _________________________________________________________________
>> MSN Messenger 7.5 is now out. Download it for FREE here. 
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: For 
>> commands, e-mail:
>To unsubscribe, e-mail: For 
>additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message