PreEmptive Protection - DashO v8.2 User Guide

Migrating Ant-based Configuration to DashO

Ant-based .dox configuration has been deprecated. PreEmptive Protection - DashO can still be called inside an Ant build script, but the functionality to manipulate or create a .dox file is deprecated and does not support the latest features. Migration to a standard .dox file is recommended.

The easiest way to migrate is to use the final .dox file which the Ant integration currently generates and passes to DashO.

  1. Add the the following attributes to <obfuscate> or <obfuscate-jar>:
    • deleteTempProject="false"
    • verbose="true"
  2. Run the Ant obfuscation task.
  3. Look for Temp Project=.../dasho???????.dox in the verbose console output.
  4. Copy that file locally (giving it a better name).
  5. Use the new copy for obfuscation by setting it in the project attribute of <obfuscate>.
    • If you are currently using <obfuscate-jar>, use <obfuscate> instead.
  6. Remove the deprecated elements nested inside <obfuscate>.

If you need different configurations for a single project, you can either create multiple .dox files or use User Properties. User Properties can still be passed to a DashO via the nested <sysproperty> elements. See the <obfuscate> examples and Property References for more details.

PreEmptive Protection - DashO Version 8.2.0. Copyright © 2017 PreEmptive Solutions, LLC