Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Add the opencds-common.jar to the Guvnor war.
    1. for a Unix-based system (easily adapted to Windows Console or PowerShell):

      Code Block
      languagebash
      mkdir WEB-INF/lib/
      mv opencds-common.jar WEB-INF/lib 
      jar -uvf <guvnor.war> WEB-INF/lib/opencds-common.jar
    2. For Windows Use a tool such as Windows Explorer or others:
      1. change the name of the archive from .war to .zip
      2. open the newly created zip file
      3. add opencds-common.jar to the WEB-INF/lib/ folder in the archive
      4. navigate out of the zip file archive
      5. on the Command Prompt or PowerShell, rename the file from opencds-common.zip to opencds-common.war
        1. Windows Explorer doesn't seem to easily allow renaming extensions (a Windows expert might know differently)
      6. Windows expert says:
        1. click on the file name in windows explorer, and wait a moment.  It will usually highlight the the name minus the extension after a second or two.
        2. then do either of the following:
          1. Use the mouse to double-click on the extension alone which will highlight it and you can then retype it as "war", or
          2. Use keyboard navigation keys together with judicious use of the shift key to highlight the extension and retype it to "war"
  2. Once the war has been updated, the service must be redeployed.  See your container documentation for deploying/redeploying war files.
    1. E.g., for Tomcat this is simply deleting the war and the exploded folder of the same name in the webapps folder, then copying the newly updated archive into the webapps folder.

...