Beta
Nuxeo Answers
ask a question

Hi, For a school project we had to extend Nuxeo with a simple feature. Therefore I needed to modify the layouts/layout_default_template.xhtml. I bundled my changes, started my local instance of Nuxeo from Eclipse and voila, it works perfectly.

Now I wanted to transfer my jar to a remote server we have to use for this project. So I took my jar, scp-ed it to the server, saved it in the nxserver/plugins folder and rebooted. Now Nuxeo shows the plugin available in http://<domain>/nuxeo/sites but the changes to my template do not show. I checked the generated war archive and layout_default_template.xhtml was not overwritten properly.

I did everything as described here: http://dev.blogs.nuxeo.com/2012/03/qa-friday-change-nuxeo-platform-footer-links-studio.html and used the same deployment descriptor.

Any idea where i might have gone wrong?

Thanks, Simon

You can try to check if this is a deployment ordering issue, adding "<require>org.nuxeo.ecm.webapp.base</require>" to you deployment-fragment.xml file as this is the Nuxeo bundle holding the original file.

link
answered Jul 04 '12 at 14:23 Anahide Tchertchian ♦ 2.3k314 Anahide%20Tchertchian's gravatar image
edited Jul 04 '12 at 14:23

Thanks a lot, that seems to have done the trick!

(Jul 04 '12 at 14:48) simon
Your answer
toggle preview

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×482
×10

Asked: Jul 04 '12 at 12:47

Seen: 379 times

Last updated: Jul 04 '12 at 15:09