ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nau, Michael" <>
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 id="foo.jar" dir="${dev.src.dir}">
  <fileset refid="foo.jar.classes" />
  <include name="com/foo/xslt/*"/>
  <include name="com/foo/*.properties"/>

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.


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message