ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dhruva Reddy" <bdhr...@gmail.com>
Subject Re: Collection of FileSets
Date Fri, 16 Jun 2006 16:19:17 GMT
OK, that's good to know.  If I can't find a way around it I may give that a
go.

Thanks,
Dhruva

On 6/15/06, Jan.Materne@rzf.fin-nrw.de <Jan.Materne@rzf.fin-nrw.de> wrote:
>
> Not all tasks can work with nested paths .... in prior to Ant 1.7.
> With 1.7 we are introducing "ResourceCollections" which is a supertype a
> <path>, <fileset> and others. I'm not sure if <ear> supports that,
but
> most of the tasks are converted ...
>
> Yep - <ear> inherits <jar> inherits <zip>. And <zip> supports
RCs [1].
> So your life will become easier with a custom build of the snapshot or
> with Ant 1.7 coming .... mmmh .... this summer (?).
>
>
> Jan
>
>
> [1]
> http://svn.apache.org/repos/asf/ant/core/trunk/docs/manual/CoreTasks/zip
> .html
>
>
> >Have you considered using path with id...like:
> >
> ><path id = "MY_PATH">
> >  <fileset dir = "/foo">
> >     ...
> >  </fileset>
> >  ...
> ></path>
> >
> >Then just use the refid "MY_PATH"...
> >
> >> Hello,
> >>
> >> We have a target that builds an EAR using the ear task.  Fed
> >into the
> >> task is a rather large number of fileset's.  What I would like to do
> >> is use the same fileset's for another task (I want to copy those
> >> elements into the app server without building the EAR).
> >>
> >> Is there any way to aggregate those fileset's and have both tasks
> >> refer to them?  If there is, I can't seem to figure it out from the
> >> documentation.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message