cancel
Showing results for 
Search instead for 
Did you mean: 

Problems with the installation of an AMP module in Linux

agey
Champ in-the-making
Champ in-the-making
Hi all,

I have created an AMP module to extend Alfresco and configure it. The AMP module bootstrap a custom model into the repository using the following Spring configuration added to module-context.xml:


<bean id="extension.dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
        <property name="models">
            <list>
                <value>alfresco/module/org.alfresco.custom/model/customModel.xml</value>
            </list>
        </property>
    </bean>   

This works fine in version 3.0 of Alfresco for Windows but the Linux version doesn´t load the customModel. Can anyone point me how to make the AMP module to work well in the Linux version? Should I add the following configuration to the module-context.xml?

<import resource="classpath:alfresco/module/org.alfresco.custom/custom-model-context.xml" />
custom-model-context.xml:

<bean id="myModule_dictionaryBootstrap" parent="dictionaryModelBootstrap" depends-on="dictionaryBootstrap">
     <property name="models">
        <list>
            <value>alfresco/module/org.alfresco.custom/model/customModel.xml</value>
        </list>
     </property>
  </bean>

Thanks in advance.
2 REPLIES 2

zaizi
Champ in-the-making
Champ in-the-making
Can you check the folder / file names have the same case?

agey
Champ in-the-making
Champ in-the-making
Hi zaizi,

Thank you very much for your reply. The AMP module that I tried to install in Alfresco on Ubuntu is the same that I installed in Alfresco on Windows. In the end, I managed to install it. The problem was that customModel.xml file contained accents.

Once I removed all accents of customModel.xml file, it was loaded fine. Smiley Very Happy