1 Reply Latest reply on Sep 22, 2008 12:11 PM by stephanos

    Re-using messages.properties

    stephanos

      Hi everybody,


      I try to re-use my messages.properties. I have 3 project, one is sort of the parent of the other two (both of which share common messages). Based on the DRY principle, I want to share it.


      I tried


      <core:resource-loader>
         <core:bundle-names>
           <value>global_messages</value>
           <value>com.portal.global_messages</value>
         </core:bundle-names>
       </core:resource-loader>


      in my components.xml (where the properties file is in META-INF and 'com.portal' of the parent JAR).


      Both didn't work out.


      Any ideas?