You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fx-dev@ws.apache.org by "Guy Rixon (JIRA)" <fx...@ws.apache.org> on 2005/03/16 08:33:21 UTC

[jira] Created: (WSFX-47) Maven build misses out properties files for resource bundles

Maven build misses out properties files for resource bundles
------------------------------------------------------------

         Key: WSFX-47
         URL: http://issues.apache.org/jira/browse/WSFX-47
     Project: WSFX
        Type: Bug
  Components: WSS4J  
 Environment: Maven 1.0.2 on Windows XP
    Reporter: Guy Rixon


If I run tests with wss4j-1.0.jar built with Maven I get failures to load resource bundles.

In your Maven project.xml you have 

    <resources>
      <resource>
        <directory>src</directory>
        <includes>
          <include>*.properties</include>
        </includes>
      </resource>
    </resources>

This puts into the jar only those properties files at the first level of the source tree. It misses out the properties files further down the directory hierarchy so it doesn't get the properties that make the resource bundles.

You need to change *.properties to **/*.properties .

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


[jira] Resolved: (WSFX-47) Maven build misses out properties files for resource bundles

Posted by "Davanum Srinivas (JIRA)" <fx...@ws.apache.org>.
     [ http://issues.apache.org/jira/browse/WSFX-47?page=all ]
     
Davanum Srinivas resolved WSFX-47:
----------------------------------

    Resolution: Fixed

fixed. thanks.

-- dims

> Maven build misses out properties files for resource bundles
> ------------------------------------------------------------
>
>          Key: WSFX-47
>          URL: http://issues.apache.org/jira/browse/WSFX-47
>      Project: WSFX
>         Type: Bug
>   Components: WSS4J
>  Environment: Maven 1.0.2 on Windows XP
>     Reporter: Guy Rixon

>
> If I run tests with wss4j-1.0.jar built with Maven I get failures to load resource bundles.
> In your Maven project.xml you have 
>     <resources>
>       <resource>
>         <directory>src</directory>
>         <includes>
>           <include>*.properties</include>
>         </includes>
>       </resource>
>     </resources>
> This puts into the jar only those properties files at the first level of the source tree. It misses out the properties files further down the directory hierarchy so it doesn't get the properties that make the resource bundles.
> You need to change *.properties to **/*.properties .

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira