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, [EMAIL PROTECTED] <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]