cancel
Showing results for 
Search instead for 
Did you mean: 

Alfresco Directory Structure

joelrobinson
Champ in-the-making
Champ in-the-making
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
3 REPLIES 3

mrogers
Star Contributor
Star Contributor
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.

joelrobinson
Champ in-the-making
Champ in-the-making
thanks for the reply mrogers. Do custom models need to go under the alfresco repository or under shared folder? What is best practice?

mitpatoliya
Star Collaborator
Star Collaborator
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.