cancel
Showing results for 
Search instead for 
Did you mean: 

Installing and Uninstalling AMPs

augustodelucena
Champ on-the-rise
Champ on-the-rise
Hi!

I would like to install a couple of AMPs:

javascript-console
share-site-creators


I tried with apply_amps.sh but it did not work.

Then I executed alfresco-mmt.jar and -forced them to be applied to the Wars although it didn't work.

If I want install one AMP at once then test and ultimately going to to next AMP, what should I do? Delete the WAR files or the only way to do that is by uninstalling one by one with alfresco-mmt.jar??

Thanks.

PS: My apologies if this subjects wasn't supposed to be posted here.

Regards.



2 REPLIES 2

sscbrian
Champ on-the-rise
Champ on-the-rise
I found on Windows that I have to run apply_amps as administrator.  Is it possible root is required for *nix (I presume you're using *nix since you list the .sh)?

For my test environment, I just make copies of the complete WAR files outside of tomcat and label them as "bare", "withxamp", etc.  Then I can swap them in/out of webapps (shutting down tomcat, deleting the expanded code directory, restarting tomcat around it).  I'd be very cautious on a production box, it would be easy to make a mistake and break customizations (or worse, lose data)!

Thanks for you piece of advice/hint.

Regards.