ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antoine Levy-Lambert <anto...@gmx.de>
Subject Re: Invoking a target (Ant 1.7) in a loop (Ant-Contrib)
Date Thu, 18 Jan 2007 05:25:12 GMT
Hi,

the xslt task also works with resources to some extent.

It should be able to process a set of XML files nested in a zip as  
input, using a stylesheet which is also nested in a jar or available  
on an http server as a transformation.

Antoine

On Jan 17, 2007, at 1:03 PM, Matt Benson wrote:

> I haven't been following this discussion too closely,
> but I saw resources and my name... ;)
>
> --- Steve Loughran <stevel@apache.org> wrote:
>
>
>>   -how well do the built in tasks handle non-file
>> resources?
>>
>
> AFAIK, when we (mostly Stefan and myself) retrofitted
> resource support into existing tasks we tried to do
> the right thing.  <delete> currently only works with
> files.  Probably the right thing to do would be to
> provide a Deletable interface (like the existing
> Touchable) so that custom resources could implement it
> if they wanted.  <javac> currently only works with
> file resources, because the Sun compiler historically
> only supported files, thus the entire task was
> designed that way, and existing compiler adapters
> follow suit, as they must.  This is another area for
> redesign/extension.  Off the top of my head I can
> think of <concat> and <copy> that do behave properly
> with non-file resources.  Hopefully there are more!
> The current support was really just the first step, as
> Steve implied above.
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message