Standalone Usage

DexGuard can also be run from the command line. Just type:

java -jar dexguard.jar options ...

You can find the DexGuard jar in the lib directory of the DexGuard distribution. Alternatively, the bin directory contains some short Linux and Windows scripts containing this command. Typically, you'll put most options in a configuration file (say, myconfig.pro), and just call:

java -jar dexguard.jar @myconfig.pro

You can combine command line options and options from configuration files. For instance:

java -jar dexguard.jar @myconfig.pro -verbose

You can add comments in a configuration file, starting with a # character and continuing until the end of the line.

Extra whitespace between words and delimiters is ignored. File names with spaces or special characters should be quoted with single or double quotes.

Options can be grouped arbitrarily in arguments on the command line and in lines in configuration files. This means that you can quote arbitrary sections of command line options, to avoid shell expansion of special characters, for instance.

The order of the options is generally irrelevant. For quick experiments, you can abbreviate them to their first unique characters.


Copyright © 2002-2014 Saikoa BVBA.