Difference between revisions of "SUNScholar/Rebuild DSpace"

From Libopedia
Jump to navigation Jump to search
m
 
(24 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
</center>
 
</center>
  
==Rationale==
+
==Introduction==
To apply customisations, DSpace needs to rebuild the Java WAR's for re-deployment by the Tomcat webapp server.
+
To apply customisations, DSpace usually needs to be rebuilt, to update the Java WAR's for re-deployment by the Tomcat webapp server.
  
This wiki page helps you to build a customised rebuild script that you can use later any time you need it.
+
This wiki page helps you to create a customised rebuild script that you can use later any time you need it.
  
Also see:
+
Also see: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Customisation
http://wiki.lib.sun.ac.za/index.php/SUNScholar/Customisation
 
  
 
==Requirements==
 
==Requirements==
 
<font color="red">'''[[SUNScholar/Install_DSpace/S03#Step_3.2|Click here]] to setup the "source" folder first.'''</font>
 
<font color="red">'''[[SUNScholar/Install_DSpace/S03#Step_3.2|Click here]] to setup the "source" folder first.'''</font>
 
+
==Instructions==
==[[SUNScholar/Rebuild_DSpace/4X|For DSpace Versions <=4.X]]==
+
===[[SUNScholar/Rebuild_DSpace/5X|For DSpace Versions =>5.X]]===
 +
===[[SUNScholar/Rebuild_DSpace/4X|For DSpace Versions <=4.X]]===
  
 
==Tips==
 
==Tips==
Line 26: Line 26:
 
===General references===
 
===General references===
 
*https://github.com/DSpace/demo.dspace.org/blob/master/scripts/linux/reset-dspace-content
 
*https://github.com/DSpace/demo.dspace.org/blob/master/scripts/linux/reset-dspace-content
*https://wiki.duraspace.org/display/DSDOC4x/Rebuild+DSpace
 
*https://wiki.duraspace.org/display/DSDOC4x/Advanced+Customisation#AdvancedCustomisation-DSpaceSourceRelease
 
 
*https://wiki.duraspace.org/display/DSDOC3x/Rebuild+DSpace
 
*https://wiki.duraspace.org/display/DSDOC3x/Rebuild+DSpace
*https://wiki.duraspace.org/display/DSDOC3x/Advanced+Customisation
 
*https://wiki.duraspace.org/display/DSDOC3x/Advanced+Customisation#AdvancedCustomisation-DSpaceSourceRelease
 
*https://wiki.duraspace.org/display/DSDOC18/Advanced+Customisation
 
*https://wiki.duraspace.org/display/DSDOC18/Advanced+Customisation#AdvancedCustomisation-DSpaceSourceRelease
 
*https://wiki.duraspace.org/display/DSPACE/TechnicalFaq#TechnicalFaq-ClearingCocoon(XMLUI)cache
 
 
*https://wiki.duraspace.org/display/DSPACE/Rebuild+DSpace
 
*https://wiki.duraspace.org/display/DSPACE/Rebuild+DSpace
  
==Other Scripts==
+
{{Tomcat7}}
===[[SUNScholar/Indexes/Rebuild|Rebuild Indexes]]===
 
Click on the heading above.
 
  
===[[SUNScholar/Restart_DSpace|Restart DSpace]]===
+
[[Category:System Administration]]
Click on the heading above.
+
[[Category:Customisation]]
 +
[[Category:Installation]]
 +
__NOTOC__

Latest revision as of 23:57, 9 June 2016

Back to After Installation Tasks

Introduction

To apply customisations, DSpace usually needs to be rebuilt, to update the Java WAR's for re-deployment by the Tomcat webapp server.

This wiki page helps you to create a customised rebuild script that you can use later any time you need it.

Also see: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Customisation

Requirements

Click here to setup the "source" folder first.

Instructions

For DSpace Versions =>5.X

For DSpace Versions <=4.X

Tips

The output of the build and compile process can be sent to a log file on Linux systems. Simply append "> compile.log" or "> update.log" to the command line instruction.

References

"ant" target references

General references

When using the Ubuntu 16.04 LTS server change all instances of tomcat to tomcat8.
When using the Ubuntu 14.04 LTS server change all instances of tomcat to tomcat7.
When using the Ubuntu 12.04 LTS server change all instances of tomcat to tomcat6.