I never thought to overwrite macro to customize a generic build script. Can
macro be overwritten?
2008/1/10, Wolfgang Häfelinger <
whaefelinger@...>:
>
> >> 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