correct but thats default and no problem because the properties are in ApplicatioNResources.properties.

some how it works now again. i did a mvn clean jetty:run-war (alwyas a good idea) and now it is getting translated.
strange...

i think it has to do with the filter part i introduced to get user specific database settings.

i will investigate.

thanks mike and others,

tibi

Michael Horwitz wrote:
I notice you have excluded ApplicationResources_nl.properties in the resources section in your pom. This will prevent the file being filtered, and the properties will not be replaced. Mike.

On 4/11/07, *tibi* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> wrote:

    hi,

    some how i broke the translation of Version ${pom.version} and
    ${copyright.year} in mij applicationResources*.properties file.
    i still have the properties in my pom.xml file.
    and my ApplicationResources.properties has:
    webapp.version=Version ${pom.version}
    copyright.year=${copyright.year}


    but somehow it does not get resolved.
    in my pom.xml:

           <resources>
               <resource>
                   <directory>src/main/resources</directory>
                   <excludes>
<exclude>ApplicationResources_nl.properties</exclude>
                   </excludes>
                   <filtering>true</filtering>
               </resource>
           </resources>


    i have removed all ApplicationResources apart from teh default
    (en) the
    _en and _nl. i only need dutch and english.

    what could have broken it?

    thanks,

    tibi

    ---------------------------------------------------------------------
    To unsubscribe, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>
    For additional commands, e-mail: [EMAIL PROTECTED]
    <mailto:[EMAIL PROTECTED]>



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to