Java Mailing List Archive

http://www.ant-tasks.com/

Apache Ant Archive

» Ant Users List
» Ant Developers List
Importing a FileSet from a file different than build.xml

Importing a FileSet from a file different than build.xml

2003-03-30       - By johannes.fiala@(protected)
Reply:     1     2  

Hi there,

Is it possible to import a FileSet from a file different than build.xml?

E.g. I have a copy task:
===============
<copy todir="${build.home}/WEB-INF/lib">
     <fileset dir="${lib.home}">
               <include name="cos.jar" />
               <include name="cos2.jar" />
               ....
   </fileset>
</copy>
=================

I'd like to import the fileset's contents (the Jar files) to come from a
file like lib.xml, so I can have one version of my build.xml and different
lib.xml files for each application I want to build.

Is this possible?

thx
Johannes

©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.