|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectdk.netarkivet.deploy.DeployApplication
public final class DeployApplication
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 |
initArchiveDatabase(java.lang.String arcDbFileName)
Checks the argument for the archive database. |
static void |
initEvaluate(java.lang.String evaluateArgument,
java.lang.String encoding)
Checks the arguments for evaluating the config file. |
static void |
initJarFolder(java.lang.String folderName)
Checks the argument for the external jar-folder. |
static void |
main(java.lang.String[] args)
Run deploy. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static void main(java.lang.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(java.lang.String evaluateArgument, java.lang.String encoding)
evaluateArgument
- The argument for evaluation.encoding
- the encoding to use to read from the input filepublic static void initArchiveDatabase(java.lang.String arcDbFileName)
arcDbFileName
- The path to the archive database.public static void initJarFolder(java.lang.String folderName)
folderName
- The path to the folder. Global path.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |