Package dk.netarkivet.deploy
Class BuildCompleteSettings
- java.lang.Object
-
- dk.netarkivet.deploy.BuildCompleteSettings
-
public final class BuildCompleteSettings extends Object
Class for combining the different setting files into a complete settings file. The different settings are listed here:Constants.BUILD_SETTING_FILES
This is used when updating the deploy/deploy-core/src/main/resources/dk/netarkivet/deploy/complete_settings.xml before a new release of Netarchivesuite. From your IDE, run this program (dk.netarkivet.deploy.BuildCompleteSettings) with no arguments. And then copy then output-file 'complete_settings.xml' to deploy/deploy-core/src/main/resources/dk/netarkivet/deploy/complete_settings.xml Finally commit the changes to github.
-
-
Field Summary
Fields Modifier and Type Field Description static String
defaultCompleteSettingsPath
The default path to the output file.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static void
buildCompleteSettings(String completeSettingsPath)
static void
main(String[] args)
Run the program.
-
-
-
Field Detail
-
defaultCompleteSettingsPath
public static final String defaultCompleteSettingsPath
The default path to the output file.- See Also:
- Constant Field Values
-
-
Method Detail
-
main
public static void main(String[] args)
Run the program. This loads and merges all the different settings files into a single outputfile.- Parameters:
args
- Optional argument for name of complete settings file. E.g. /home/myUser/myDir/default_settings.xml, otherwise the default "complete_settings.xml" is used- Throws:
IOException
- For input/output errors.
-
buildCompleteSettings
public static void buildCompleteSettings(String completeSettingsPath)
-
-