Class BuildCompleteSettings


  • public final class BuildCompleteSettings
    extends java.lang.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 java.lang.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​(java.lang.String completeSettingsPath)  
      static void main​(java.lang.String[] args)
      Run the program.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • main

        public static void main​(java.lang.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:
        java.io.IOException - For input/output errors.
      • buildCompleteSettings

        public static void buildCompleteSettings​(java.lang.String completeSettingsPath)