--- Antoine Levy-Lambert <[EMAIL PROTECTED]> wrote:
[SNIP]
> I think that supporting resources for the Perforce
> tasks for instance
> would be a kludge, because p4.exe works against the
> filesystem anyway.
> 
> Resources make sense for tasks which are coded
> against a Java API and
> which can take streams as input or output instead of
> files.
> 
The problem here, Antoine, is that the
ResourceCollection idiom contains such niceties as
<union>, <intersect>, <difference>, <restrict>, and
<sort>.  Supporting these is the aim, IMHO, of adding
ResourceCollection support to file-only tasks (which
we have done in several cases now).

> Maybe for the FTP Task ? Would we also make a
> FTPResource ?

Jan suggested URLs.  Alternatively, I imagine it would
be small work for Mario I. to provide in a future
release (1.1 probably as I think he's about to release
a 1.0) of commons-vfs a means to adapt his FileObjects
to Ant Resources, or I can collaborate with him on
this.  But I haven't opened up that dialogue yet. 
This would duplicate some of our own work but would
mean that we didn't have to think about certain
adaptations e.g. FTP any further.

> 
> Can we change the AntClassLoader (so definer,
> typedef, taskdef) to
> support resources in classpath ?
> For instance put in the class path all the jars
> which are in the
> WEB-INF/lib directory of a war file, without
> explicitly unpacking the
> war file.

Hmm... since we eat our own dog food in terms of our
ClassLoader (don't we?) seems like it would be fairly
easy to extend it thus.

-Matt
> 
> Cheers,
> Antoine
> 
> Stefan Bodewig wrote:
> 
> >Hi all,
> >
> >I've been travelling yesterday which gave me plenty
> of time sitting in
> >a train with a power supply available to me, the
> result you've already
> >seen in a bunch of commit messages.
> >
> >AFAICS all core tasks now support resource
> collections, at least where
> >it made sense.  I'm not sure how/if I'm going to
> tackle the optional
> >tasks since I lack means of compiling quite a few
> of them.  JUnit's
> >batchtest already supports resource collections
> instead of filesets.
> >
> >Stefan
> >
> >  
> >
> 
> 
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
> 
> 



                
__________________________________ 
Yahoo! Music Unlimited 
Access over 1 million songs. Try it free. 
http://music.yahoo.com/unlimited/

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

Reply via email to