Page History
...
- A new release will be tagged in the github project https://github.com/ncievs/nci-protege.git
- Clone the new release into your local environmentbuild directory.
- The clone will create a directory "nci-protege5". Enter into the scripts subdirectory "cd nci-protege5/scripts/"
- Run the build script, passing in the version number "./build.sh versionTag ncievs >> build.log".
- Review the output for errors or build failures: "cat build.log | grep FAILURE"
- 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
- Navigate to the running instance of protege, likely in
- Shutdown the protege server and explanation server (See below)
- Navigate to /local/content/protege/scripts/
- Move the protegeserver directory to a backup and create an empty folder in its place
- "mv protegeserver protegeserver-bak"
- "mkdir protegeserver"
- Shutdown the explanation server: “./pellet server --config /local/content/protege/protegedata/configdata/server.properties stop"
- Shutdown the protege server: "./shutdown.sh"
- Archive the previous version of the services, which are these 3 directories:Repeat the backup step for explanationserver and
- explanationserver
- protegeserver
- protegedesktop
- 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/"
- 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"
- 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
- Remove previously compiled reasonings from the protegedata/pelletdata folder "rm -rf /local/content/protege/protegedata/pelletdata/*"
...