Contents |
The following directions are for DSpace 1.5.x and above! |
{{\[dspace\]}} \- The DSpace Installation directory |
{{\[dspace-source\]/dspace/}} \- The DSpace Assembly project within the DSpace source code |
{{\[dspace-source\]/dspace/target/dspace-\[version\]-build.dir/}} \- The directory where the DSpace Assembly project builds a new installation package for DSpace. |
{{\[Tomcat\]/webapps/}} (Mac OSX Server: {{/library/jboss/3.2/deploy}}) |
(*Exception – Changes to Messages.properties always requires a rebuild!)
(Linux / OS X / Solaris) {{\[Tomcat\]/bin/shutdown.sh}} |
(Linux / OS X / Solaris) {{\[Tomcat\]/bin/startup.sh}} |
Open a command prompt (if you don't have one already), and {{cd \[dspace-source\]/dspace/}} |
mvn package
(recompiles all DSpace code and rebuilds the DSpace installation package){{cd \[dspace-source\]/dspace/target/dspace-\[version\]-build.dir/}} (move into the _target_ directory where DSpace has been rebuilt) |
ant update
(updates your DSpace install based on the newly built content in your target directory)
Alternatively, if you do not need to reinstall JAR files, you could instead run {{ant update_webapps}} (which just copies over web application changes to your {{\[dspace\]}}) |
If you do not have Tomcat pointing at your {{\[dspace\]/webapps/}} directory, you will also need to copy your final web application(s) into your {{\[Tomcat\]/webapps/}} directory. |
{{cp \-R \[dspace\]/webapps/ \[Tomcat\]/webapps/}} |
cp build/*.war /library/jboss/3.2/deploy
Open a command prompt (if you don't have one already), and {{cd \[dspace-source\]/dspace/}} |
mvn clean package
(removes all old compiled code and recompiles all DSpace code and rebuilds the DSpace installation package){{cd \[dspace-source\]/dspace/target/dspace-\[version\]-build.dir/}} (move into the _target_ directory where DSpace has been rebuilt) |
ant update
(updates your DSpace install based on the newly built content in your target directory)
Alternatively, if you do not need to reinstall JAR files, you could instead run {{ant update_webapps}} (which just copies over web application changes to your {{\[dspace\]}}) |
If you do not have Tomcat pointing at your {{\[dspace\]/webapps/}} directory, you will also need to copy your final web application(s) into your {{\[Tomcat\]/webapps/}} directory. |
{{cp \-R \[dspace\]/webapps/ \[Tomcat\]/webapps/}} |
cp build/*.war /library/jboss/3.2/deploy
To force Tomcat to recompile everything, you may also wish to remove any DSpace related web application directories created in {{\[Tomcat\]/work/Catalina/localhost}} |
(Linux / OS X / Solaris) {{\[Tomcat\]/bin/startup.sh}} |