dk.netarkivet.deploy
Class DeployApplication
java.lang.Object
dk.netarkivet.deploy.DeployApplication
public final class DeployApplication
- extends java.lang.Object
The application that is run to generate install and start/stop scripts
for all physical locations, machines and applications.
The actual deployment has to be done from an Linux/Unix machine,
and this application should therefore not be run on Windows.
Method Summary |
static void |
initEvaluate(java.lang.String evaluateArgument)
Checks the arguments for evaluating the config file. |
static void |
main(java.lang.String[] args)
Run the new deploy. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DeployApplication
public DeployApplication()
main
public static void main(java.lang.String[] args)
- Run the new deploy.
- Parameters:
args
- The Command-line arguments in no particular order:
-C The deploy configuration file (ends with .xml).
-Z The NetarchiveSuite file to be unpacked (ends with .zip).
-S The security policy file (ends with .policy).
-L The logging property file (ends with .prop).
-O [OPTIONAL] The output directory
-D [OPTIONAL] The database
-T [OPTIONAL] The test arguments (httpportoffset, port,
environmentName, mailReceiver)
-R [OPTIONAL] For resetting the tempDir (takes arguments 'y' or 'yes')
-E [OPTIONAL] Evaluating the deployConfig file (arguments: 'y' or 'yes')
initEvaluate
public static void initEvaluate(java.lang.String evaluateArgument)
- Checks the arguments for evaluating the config file.
Only the arguments 'y' or 'yes' is accepted for evaluation.
Anything else (including argument set to null) does not evaluate the
deployConfigFile.
- Parameters:
evaluateArgument
- The argument for evaluation.