Currently a <script> task could not easily accept a <fileset> as other tasks
do (as embedded sub elements). I'm sure there is some roundabout trickery
that could reference a fileset defined elsewhere, but nothing that provides
a pluggable framework such that <script> could cleanly take a <fileset> (or
a set of filesets, attributes, etc) and get the same introspection mechanism
invoked that a regular Java developed task enjoys. I don't think I'm
missing some wonderfully elegant way to accomplish this currently, but if I
am I'd love to be enlightened as to how.
Am I at least in the same ballpark as the ideas being discussed here?
Erik
----- Original Message -----
From: "Jose Alberto Fernandez" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, October 21, 2001 6:03 AM
Subject: Re: [Ant2] Tasks as siblings of <target>
From: "Peter Donald" <[EMAIL PROTECTED]>
> > Define tasks using a scripting language (like javascript) and allow
> > invoking such tasts simillar to regular tasks. This will definetly need
> > some new datastructure to store the definition which differs from what
> > regular taskdef do today.
>
> No it doesn't.
Why do you think it does not? Can you be more specific?
JA