ant task to remove files from a jar
Posted
by bguiz
on Stack Overflow
See other posts from Stack Overflow
or by bguiz
Published on 2010-03-26T05:02:27Z
Indexed on
2010/03/26
5:13 UTC
Read the original article
Hit count: 561
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!
© Stack Overflow or respective owner