All Versions
- DSpace 7.x (Current Release)
- DSpace 8.x (Unreleased)
- DSpace 6.x (EOL)
- DSpace 5.x (EOL)
- More Versions...
...
The JSPs are available in one of two places:
Wiki Markup |
---|
_\[DSDOCDEV:dspace-source\]/dspace-jspui/dspace-jspui-webapp/src/main/webapp/_ \- Only exists if you downloaded the full Source Release of DSpace |
Wiki Markup |
---|
_\[DSDOCDEV:dspace-source\]/dspace/target/dspace-\[DSDOCDEV:version\].dir/webapps/dspace-jspui-webapp/_ \- The location where they are copied after first building DSpace. |
Wiki Markup |
---|
If you wish to modify a particular JSP, place your edited version in the *_\[DSDOCDEV:dspace-source\]/dspace/modules/jspui/src/main/webapp/_* directory (_this is the replacement for the pre-1.5 /jsp/local directory_), with the same path as the original. If they exist, these will be used in preference to the default JSPs. For example: |
DSpace default | Locally-modified version | ||
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="e1dfb62a2070adf2-43beeaa6-46004e9b-875cb4c3-67e84e13c06f6b1fc8ac1e4a"><ac:plain-text-body><![CDATA[ | [DSDOCDEV:jsp.dir]/community-list.jsp | [DSDOCDEV:jsp.custom-dir]/dspace/modules/jspui/src/main/webapp/community-list.jsp | ]]></ac:plain-text-body></ac:structured-macro> |
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a708bf69ea642c5d-9ab89958-41ac4613-b8f1980b-35b017d652cdb4db406d1f7c"><ac:plain-text-body><![CDATA[ | [DSDOCDEV:jsp.dir]/mydspace/main.jsp | [DSDOCDEV:jsp.custom-dir]/dspace/modules/jspui/src/main/webapp/mydspace/main.jsp | ]]></ac:plain-text-body></ac:structured-macro> |
Wiki Markup |
---|
Heavy use is made of a style sheet, _styles.css_. If you make edits, copy the local version to _\[DSDOCDEV:jsp.custom-dir\]/dspace/modules/jspui/src/main/webapp/styles.css_, and it will be used automatically in preference to the default, as described above. |
...
Wiki Markup |
---|
The 'layout' of each page, that is, the top and bottom banners and the navigation bar, are determined by the JSPs _/layout/header\-\*.jsp_ and _/layout/footer\-\*.jsp_. You can provide modified versions of these (in _\[DSDOCDEV:jsp.custom-dir\]/dspace/modules/jspui/src/main/webapp/layout_), or define more styles and apply them to pages by using the "style" attribute of the _dspace:layout_ tag. |
Wiki Markup |
---|
Rebuild the DSpace installation package by running the following command from your _\[DSDOCDEV:dspace-source\]/dspace/_ directory: |
Code Block |
---|
mvn package |
Wiki Markup |
---|
Update all DSpace webapps to _\[DSDOCDEV:dspace\]/webapps_ by running the following command from your _\[DSDOCDEV:dspace-source\]/dspace/target/dspace-\[DSDOCDEV:version\]-build.dir_ directory: |
Code Block |
---|
ant -Dconfig=[dspace]/config/dspace.cfg update |
Code Block |
---|
cp -R /[dspace]/webapps/* /[tomcat]/webapps |