Updating the Codebase

How to update the code that runs a particular Dryad instance.

The Dryad source code is implemented as an overlay to DSpace.

Building a new release involves checking out the dryad-master branch from the Dryad code repository and manually building it:

git clone git@github.com:datadryad/dryad-repo.git cd dryad-repo/dspace git pull sudo mvn clean package -P env-dev cd target/dspace-1.7.3-SNAPSHOT-build.dir/ sudo ant -Doverwrite=true update tomcat-restart.sh

Alternately, you can use Jenkins. For example, on http://dev.datadryad.org, Jenkins is configured to automatically rebuild when there is any change to the dryad-dev branch.

Jenkins should tell you that the build has succeeded. If it fails, it may just be that Tomcat failed to start. Consult the build log, titled "Console Output", also on the upper left side of the Jenkins screen for more details about the build (logs, warnings, exceptions, etc.)