I have been going through the tutorial series found at <a>http://ecmarchitect.com/alfresco-developer-series</a> and I’m slightly confused about the directory structure specifically how it relates to loading the xml config files. For example what is the difference between putting custom models in /$TOMCATHOME/shared/classes/alfresco/extension v.s. /$TOMCATHOME/webapps/alfresco/WEB-INF/classes/alfresco/extension. Or what is the difference between putting a share-config-custom.xml file in /$TOMCATHOME/shared/classes/alfresco/web-extensions or /$TOMCATHOME/webapps/share/WEB-INF/classes/alfresco/web-extension? If someone could explain maybe the difference between the directories /$TOMCATHOME/webapps/share/ /$TOMCATHOME/webapps/alfresco/ and /$TOMCATHOME/share/ even that would be helpful. Thanks
Your Configurations files go into the "shared" folder. You are right that you could put them elsewhere however but if you then have to redeploy or upgrade your files will be removed.
And there are two "webapps", share and alfresco. Share is the share user interface, alfresco is the alfresco repository.
Hi Robinson, As suggested earlier by mrogers Your custom model should go in to shared folder as a best practice because it will prevent your customizations during upgrade or migration.