3 # Script for apply AMPs to installed WAR
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 . . ."
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