NIH | National Cancer Institute | NCI Wiki  

Versions Compared

Key

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

...

  1. A new release will be tagged in the github project https://github.com/ncievs/nci-protege.git
  2. Clone the new release into your local environmentbuild directory.
  3. The clone will create a directory "nci-protege5".   Enter into the scripts subdirectory "cd nci-protege5/scripts/"
  4. Run the build script, passing in the version number "./build.sh versionTag ncievs >> build.log". 
  5. Review the output for errors or build failures: "cat build.log | grep FAILURE"
  6. Check the structure of the build.  The following folders and files should be present under <build-location>/nci-protege5/scripts/nci-protege5
    • metaproject
    • nci-protege_<date>.tar.gz
    • nci-protege_<date>.zip
    • owlapi
    • pellet
    • protege
    • protege-client
    • protege-server
    • run-protege.sh
    • run-server.sh

Installing the build

  1. Navigate to the running instance of protege, likely in
  2. Shutdown the protege server and explanation server (See below)
  3. Navigate to /local/content/protege/scripts/
  4. Move the protegeserver directory to a backup and create an empty folder in its place 
    1. "mv protegeserver protegeserver-bak"
    2. "mkdir protegeserver"
  5. Shutdown the explanation server:  “./pellet server --config /local/content/protege/protegedata/configdata/server.properties stop"
  6. Shutdown the protege server: "./shutdown.sh" 
  7. Archive the previous version of the services, which are these 3 directories:Repeat the backup step for explanationserver and
    • explanationserver
    • protegeserver
    • protegedesktop
  8. Copy the new protegeserver into the empty server service directory "cp -r /local/project/nciedittab-dev-1.00v<build-location>/nci-protege5/scripts/nci-protege5/protege-server/target/server-distribution/server /* .local/content/protege/protegeserver/"
  9. Copy the new protegedesktop into the empty desktop directory "cp -r 

    /local/project/nciedittab-dev-1.00v/nci-protege5/scripts/nci-protege5/protege/protege-desktop/target/protege-5.1.1-SNAPSHOT-platform-independent/Protege-5.1.1-SNAPSHOT/* ./protegedesktop"

  10. Copy the explanationserver tarball to the explanationserver folder "cp /local/project/nciedittab-dev-1.00v/nci-protege5/scripts/nci-protege5/pellet/distribution/target/*.gz ./explanationserver/"  and untar it
  11. Remove previously compiled reasonings from the protegedata/pelletdata folder "rm -rf /local/content/protege/protegedata/pelletdata/*"

...