Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Tapestry Wiki" for 
change notification.

The "Tapestry5HowToReadSymbolsFromPropertiesFile" page has been changed by 
DanielCaldeweyher.
The comment on this change is: updated PropertiesFileSymbolProvider code to 
allow for reading properties files under WEB-INF/classes (e.g. copied form 
src/main/resources/).
http://wiki.apache.org/tapestry/Tapestry5HowToReadSymbolsFromPropertiesFile?action=diff&rev1=8&rev2=9

--------------------------------------------------

              
              if (classPath)
              {
+               in = 
this.getClass().getClassLoader().getResourceAsStream(resourceName);
+               if(in == null) {
+                       in = 
ClassLoader.getSystemResourceAsStream(resourceName);
+               }
                  in = ClassLoader.getSystemResourceAsStream(resourceName);
                  
                  // ClassLoader.getSystemResourceAsStream() returns null if

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to