On Wed, 13 Feb 2002, Tim Vernum wrote:
> It might (or might not) make more sense to have something like
> (excuse my lack of javascript knowledge)
>
> function attributes() {
> return ({ "test" });
> }
>
> rather than needing to have setXXX methods for everything.
+1, and a task.getAttribute( "test" )
I was thinking about another form of scripting would be to turn a
sequence of tasks ( == target ) in a task that can be called with
params.
<targetdef target='foo' name='footask' >
<param name='param1' />
...
</targetdef>
With the behavior beeing that of <antcall>
Again, something like that can be implemented as a taskdef-like
task in ant1.x, in an add-on jar.
Costin
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>