cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco module package

victorba
Champ in-the-making
Champ in-the-making
Hello,

I'm developing an AMP, and I want to add a new model. This is, I want to add a new file to tomcat/shared/classes/alfresco/extension and modify custom-model-context.xml file. Is this possible with and Alfresco module package?
My application connects to Alfresco via JCR RMI Extension. I'm trying to configure this connection with the AMP I'm developing, any of you have made this? Do you have useful information to do it?

Thanks!!
1 REPLY 1

abarisone
Star Contributor
Star Contributor
Hi,
here you can find more info about AMPs
https://wiki.alfresco.com/wiki/AMP_Files
http://docs.alfresco.com/4.0/index.jsp?topic=%2Fcom.alfresco.enterprise.doc%2Ftasks%2Famp-install.ht...

In my experience I used to build up a Maven assembly and install it using MMT on a fresh alfresco.war installation.
This approach allows you to clearly separate your custom code from original installation and it makes easier the upgrade of your system to newer version of Alfresco.

Your model file should go under something about config/alfresco/module/<module_name>/model/yourModel.xml

Regards,
Andrea