07-25-2011 01:20 PM
I'm trying to customize Nuxeo by changing some files, but every time I restart my changes are lost.
This happens whenever I try to modify:
conf/
like conf/Catalina/localhost/nuxeo.xml
nxserver/config/
like nxserver/config/default-repository-config.xml
nxserver/nuxeo.war/
like nxserver/nuxeo.war/login.jsp
or any xhtml
fileWhy is that? What should I do?
07-27-2011 11:08 AM
About
Nuxeo is using configuration templates (see https://doc.nuxeo.com/x/0AB9). Those templates are deployed at server startup (unless you set nuxeo.force.generation=false in nuxeo.conf) and so, are overwriting your files.
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".
About
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 https://doc.nuxeo.com/x/kwBu).
07-27-2011 11:08 AM
About
Nuxeo is using configuration templates (see https://doc.nuxeo.com/x/0AB9). Those templates are deployed at server startup (unless you set nuxeo.force.generation=false in nuxeo.conf) and so, are overwriting your files.
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".
About
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 https://doc.nuxeo.com/x/kwBu).
Find what you came for
We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.