The -e, --printStackTraces option will print stack traces for exceptions.

The -f, --force option forces execution even if DashO finds Class.forName() methods (discussed in detail in Advanced Topics). The use of the force global option is preferred over the command line use of this option.

The --file-version option shows the project file (.dox) version used by DashO and exits.

The -h, --help option displays command line help on demand.

The -p, --properties<filename> option tells DashO to load system properties from the provided file.

The -q, --quiet option tells DashO to print a minimal amount of messages. This option overrides verbose and debug modes.

The -v, --verbose option causes additional, more detailed messages to be emitted during execution.

The --version option shows the version and license information of DashO and exits.

The -e, --printStackTraces option will print stack traces for exceptions.

The --file-version option shows the project file (.dox) version used by DashO and exits.

The -h, --help option displays command line help on demand.

The -q, --quiet option tells DashO to print a minimal amount of messages. This option overrides verbose and debug modes.

The -v, --verbose option causes additional, more detailed messages to be emitted during execution.

The --version option shows the version and license information of DashO and exits.

The --wizardCreate<project/dir> option will launch the New Project Wizard and default it to the provided directory.

Notes:
Persistent options can be set in dashorc.
If running from Windows, options like --version and --help will not appear to work because the output will not display in the console.

ConvertMap

A conversion utility ConvertMap.jar is provided to convert the mapfile to a format suitable for upload to analytics services for decoding stack traces.

Run java -jar ConvertMap.jar --help at a command-line to see the options available for the utility.

DashO Configuration

A resource script, either dashorc.bat (Windows) or dashorc (other platforms) is installed in DashO's installation directory.
This file can be used to pass specific options every time dashocmd, dashogui, premark, and tokengenerator are executed.
You may alter this copy to affect the settings used by all users of DashO.
You can also copy the file into your home directory and customize the settings just for yourself.
Please note that on macOS and Linux, it should be renamed to .dashorc when you place it in your home directory.

Watermarking PreMark Tool

You can use the PreMark tool to add a watermark or to read the watermark. It is a command line tool to watermark a jar without needing to start DashO. Using this tool you can PreMark any jar file even if it has not been obfuscated by DashO.

premark[options]inputfile

The command line options must begin with the '-' character.

Options

Description

-c, --charmap<charmap>

Character map name (6bit-a, 6bit-b, 7bit-a, 4bit-a, utf8)

-e, --printStackTraces

Print stack traces for exceptions

-h, --help

Display command line help

-m, --mark<watermark>

Add watermark

-o, --output<file>

Output file

-p, --passphrase<passphrase>

Passphrase to encrypt/decrypt watermark string

-q, --quiet

Print minimal amount of messages

-r, --read

Read watermark

-t, --truncate

Truncate watermark if too big (default: fail)

-v, --verbose

Print verbose messages

--version

Show version and exit

The -c, --charmap<charmap> option tells the PreMark tool which character map encoding should be used to embed the watermark string in the given input jar.

The -e, --printStackTraces option will print stack traces for exceptions.

The -h, --help option displays command line help on demand.

The -m, --mark<watermark> option watermarks the given input jar with the specified watermark string.

The -o, --output<file> option allows you to specify the path to the watermarked output jar.

The -p, --passphrase<passphrase> option sets the passphrase. The PreMark tool uses this passphrase to encrypt or decrypt the watermark string.

The -q,--quiet option tells the PreMark tool to print a minimal amount of messages. This option overrides verbose mode.

The -r, --read option reads the watermark string from the specified input file.

The -t, --truncate option truncates the watermark string if it is too long. If this option is not specified, the default is to halt without watermarking the file.

The -v, --verbose option causes additional, more detailed messages to be emitted during execution.

The --version option causes the PreMark tool to provide the version of the application and then to exit that application.