C
cbongior
This must be something simple, but then again I have also read that
certain basic ant commands do not fully support nested file sets
I am trying to create a jar file and exclude one particular directory
(and any subsequent sub directories)
The Syntax I am using (and I have tried variations on both) are
<jar destfile="${dist}/lib/mac.jar" basedir="${build}"
includes="/**"
excludes="com/trireme/watcher/**"/>
<jar destfile="${dist}/lib/mac.jar" basedir="${build}"
<fileset dir="${build}"
includes="/**"
excludes="com/trireme/watcher/**"/>
</jar>
In the first case, I get NOTHING! Just a jar with a manifest file. In
the second case, I get everything including that which I want to
exclude. Can someone with a little more Ant experience give me a hand?
Thanks
Christian Bongiorno
http://www.bongiorno.org/resume.PDF
certain basic ant commands do not fully support nested file sets
I am trying to create a jar file and exclude one particular directory
(and any subsequent sub directories)
The Syntax I am using (and I have tried variations on both) are
<jar destfile="${dist}/lib/mac.jar" basedir="${build}"
includes="/**"
excludes="com/trireme/watcher/**"/>
<jar destfile="${dist}/lib/mac.jar" basedir="${build}"
<fileset dir="${build}"
includes="/**"
excludes="com/trireme/watcher/**"/>
</jar>
In the first case, I get NOTHING! Just a jar with a manifest file. In
the second case, I get everything including that which I want to
exclude. Can someone with a little more Ant experience give me a hand?
Thanks
Christian Bongiorno
http://www.bongiorno.org/resume.PDF