ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nau, Michael" <Michael....@pyxis.com>
Subject Filesets within Filesets
Date Fri, 13 Dec 2002 00:26:42 GMT
Is there a way to make a fileset of filesets?

For example:

<fileset id="foo.jar.classes" dir="${build.out.dir}">
   <include name="com/foo/**/*.class"/>
   <exclude name="**/test/*"/>
</fileset>
    
<fileset id="foo.jar" dir="${dev.src.dir}">
  <fileset refid="foo.jar.classes" />
  <include name="com/foo/xslt/*"/>
  <include name="com/foo/*.properties"/>
</fileset>  

This seems like a common thing. Here's what I want to do in English:

1. Compile all the .java files in the ${dev.src.dir} to {build.out.dir}
2. Jar the .class files from the ${build.out.dir} and all the xslt and
properties files into a foo.jar.

Thanks,
Mike.

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


Mime
View raw message