--- Steve Loughran <[EMAIL PROTECTED]> wrote:

> I'm just prototypting resource support for
> <scriptdef>, so it can load 
> scripts off the classpath, etc...all the work goes
> on in ScriptHelper
> 
> One question. Should I resource enable a task by
> adding support for 
> ResourceCollections inst
> 
> add(ResourceCollection rc)
> 
> rather than simple resources
> 
> add(ResourceCollection rc)
> 
> Every resource is a ResourceCollection, after all,
> and doing it this way 
> lets me handle any specific collection in the list
> of resources...

Right--and then you just document that the
"collection" you receive should be of size 1?  Is that
what you mean?  I realized when I made the decision
that Resource would implement ResourceCollection that
it was kind of a weird concept ("endlessly recursive
composite"?), but my hope was that the ease in task
authoring would justify it.

-Matt

> 
> -steve
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to