This new command line utility allows building various Protection!'s resources. Protection! Builder Utility allows for use of various build systems (i.e., Apache Ant) and scripts to automate assembling of protected applications. Protection! Builder Utility allows for building:
usage: ProtectionBuilderUtility [options] -digestbuild digest using specified build configuration id -help print this message -launcher build Protection! Launcher using specified build configuration id -password specifies password to open read-protected products storage -product specifies product to work with -storage specifies products storage to work with -target specifies build target -ws generate Protection! Web Services Application
To get help on Protection! Builder Utility it should be started without any arguments or with the -help
option.
The -password
option specifies the password required to open read-protected products storage. An argument following the -password
option defines the password value.
To build Protection! Launcher the -launcher
option should be used. An argument after the -launcher
option specifies a Launcher Build Configuration identifier that should be used to build Launcher.
Optional -target
option allows overriding default target file name specified in particular Launcher Build Configuration. An argument after the -target
option specifies a file name to build Launcher to.
Example: Builds Protection! Launcher using Launcher Build identifier called "Deploy" for product identifier called "DemoCalc" located in product storage called "DemoCalc.dat"
ProtectionBuilderUtility -storage DemoCalc.dat -product DemoCalc -launcher Deploy
To build Protection! Launcher the -digest
option should be used. An argument after the -digest
option specifies a Digest Build Configuration identifier should be used to build Digest.
Optional -target
option allows overriding default target file name specified in particular Digest Build Configuration. An argument after the -target
option specifies a file name to build Digest to.
Example: Builds Protection! Digest using Digest Build identifier called "Deploy" for product identifier called "DemoCalc" located in product storage called "DemoCalc.dat"
ProtectionBuilderUtility -storage DemoCalc.dat -product DemoCalc -digest Deploy
To build Protection! Launcher the -ws
option should be used. Mandatory -target
option allows specifying a file name (via the following argument) to build Web Services Application to.
Example: Builds Protection! Web Services Application for product identifier called "DemoCalc" located in product storage called "DemoCalc.dat" and puts it to the file "ProtectionWS.war"
ProtectionBuilderUtility -storage DemoCalc.dat -product DemoCalc -ws -target ProtectionWS.war