gcacace / dex2jar

Tools to work with android .dex and java .class files
7 stars 1 forks source link

better invocation scripts for windows #192

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
a while back i had to work with dex2jar on windows. i found that the invocation 
scripts were really slow and resource intensive, had some inconsistencies (as 
if they were manually maintained) and were hard to customize since the code was 
replicated in all scripts. at the time i made my own scripts and i don't think 
i ever send them to the project.

here they are. these are much faster and solve other minor issues that i don't 
quite remember now. you have two templates, any of which should be expanded to 
generate all commands. one goes through a level of indirection so that all 
commands can be customized in a single place. the other template invokes 
directly (like it is done now) and i don't recommend it.

any of these templates can be integrated into your build system. if you don't 
have a build system for these scripts, there's also a (windows) script that 
will generate all the scripts. you only need to fill in the command metadata 
(name and class) for each command into it (i was lazy and loaded only 3).

(you can use the attachment as you wish, i release it to the public domain.)

Original issue reported on code.google.com by lanc...@gmail.com on 19 Sep 2013 at 11:02

Attachments: