<?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: How to deploy customizations in a nuxeo instance? in Nuxeo Forum</title>
    <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-deploy-customizations-in-a-nuxeo-instance/m-p/327079#M14080</link>
    <description>&lt;P&gt;Yes you need a deployment-fragment.xml in the OSGI-INF folder. It will need to be modified to meet your requirements. For example, if you have no messages.properties to append/override then remove those lines. Best to look at the Nuxeo sources for examples of what can go in the deployment fragment.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
    
    &amp;lt;fragment version="1"&amp;gt;
    	&amp;lt;require&amp;gt;all&amp;lt;/require&amp;gt;
    	&amp;lt;install&amp;gt;
    		&amp;lt;delete path="${bundle.fileName}.tmp" /&amp;gt;
    		&amp;lt;unzip from="${bundle.fileName}" to="${bundle.fileName}.tmp" /&amp;gt;
    		&amp;lt;copy from="${bundle.fileName}.tmp/web/nuxeo.war" to="/" /&amp;gt;
    
    		&amp;lt;append from="${bundle.fileName}.tmp/OSGI-INF/l10n/messages.properties" to="nuxeo.war/WEB-INF/classes/messages.properties"
    			addNewLine="true" /&amp;gt;
    		&amp;lt;append from="${bundle.fileName}.tmp/OSGI-INF/l10n/messages_en.properties" 
to="nuxeo.war/WEB-INF/classes/messages_en.properties"
    			addNewLine="true" /&amp;gt;
    
    		&amp;lt;delete path="${bundle.fileName}.tmp" /&amp;gt;
    	&amp;lt;/install&amp;gt;
    &amp;lt;/fragment&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Sun, 12 Aug 2012 13:31:50 GMT</pubDate>
    <dc:creator>bruce_Grant</dc:creator>
    <dc:date>2012-08-12T13:31:50Z</dc:date>
    <item>
      <title>How to deploy customizations in a nuxeo instance?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-deploy-customizations-in-a-nuxeo-instance/m-p/327078#M14079</link>
      <description>&lt;P&gt;Hi,
I created some bundles in Nuxeo IDE to extend nuxeo features. I created them as Nuxeo Plugin Projects. In one of these bundles I made some customizations to the login screen. I did it like it was mentioned in some of the tutorials or forum threads:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;I copied the login.jsp to &lt;MYBUNDLE&gt;/src/main/resources/nuxeo.war/login.jsp&lt;/MYBUNDLE&gt;&lt;/LI&gt;
&lt;LI&gt;I modified the login.jsp according to my needs.
If I start the server out of Nuxeo IDE together with my bundles, everything is working properly. But now I tried to run my bundles in a separate nuxeo installation. To do that I exported my plugins out of the IDE by triggering "Nuxeo&amp;gt;Export JAR" from the context menu of my project. Then i copied the exported jars to &lt;NUXEO-TOMCAT-INSTALLATION&gt;/nxserver/bundles.&lt;/NUXEO-TOMCAT-INSTALLATION&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;My other bundles are working propertly in the new nuxeo instance. But I think that my customizations are somehow overwritten by the defaults at server startup.
What do I have to do to make my customizations override the defaults?
The bundles created in NuxeoIDE do not contain a deployment-fragment.xml, is this the problem? If it is, what must be the content of that file?&lt;/P&gt;
&lt;P&gt;Thanks,
Dirk&lt;/P&gt;</description>
      <pubDate>Sun, 12 Aug 2012 11:18:38 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-deploy-customizations-in-a-nuxeo-instance/m-p/327078#M14079</guid>
      <dc:creator>Dirk_Wenke</dc:creator>
      <dc:date>2012-08-12T11:18:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy customizations in a nuxeo instance?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-deploy-customizations-in-a-nuxeo-instance/m-p/327079#M14080</link>
      <description>&lt;P&gt;Yes you need a deployment-fragment.xml in the OSGI-INF folder. It will need to be modified to meet your requirements. For example, if you have no messages.properties to append/override then remove those lines. Best to look at the Nuxeo sources for examples of what can go in the deployment fragment.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;    &amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;
    
    &amp;lt;fragment version="1"&amp;gt;
    	&amp;lt;require&amp;gt;all&amp;lt;/require&amp;gt;
    	&amp;lt;install&amp;gt;
    		&amp;lt;delete path="${bundle.fileName}.tmp" /&amp;gt;
    		&amp;lt;unzip from="${bundle.fileName}" to="${bundle.fileName}.tmp" /&amp;gt;
    		&amp;lt;copy from="${bundle.fileName}.tmp/web/nuxeo.war" to="/" /&amp;gt;
    
    		&amp;lt;append from="${bundle.fileName}.tmp/OSGI-INF/l10n/messages.properties" to="nuxeo.war/WEB-INF/classes/messages.properties"
    			addNewLine="true" /&amp;gt;
    		&amp;lt;append from="${bundle.fileName}.tmp/OSGI-INF/l10n/messages_en.properties" 
to="nuxeo.war/WEB-INF/classes/messages_en.properties"
    			addNewLine="true" /&amp;gt;
    
    		&amp;lt;delete path="${bundle.fileName}.tmp" /&amp;gt;
    	&amp;lt;/install&amp;gt;
    &amp;lt;/fragment&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Sun, 12 Aug 2012 13:31:50 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-deploy-customizations-in-a-nuxeo-instance/m-p/327079#M14080</guid>
      <dc:creator>bruce_Grant</dc:creator>
      <dc:date>2012-08-12T13:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to deploy customizations in a nuxeo instance?</title>
      <link>https://connect.hyland.com/t5/nuxeo-forum/how-to-deploy-customizations-in-a-nuxeo-instance/m-p/327080#M14081</link>
      <description>&lt;P&gt;Thanks bruce, that worked!&lt;/P&gt;</description>
      <pubDate>Mon, 13 Aug 2012 16:44:24 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/nuxeo-forum/how-to-deploy-customizations-in-a-nuxeo-instance/m-p/327080#M14081</guid>
      <dc:creator>Dirk_Wenke</dc:creator>
      <dc:date>2012-08-13T16:44:24Z</dc:date>
    </item>
  </channel>
</rss>

