I have a web-app magnolia module with the following jar structure:
+ META-INF
  + magnolia
    + my-module.xml
+ mgnl-bootstrap
  + my-module
    + dms.my-module.xml -> this goes to dms/my-module
    + website.my-module.xml -> this goes to website/my-module
[b]    + config.modules.templating.templates.my-module.xml -> this should go to 
config/modules/templating/templates/my-module.xml (*)[/b]

The problem with (*) is that when the module is installed the file 
config.modules.templating.templates.my-module.xml is not installed under 
config/modules/templating/templates. Does anyone know where I should place the 
file config.modules.templating.templates.my-module.xml such that it would be 
correctly imported when my module is installed?

I'm using Magnolia 3.6.6 (due to legacy software reason).

My module should also include some servlets. Currently Magnolia 3.6.6 isn't 
able to find the my servlets (e.g. com.my_company.MyServlet if I place them 
under <root-jar>/com/my_company/MyServlet.class). It works if I create a 
separate jar and place them under magnolia/WEB-INF/lib alongside my module. 
Where should I place the .class files in my module jar such that it can be 
correctly found by Magnolia?

Thanks in advance,
Alex

-- 
Context is everything: 
http://forum.magnolia-cms.com/forum/thread.html?threadId=a9f38de1-19ea-452e-a9af-619795712ed6


----------------------------------------------------------------
For list details, see http://www.magnolia-cms.com/community/mailing-lists.html
Alternatively, use our forums: http://forum.magnolia-cms.com/
To unsubscribe, E-mail to: <[email protected]>
----------------------------------------------------------------

  • [magnolia-user] Web-app module ... Alexandru Marinescu (via Magnolia Forums)

Reply via email to