On Mon, 12 Nov 2001, Peter Donald <[EMAIL PROTECTED]> 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. Stefan -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
