At the company I work a previous developer created a custom amp and created a custom content model. The content model was placed in the custom amp. We are using Alfresco 4.1.2 Enterprise on Tomcat 6 on RHEL.
I wish to move the location of the model definition to the tomcat / shared/ classes/alfresco directory.
I understand that if I delete the model or remove the definition I will have problems if I see move the location will I run into those problems?
If I understand correctly then currently you have custom contentModel.xml placed under WEB-INF/classes/alfresco/model. Now, instead of putting it there, you want to place it under tomcat/shared/classes/alfresco/extension. If this is your requirement, then it is okay to move the file to this location. This way you are just separating your custom content model from out-of-the-box alfresco webapp which is a good practice. Just ensure that you also modify the context.xml loading your custom content model to point to the new location. Hope this helps.