keep all configuration when i install un AMP module

cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Active Member II

keep all configuration when i install un AMP module

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
Highlighted
Senior Member II

Re: keep all configuration when i install un AMP module

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.

Highlighted
Active Member II

Re: keep all configuration when i install un AMP module

thanks for your replay,

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

Highlighted
Senior Member II

Re: keep all configuration when i install un AMP module

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