Alfresco Directory Structure
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2013 12:36 PM
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
Thanks
Labels:
- Labels:
-
Archive
3 REPLIES 3
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2013 08:11 AM
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.
And there are two "webapps", share and alfresco. Share is the share user interface, alfresco is the alfresco repository.
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2013 03:42 PM
thanks for the reply mrogers. Do custom models need to go under the alfresco repository or under shared folder? What is best practice?
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2013 04:54 AM
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.
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.
