public final class DeployApplication extends Object
The actual deployment has to be done from an Linux/Unix machine, and this application should therefore not be run on Windows.
Modifier and Type | Method and Description |
---|---|
static void |
initArchiveDatabase(String arcDbFileName)
Checks the argument for the archive database.
|
static void |
initBundlerZip(Optional<String> defaultBundlerZipName)
Checks if the default bundler zip file exists if defined.
|
static void |
initEvaluate(String evaluateArgument,
String encoding)
Checks the arguments for evaluating the config file.
|
static void |
initJarFolder(String folderName)
Checks the argument for the external jar-folder.
|
static void |
main(String[] args)
Run deploy.
|
public static void main(String[] args)
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 harvest definition 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') -A [OPTIONAL] For archive
database. -J [OPTIONAL] For deploying with external jar files. Must be the total path to the directory containing
jar-files. These external files will be placed on every machine, and they have to manually be put into the
classpath, where they should be used.public static void initEvaluate(String evaluateArgument, String encoding)
evaluateArgument
- The argument for evaluation.encoding
- the encoding to use to read from the input filepublic static void initArchiveDatabase(String arcDbFileName)
arcDbFileName
- The path to the archive database.public static void initJarFolder(String folderName)
folderName
- The path to the folder. Global path.public static void initBundlerZip(Optional<String> defaultBundlerZipName)
defaultBundlerZipName
- The path to the default bundler zip file to use.Copyright © 2005–2015 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.