fts a écrit :
Hello,
I am trying to add a new facelet tag library to my project which allows to draw charts using JFreeChart. To do so i added the following to my deployment-fragment.xml : <extension target="web#CONTEXT-PARAM">
<context-param>
<param-name>facelets.LIBRARIES</param-name>
<param-value>
WEB-INF/chartcreator.taglib.xml;
</param-value>
</context-param>
</extension>
The problem is that another nuxeo project "org.nuxeo.ecm.platform.ui.web" do the same so i end up with a generated web.xml containing 2 "facelets.LIBRARIES" context-param. Because of that the nuxeo.war won't deploy anymore. What can i do without altering the nuxeo projects to have only one facelets.LIBRARIES declaration?

Hi,
I'm not sure what would be the best method to do so, but you can configure your install so that libs are in the nuxeo.war/META-INF directory. They're detected automatically there, so you do not need to change the web.xml file.
You can take example here:
http://svn.nuxeo.org/trac/nuxeo/browser/org.nuxeo.ecm.platform.relations/trunk/web/OSGI-INF/deployment-fragment.xml

Regards,

--
Anahide Tchertchian, Nuxeo
Mail: [EMAIL PROTECTED] - Tel: +33 (0)1 40 33 79 87
http://www.nuxeo.com - http://www.nuxeo.org
_______________________________________________
ECM mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm

Reply via email to