6 Replies Latest reply on Jun 29, 2012 9:01 AM by invincible_virus

    Including a resource bundle not called messages*

    dam

      I would like to have a resource bundle with another name than messages*, for instance constants.properties. How do I do this?


      What I tried without success


      Added the following to components.xml 


      <core:resource-loader>
              <core:bundle-names>
                  <value>constants</value>
              </core:bundle-names>
      </core:resource-loader>
      



      And in the build.xml created by seam-gen, the two places where it said


      <include name="messages*.properties"/>



      I added


      <include name="constants.properties"/>



      And created a constants.properties in the resource directory


      /Dam