Hi,

I cannot get auto-reload of .properties files to work with struts 2.2.1.1. 
(with the mail sample app)

Steps to reproduce: 
 - Download Struts 2.2.1.1 : http://struts.apache.org/download.cgi#struts2211
 - Extract
 - cd src/apps/mailreader
 - change pom.xml: <scanIntervalSeconds>0</scanIntervalSeconds>
 - change src/main/java/struts.xml
    <constant name="struts.devMode" value="true" />
    <constant name="struts.i18n.reload" value="true" />
    <constant name="struts.configuration.xml.reload" value="true" />
 - mvn jetty:run
 - load http://localhost:8080/struts2-mailreader/Welcome.do
 - change ./target/classes/mailreader2/MailreaderSupport.properties
   index.heading=MailReader Demonstration Application Options CHANGED 
DYNAMICALLY
 - reload in the browser
 - => the displayed value does not reflect 
./target/classes/mailreader2/MailreaderSupport.properties

=> So, my question is : what did I miss ?

Sami 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@struts.apache.org
For additional commands, e-mail: user-h...@struts.apache.org

Reply via email to