<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Customizations lost after restart, why? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/customizations-lost-after-restart-why/m-p/315826#M2827</link>
    <description>&lt;P&gt;About&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;a file in conf/ like conf/Catalina/localhost/nuxeo.xml&lt;/LI&gt;
&lt;LI&gt;a file in nxserver/config/ like nxserver/config/default-repository-config.xml&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Nuxeo is using configuration templates (see &lt;A href="https://doc.nuxeo.com/x/0AB9)" target="test_blank"&gt;https://doc.nuxeo.com/x/0AB9)&lt;/A&gt;.
Those templates are deployed at server startup (unless you set nuxeo.force.generation=false in nuxeo.conf) and so, are overwriting your files.&lt;/P&gt;
&lt;P&gt;If you want to customize them, you have to change their source in $NUXEO_HOME/templates/ (not recommended since those files are part of Nuxeo) or create your own custom template with your modified files (recommended method). Then, make your custom template being deployed by changing nuxeo.templates property in nuxeo.conf.
You can test your configuration with "./bin/nuxeoctl configure".&lt;/P&gt;
&lt;P&gt;About&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;a file in nxserver/nuxeo.war/ like nxserver/nuxeo.war/login.jsp or any xhtml file&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Such resources are deployed by the Nuxeo bundles. For instance, login.jsp is deployed by nuxeo-platform-webapp. In order to overwrite it, you have to create a bundle which will be loaded after nuxeo-platform-webapp and deploy your customized version of login.jsp (see &lt;A href="https://doc.nuxeo.com/x/kwBu)" target="test_blank"&gt;https://doc.nuxeo.com/x/kwBu)&lt;/A&gt;.&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jul 2011 15:08:45 GMT</pubDate>
    <dc:creator>Julien_Carsique</dc:creator>
    <dc:date>2011-07-27T15:08:45Z</dc:date>
    <item>
      <title>Customizations lost after restart, why?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/customizations-lost-after-restart-why/m-p/315825#M2826</link>
      <description>&lt;P&gt;I'm trying to customize Nuxeo by changing some files, but every time I restart my changes are lost.&lt;/P&gt;
&lt;P&gt;This happens whenever I try to modify:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;a file in &lt;CODE&gt;conf/&lt;/CODE&gt; like &lt;CODE&gt;conf/Catalina/localhost/nuxeo.xml&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;a file in &lt;CODE&gt;nxserver/config/&lt;/CODE&gt; like &lt;CODE&gt;nxserver/config/default-repository-config.xml&lt;/CODE&gt;&lt;/LI&gt;
&lt;LI&gt;a file in &lt;CODE&gt;nxserver/nuxeo.war/&lt;/CODE&gt; like &lt;CODE&gt;nxserver/nuxeo.war/login.jsp&lt;/CODE&gt; or any &lt;CODE&gt;xhtml&lt;/CODE&gt; file&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Why is that? What should I do?&lt;/P&gt;</description>
      <pubDate>Mon, 25 Jul 2011 17:20:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/customizations-lost-after-restart-why/m-p/315825#M2826</guid>
      <dc:creator>Florent_Guillau</dc:creator>
      <dc:date>2011-07-25T17:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Customizations lost after restart, why?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/customizations-lost-after-restart-why/m-p/315826#M2827</link>
      <description>&lt;P&gt;About&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;a file in conf/ like conf/Catalina/localhost/nuxeo.xml&lt;/LI&gt;
&lt;LI&gt;a file in nxserver/config/ like nxserver/config/default-repository-config.xml&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Nuxeo is using configuration templates (see &lt;A href="https://doc.nuxeo.com/x/0AB9)" target="test_blank"&gt;https://doc.nuxeo.com/x/0AB9)&lt;/A&gt;.
Those templates are deployed at server startup (unless you set nuxeo.force.generation=false in nuxeo.conf) and so, are overwriting your files.&lt;/P&gt;
&lt;P&gt;If you want to customize them, you have to change their source in $NUXEO_HOME/templates/ (not recommended since those files are part of Nuxeo) or create your own custom template with your modified files (recommended method). Then, make your custom template being deployed by changing nuxeo.templates property in nuxeo.conf.
You can test your configuration with "./bin/nuxeoctl configure".&lt;/P&gt;
&lt;P&gt;About&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;a file in nxserver/nuxeo.war/ like nxserver/nuxeo.war/login.jsp or any xhtml file&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;Such resources are deployed by the Nuxeo bundles. For instance, login.jsp is deployed by nuxeo-platform-webapp. In order to overwrite it, you have to create a bundle which will be loaded after nuxeo-platform-webapp and deploy your customized version of login.jsp (see &lt;A href="https://doc.nuxeo.com/x/kwBu)" target="test_blank"&gt;https://doc.nuxeo.com/x/kwBu)&lt;/A&gt;.&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jul 2011 15:08:45 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/customizations-lost-after-restart-why/m-p/315826#M2827</guid>
      <dc:creator>Julien_Carsique</dc:creator>
      <dc:date>2011-07-27T15:08:45Z</dc:date>
    </item>
  </channel>
</rss>

