You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Dhruva Reddy <bd...@gmail.com> on 2006/06/15 21:28:40 UTC

Collection of FileSets

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.

Thanks,
Dhruva

Re: Collection of FileSets

Posted by "Scot P. Floess" <fl...@mindspring.com>.
Dhruva:

Have you considered using path with id...like:

<path id = "MY_PATH">
  <fileset dir = "/foo">
     ...
  </fileset>
  ...
</path>

Then just use the refid "MY_PATH"...

Dhruva Reddy wrote:
> 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.
>
> Thanks,
> Dhruva
>

-- 
Scot P. Floess
27 Lake Royale
Louisburg, NC  27549

252-478-8087 (Home)
919-754-4592 (Work)

Chief Architect JPlate  http://sourceforge.net/projects/jplate
Chief Architect JavaPIM http://sourceforge.net/projects/javapim


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