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

Wolfgang Häfelinger

2008-01-14

Replies:

Author LoginPost Reply
> Q1: Does everyone agree that adding before/after to target to Ant 1.8
> is useful and should be done before (in conjunction of) creating
> generic build files?

Ok, I'm not a committer - anyhow:

I disagree cause you can do the very same thing just with Macros.
No need for new target attributes.

> Q2: Do others feel (like me) that we should also have a mean to
> override a target's content (task list) while keeping the overridden
> target's dependency list?

This must be the soul of this whole upcoming framework. It's an
absolutley must.





Regards,

Wolfgang Häfelinger
Research & Architecture | Dir. 2.7.0.2
European Patent Office
Patentlaan 3-9 | 2288 EE Rijswijk | The Netherlands
Tel. +31 (0)70 340 4931
whaefelinger@(protected)
http://www.epo.org




"Dominique Devienne" <ddevienne@(protected)>
14-01-2008 18:39
Please respond to
"Ant Developers List" <dev@(protected)>


To
"Ant Developers List" <dev@(protected)>
cc

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






On 1/14/08, Peter Reilly <peter.kitt.reilly@(protected):
> On Jan 14, 2008 5:02 PM, Wolfgang Häfelinger <whaefelinger@(protected)>
wrote:
> > Assume also:
> >
> >   <target name="prepare" before="junit">
> >     <prepare />
> >   </target>
> >
> > Do you want this before your "start-server" or after it or
> > in parallel?
> >
>
> I would say that if the build file does not specify the order, then the
order
> is undefined.
>
> If the order is important, then the build file can enforce an order by
> using "depends".
>
>   <target name="prepare" before="junit" depends="start-server">
>     <prepare />
>   </target>

It makes sense Peter. And this already works in Ant, provided we add
before/after support to <target>.

Q1: Does everyone agree that adding before/after to target to Ant 1.8
is useful and should be done before (in conjunction of) creating
generic build files?

Q2: Do others feel (like me) that we should also have a mean to
override a target's content (task list) while keeping the overridden
target's dependency list?

Both questions above are independent of using overriding macros... --DD

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@(protected)
For additional commands, e-mail: dev-help@(protected)




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@(protected)
For additional commands, e-mail: dev-help@(protected)

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.