ant task to remove files from a jar

后端 未结 6 573
自闭症患者
自闭症患者 2020-12-13 13:45

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         


        
6条回答
  •  北海茫月
    2020-12-13 13:58

    The answers didn't quite add up for me -

    
            
                    
            
    
     
    

    This uses a single pass and doesn't add too much time to the build

    source : http://ant.1045680.n5.nabble.com/Remove-entru-from-ZIP-file-using-ANT-td1353728.html

提交回复
热议问题