Setting DashO License

Setting DashO License

DashO needs to be activated in order to run. If you need to pass the license string to DashO, there are several ways to specify its value. The methods are listed in their order of precedence.

Note: Be sure to maintain proper control of your licensing keys.

The dasho.license property

You can set a buildfile property called dasho.license that specifies DashO's license. If specified it takes precedence over any of the following methods. For example:

<project name="superzap" basedir=".">
    <property name="dasho.license" value="licenseKey[:email]"/>
</project>

The property can also be set from the command line:

ant -Ddasho.license=licenseKey[:email]

Setting dasho.license this way will override any property setting done in your buildfile.

dasho.ant.runtime.properties file

The ant-dasho.jar file can contain the dasho.ant.runtime.properties file which provides a setting for dasho.license. You can display the current settings in this file by going to the ANT_HOME directory and running:

C:\>java -jar lib\ant-dasho.jar
dasho.home=C:\Program Files\PreEmptive Protection DashO x.y\app
dasho.fullVersion=x.y.z
dasho.version=x.y
dasho.license(masked)={masked license}

If this value is not correct, please see the instructions in Installation.

Note: If you need to know the exact value of dasho.license, it is recorded in the dasho.ant.runtime.properties file inside ant-dasho.jar.

The environment

The DASHO_LICENSE environment variable can be used to specify DashO's license.

$ export DASHO_LICENSE=licenseKey[:email]
$ echo $DASHO_LICENSE
licenseKey[:email]

C:\>set DASHO_LICENSE=licenseKey[:email]
C:\>echo %DASHO_LICENSE%
licenseKey[:email]

No Configuration

If no license is being passed and DashO is not yet activated, DashO will prompt for activation when you launch the Config Editor.