Rebuild Manakin (Manakin)
From DSpace Wiki
(Redirected from Rebuild Manakin)
[edit] Directories:
- [dspace-source]
- [manakin-source]
- [Tomcat]/webapps/ (Mac OS X Server: /library/jboss/3.2/deploy)
- Note: JBOSS comes pre-installed with Mac OS X server. However, for both sever and desktop editions Tomcat may be used as with other platforms.
[edit] Quick Restart (Just restarts the web server after configuration changes)
- Stop Tomcat(WARNING: this will bring down the website)
- (Linux / OS X / Solaris) [Tomcat]/bin/shutdown.sh
- (Mac OS X Server) Use Server Admin to stop Tomcat (“Application Server”)
- (Windows) Use Tomcat Service Monitor (in Notification Area) to stop Tomcat
- Start Tomcat
- (Linux / OS X / Solaris) [Tomcat]/bin/startup.sh
- (Mac OS X Server) Use Server Admin to start Tomcat (“Application Server”)
- (Windows) Use Tomcat Service Monitor (in Notification Area) to start Tomcat
[edit] Quick Build: (Quick build after smaller changes)
- Log on to the server DSpace / Manakin is running on (e.g. ssh). Make sure to login as the user who initially installed DSpace / Manakin!
- Open a command prompt (if you don’t have one already), and
cd[manakin-source] -
ant -Ddspace=[manakin-source]build_wars(recompiles all Manakin code and builds a new .war file) -
cp build/*.war[Tomcat]/webapps/- (Mac OS X Server)
cp build/*.war /library/jboss/3.2/deploy
- (Mac OS X Server)
- Test changes in DSpace / Manakin
- Log on to the server DSpace / Manakin is running on (e.g. ssh). Make sure to login as the user who initially installed DSpace / Manakin!
- Open a command prompt (if you don’t have one already), and #*
cd[manakin-source]-
ant clean(removes old compiled code) -
ant -Ddspace=[dspace-source]build_wars(recompiles all Manakin and builds a new fresh .war file)
-
- Stop Tomcat(WARNING: this will bring down the website)
- (Linux / OS X / Solaris) [Tomcat]/bin/shutdown.sh
- (Mac OS X Server) Use Server Admin to stop Tomcat (“Application Server”)
- (Windows) Use Tomcat Service Monitor (in Notification Area) to stop Tomcat
-
cp build/*.war[Tomcat]/webapps/- (Mac OS X Server)
cp build/*.war /library/jboss/3.2/deploy
- (Mac OS X Server)
- (Optional, but recommended) Completely remove any
manakinordspacedirectories created in [Tomcat]/webapps(/library/jboss/3.2/deployfor Mac OS X Server) - BE CAREFUL…you don’t want to remove the wrong directory!- To force Tomcat to recompile everything, you may also wish to remove any
manakinordspacedirectories created in [Tomcat]/work/Catalina/localhost
- To force Tomcat to recompile everything, you may also wish to remove any
- Start Tomcat
- (Linux / OS X / Solaris) [Tomcat]/bin/startup.sh
- (Mac OS X Server) Use Server Admin to start Tomcat (“Application Server”)
- (Windows) Use Tomcat Service Monitor (in Notification Area) to start Tomcat
- Test your changes in DSpace / Manakin
