Java Mailing List Archive

http://www.ant-tasks.com/

Home » Ant Developers List »

Re: [DISCUSS] EasyAnt: Ant based pre packaged build system for java projects

Gilles Scokart

2008-01-11

Replies: Find Java Web Hosting

Author LoginPost Reply
I never thought to overwrite macro to customize a generic build script. Can
macro be overwritten?



2008/1/10, Wolfgang Häfelinger <whaefelinger@(protected)>:
>
> >> it is certainly something that already exists in the wild. Does it?
>
> It's called AntEpoline and lives currently in The Netherlands,
> especially here at the EPO in The Hague. Ca. 90% of our Java
> projects are using AntEpoline, the remaining mainly Maven I.
>
> Here's how a typical build file looks like:
>
> <project name="helloworld" xmlns:c="antlib:ant.epoline">
>  <c:import />
>
>  <dependencies>
>   <dependency groupid="log4j" artefactid="log4j" version="1.2.13" />
>  </dependencies>
>
>  <macrodef name="package">
>   <sequential>
>     <!-- "original" packaging" -->
>     <c:package />
>     <!-- so something else -->
>   </sequential>
>  </macrodef>
> </project>
>
>
--
Gilles Scokart
©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.