[GeoNetwork-users] getting started with configuration override

To get started with configuration override i tried to rename a tab in the strings.xml file.

So i edited the content of the "config-overrides.xml" file in the WEB-INF folder.
The content of the "config-overrides.xml" file is now:

<overrides>
     <file name=".*loc/ger/xml/strings.xml">
         <replaceText xpath="//porCatInfoTab">Test</replaceText>
     </file>
</overrides>

No changes appeared..

Hi,

First guess, you forgot a slash :

  <file name=".*/loc/ger/xml/strings.xml">

should be better, I believe.
Cheers,

Jean

Le 04/07/2014 12:24, Jochen Lenz a écrit :

To get started with configuration override i tried to rename a tab in
the strings.xml file.

So i edited the content of the "config-overrides.xml" file in the
WEB-INF folder.
The content of the "config-overrides.xml" file is now:

<overrides>
      <file name=".*loc/ger/xml/strings.xml">
          <replaceText xpath="//porCatInfoTab">Test</replaceText>
      </file>
</overrides>

No changes appeared..

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

I added the slash.
Stil not working.

Am 04.07.2014 15:44, schrieb Jean Pommier:

Hi,

First guess, you forgot a slash :

   <file name=".*/loc/ger/xml/strings.xml">

should be better, I believe.
Cheers,

Jean

Le 04/07/2014 12:24, Jochen Lenz a écrit :

To get started with configuration override i tried to rename a tab in
the strings.xml file.

So i edited the content of the "config-overrides.xml" file in the
WEB-INF folder.
The content of the "config-overrides.xml" file is now:

<overrides>
       <file name=".*loc/ger/xml/strings.xml">
           <replaceText xpath="//porCatInfoTab">Test</replaceText>
       </file>
</overrides>

No changes appeared..

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork

------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
GeoNetwork-users mailing list
GeoNetwork-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geonetwork-users
GeoNetwork OpenSource is maintained at http://sourceforge.net/projects/geonetwork