cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with Custom Type Layout in Linux

ddelapasse
Champ in-the-making
Champ in-the-making
I've developed my first set of custom types/aspects.  I created everything on my local Windows app and modified files under my tomcat folder.  This worked great so I tried copying them into the parallel (?) structure on Linux.  It worked fine, but Alfresco won't notice my aliases listed in the properties file.  I see examples for creating AMPs and I plan to try that eventually,, but really need to get this demo running first!

Windows layout ————————————————
shared\classes\alfresco\web-extension\share-config-custom.xml
webapps\alfresco\WEB-INF\classes\alfresco\extension\model\nsDemoModel.xml
webapps\alfresco\WEB-INF\classes\alfresco\extension\navsearch-model-context.xml
shared\classes\alfresco\web-extension\messages\nsDemoModel.properties


Linux layout —————————————————-
shared/classes/alfresco/web-extension/share-config-custom.xml
webapps/alfresco/WEB-INF/classes/alfresco/extension/model/nsDemoModel.xml
webapps/alfresco/WEB-INF/classes/alfresco/extension/navsearch-model-context.xml
shared/classes/alfresco/web-extension/messages/nsDemoModel.properties    <—— this one doesn't seem to be noticed!

Is there some reason the layout needs to change on Linux?



1 REPLY 1

muralidharand
Star Contributor
Star Contributor
Hi,
* Where the file is not loaded. Alfresco Repo or Share side?
* Alfresco repository uses the extension folder and Share uses web-extension folder.
* Make sure, you bootstrapped the nsDemoModel.properties file using context file.


<bean id="org_alfresco_module_mytheme_propertyBootstrap" class="org.alfresco.i18n.ResourceBundleBootstrapComponent">
      <property name="resourceBundles">
         <list>
            <value>alfresco.web-extension.messages.nsDemoModel</value>      
         </list>
      </property>
   </bean>


Hope this helps you !