ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: [PATCH] ant task with (nested) fileset(s)
Date Mon, 12 Nov 2001 11:46:32 GMT
On Mon, 12 Nov 2001, Peter Donald <> wrote:

> On Mon, 12 Nov 2001 22:03, Stefan Bodewig wrote:
>> but if my project contains three or four C files for my JNI stuff
>> and the simple <apply> task is all I need, then why should I bother
>> writing a task for it?
> why not?

For the same reasons I use <exec> or <java> for one shot things.  I
don't need a custom task that goes beyond the stuff that is already
there, because my use case is to simple.

Without <apply>, I'd have to write a silly combination of three
targets, an <uptodate> task, a property and an <exec> task for all
three C sources - here I'd start to think about a custom task.

With <apply>, all I need is there and this task is just putting
together some pieces that are part of Ant's support library.


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

View raw message