updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / alfresco-community-base / apply_amps.sh
blob7eb6135e0d1c7030d9782890911545411887fe50
1 #!/bin/sh
2 # -------
3 # Script for apply AMPs to installed WAR
4 # -------
5 export ALF_HOME=/usr/share/webapps/alfresco
6 mmtjar=/usr/share/java/alfresco/alfresco-mmt.jar
7 echo "This script will apply all the AMPs in amps and amps-share to the alfresco.war and share.war files in $ALF_HOME"
8 echo "Press control-c to stop this script . . ."
9 echo "Press any other key to continue . . ."
10 read RESP
11 java -jar $mmtjar install $ALF_HOME/amps $ALF_HOME/alfresco.war -directory
12 java -jar $mmtjar list $ALF_HOME/alfresco.war
13 java -jar $mmtjar install $ALF_HOME/amps_share $ALF_HOME/share.war -directory
14 java -jar $mmtjar list $ALF_HOME/share.war