Return-Path: Delivered-To: apmail-ant-dev-archive@www.apache.org Received: (qmail 35039 invoked from network); 29 Nov 2005 16:00:48 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 29 Nov 2005 16:00:48 -0000 Received: (qmail 13908 invoked by uid 500); 29 Nov 2005 16:00:44 -0000 Delivered-To: apmail-ant-dev-archive@ant.apache.org Received: (qmail 13871 invoked by uid 500); 29 Nov 2005 16:00:44 -0000 Mailing-List: contact dev-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list dev@ant.apache.org Received: (qmail 13860 invoked by uid 99); 29 Nov 2005 16:00:44 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 29 Nov 2005 08:00:44 -0800 X-ASF-Spam-Status: No, hits=0.5 required=10.0 tests=DNS_FROM_RFC_ABUSE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [68.142.200.159] (HELO web30906.mail.mud.yahoo.com) (68.142.200.159) by apache.org (qpsmtpd/0.29) with SMTP; Tue, 29 Nov 2005 08:02:14 -0800 Received: (qmail 85833 invoked by uid 60001); 29 Nov 2005 16:00:20 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=hhDzwsmHS3URH5j58v1Wmj0g8e4qrTPvU35DtyjM/74688oRveT4Zd9mAZ9TE7thRFIJkpRwF8HClVIdCtIwuaMlu6UlEjvB9gw+U/YD9eikLMciuhviRruSiiG9eqk9+w0pzGRwd8EwaNdSunZGGoYAeVRTwDMg93ERM6S1MW4= ; Message-ID: <20051129160020.85831.qmail@web30906.mail.mud.yahoo.com> Received: from [66.10.233.130] by web30906.mail.mud.yahoo.com via HTTP; Tue, 29 Nov 2005 08:00:20 PST Date: Tue, 29 Nov 2005 08:00:20 -0800 (PST) From: Matt Benson Subject: Re: Core Tasks and Resource Collections To: Ant Developers List In-Reply-To: <438BF629.8020301@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N --- Antoine Levy-Lambert 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 , , , , and . 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: > dev-unsubscribe@ant.apache.org > For additional commands, e-mail: > dev-help@ant.apache.org > > __________________________________ Yahoo! Music Unlimited Access over 1 million songs. Try it free. http://music.yahoo.com/unlimited/ --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org For additional commands, e-mail: dev-help@ant.apache.org