shevek / jarjar

Jar Jar Links is a utility that makes it easy to repackage Java libraries and embed them into your own distribution.
Apache License 2.0
735 stars 93 forks source link

executing the command line does not take effect #25

Closed YiScond closed 2 years ago

YiScond commented 2 years ago

Execute command line: java -jar jarjar-command-1.1.1.jar --mode process --rules rule.txt classes.jar --output out.jar

rule.txt:

rule com.** cc.**  
zap xx.** 
keep aa.**

and then command line print: [main] INFO com.tonicsystems.jarjar.transform.JarTransformer - Transforming archive ZipArchive(D:\java\Android\jarjar\jarjar-command\build\libs\classes.jar)

i check the out.jar, it is invalid, how should i do

YiScond commented 2 years ago

rule.txt is wrong . edit it correct and work success