ant task to remove files from a jar
- by bguiz
Hi,
How to write an ant task that removes files from a previously compiled JAR?
Let's say the files in my JAR are:
aaa/bbb/ccc/Class1
aaa/bbb/ccc/Class2
aaa/bbb/def/Class3
aaa/bbb/def/Class4
... and I want a version of this JAR file without the aaa.bbb.def package, and I need to strip it out using ant, such that I end up with a JAR that contains:
aaa/bbb/ccc/Class1
aaa/bbb/ccc/Class2
Thanks!