Ok I committed my changes to the spring plugin, jira ticket: https://issues.apache.org/struts/browse/WW-3183 docs: http://cwiki.apache.org/confluence/display/WW/Spring+Plugin
here is what you need to do to enable this: * Set "struts.devMode" to "true" * Set "struts.class.reloading.watchList" to a comma separated list of directories, or jar files (absolute paths) * Add this to web.xml: <context-param> <param-name>contextClass</param-name> <param-value>org.apache.struts2.spring.ClassReloadingXMLWebApplicationContext</param-value> </context-param> * Add Apache Commons JCI FAM to the classpath. If you are using maven, add this to pom.xml: <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-jci-fam</artifactId> <version>1.0</version> </dependency> I have to say that I love being able to just recompile my changes and not having to reload the container (yes, yes I know about javarebel). musachy On Sun, Jul 12, 2009 at 12:10 AM, Musachy Barroso<musa...@gmail.com> wrote: > actually this is easier said than done, I will need some creative way > to let my spring class (which extends XmlWebApplicationContext) if we > are in devMode or not. Any ideas? > > musachy > > On Sat, Jul 11, 2009 at 7:25 PM, Musachy Barroso<musa...@gmail.com> wrote: >> On Sat, Jul 11, 2009 at 7:16 PM, Dale Newfield<d...@newfield.org> wrote: >>> That seems great, but something that should only kick in if devMode is true. >>> Is that possible? >> >> yeah, I kinda forgot that part :) >> >> musachy >> >> -- >> "Hey you! Would you help me to carry the stone?" Pink Floyd >> > > > > -- > "Hey you! Would you help me to carry the stone?" Pink Floyd > -- "Hey you! Would you help me to carry the stone?" Pink Floyd --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@struts.apache.org For additional commands, e-mail: dev-h...@struts.apache.org