<?xml version="1.0" encoding="utf-8"?>
<html>
For sites that have installed the 1.5.1 patch
Instructions
1) Start postgres and create new database (the patch uses the default database settings)
2) Check out 1.5.2 from http://scm.dspace.org/svn/repo/dspace/tags/dspace-1.5.2
3) Apply the DSpace Missing File: Embargo-152.patch.gz file from the base dspace source directory (You'll need to gzip -d the file first). Note: you should apply the patch while in the base source directory. The base source directory contains this:
~dspace-1_5_2$ ls |
Apply the patch like so:
~dspace-1_5_2$ patch -p0 < /path/to/Embargo-152.patch |
4) mvn clean install
5) Make any edits you want to dspace/config/dspace.cfg (such as setting dspace.dir or any database connection settings)
6) cd dspace && mvn package assembly:assembly
7) cd target/dspace-1.5.2-build.dir
8) ant fresh_install
9) apply etc/database_schema-embargo.sql to the db (not yet in the build.xml) (make sure you do this as the user that owns the database)
sudo -u postgres psql -U dspace dspace < etc/database_schema-embargo.sql |
10) create dspace admin user
chmod u+x bin/* |
11) deploy ${dspace.dir}/webapps/xmlui to your tomcat and start
After starting Tomcat and logging into DSpace as an administrator, create a collection. Enable embargoes on the newly created collection (by clicking on the Embargo Settings tab). Then, edit the ${dspace.dir}/config/item-submission.xml file, adding a <name-map> element using the handle of the newly created collection:
To enable embargoes for a collection with handle 123456789/4, edit ${dspace.dir}/config/item-submission.xml and add a <name-map> element: |
You'll have to restart Tomcat for the changes to take effect. Then, log in to DSpace and make a submission to the the collection. You should see "Embargo" as a step in the workflow.
Downloads
Instructions
1) Start postgres and create new database (the patch uses the default database settings)
2) Check out 1.5.1 from https://dspace.svn.sourceforge.net/svnroot/dspace/tags/dspace-1_5_1
3) Apply the DSpace Missing File: Embargo-151.patch.gz file from the base dspace source directory (You'll need to gzip -d the file first). Note: you should apply the patch while in the base source directory. The base source directory contains this:
~dspace-1_5_1$ ls |
Apply the patch like so:
~dspace-1_5_1$ patch -p0 < /path/to/Embargo-151.patch |
4) mvn clean install
5) Make any edits you want to dspace/config/dspace.cfg (such as setting dspace.dir or any database connection settings)
6) cd dspace && mvn package assembly:assembly
7) cd target/dspace-1.5.1-build.dir
8) ant fresh_install
9) apply etc/database_schema-embargo.sql to the db (not yet in the build.xml) (make sure you do this as the user that owns the database)
sudo -u postgres psql -U dspace dspace < etc/database_schema-embargo.sql |
10) create dspace admin user
chmod u+x bin/* |
11) deploy ${dspace.dir}/webapps/xmlui to your tomcat and start
After starting Tomcat and logging into DSpace as an administrator, create a collection. Enable embargoes on the newly created collection (by clicking on the Embargo Settings tab). Then, edit the ${dspace.dir}/config/item-submission.xml file, adding a <name-map> element using the handle of the newly created collection:
To enable embargoes for a collection with handle 123456789/4, edit ${dspace.dir}/config/item-submission.xml and add a <name-map> element: |
You'll have to restart Tomcat for the changes to take effect. Then, log in to DSpace and make a submission to the the collection. You should see "Embargo" as a step in the workflow.
Downloads
Use at your own risk!
Requirements
Instructions
1) Download the Patch and the Overlay into the base DSpace source directory; the directory that has these sub-directories:
. |-- bin |-- config |-- docs |-- etc |-- jsp |-- lib `-- src |
2) Unzip the overlay in this directory. The overlay includes additional jar dependencies needed for embargo support.
3) Unzip the patch file in this directory, and apply the patch by running
patch -p0 < embargo.patch |
4a) If you are testing embargo support on a new installation, run
ant fresh_install |
4b) If you are testing embargo support on an existing installation, run
ant clean setup_database_embargo update init_configs |
(additional properties are added to
config/dspace.cfg |
which configure the embargo plugins)
Downloads
Use at your own risk! This manakin patch is a straight dump from my SVN and is not very clean at all. Good luck
Requirements
Instructions
1) Execute the instructions for DSpace 1.4.2 first.
2) Download the Patch into the base Manakin source directory
3) Unzip the patch file in this directory, and apply the patch by running
patch -p0 < manakin-embargo.patch |
4) Deploy manakin as normal.
Downloads
</html>