cancel
Showing results for 
Search instead for 
Did you mean: 

keep all configuration when i install un AMP module

iamri
Confirmed Champ
Confirmed Champ

Hi,

I want to install a module amp (max-version-policy-0.0.10.amp)) to limit the number of version, but the problem after installation all my customization of alfresco are removed, that is to say, all my modifications are disappearing
please do you have any idea to keep my old modifications and configurations after use (apply_amps.sh) or the MMT module to install an AMP module versioning?
knowing that I am using alfresco 5.2.

thanks.

3 REPLIES 3

krutik_jayswal
Elite Collaborator
Elite Collaborator

When you install amp file using apply_amps.sh script.It is doing following operation.

1. Delete alfresco and share folder from tomcat/webapps

2. Merge code of amps in to alfresco.war and share.war

So if you have made in direct changes inside the alfresco or share folder than those will get delered.What you need to do is created your own amp and then apply it over the war file.

thanks for your replay,

but please can you help be, how can I create an amp to limit the number of version ??

Fro any customization in alfresco you can create maven project and customize it.After all customization you can generate amp/war using that and deploy it in server.Below link will guide you in same.

Getting started with Alfresco SDK 3.0 | Alfresco Documentation