In fact, I've moved the templates to the webapp dir and reloading still does
not work.
So, even with the following Jetty config:
<scanTargetPattern>
<directory>src/main/webapp/WEB-INF</directory>
<excludes>
<exclude>**/*.jsp</exclude>
</excludes>
<includes>
<include>**/*.properties</include>
<include>**/*.xml</include>
<include>**/*.ftl</include>
</includes>
</scanTargetPattern>
The templates are not reloaded arghhhhh!!!
Jonny Cavell wrote:
>
> Hi
>
> I'm using a Struts2 modular project.
>
> I've extended some templates, and put them in the template dir under
> src/main/resources.
>
> I've changed freemarker.properties to have:
> template_update_delay=0
>
> And struts.xml to have:
> <constant name="struts.devMode" value="true"/>
>
> But when running Jetty changes are still not picked up. I need to re-start
> Jetty to enable changes to freemarker templates to be reloaded.
>
> Is it impossible to reload templates from the classpath? Should I move
> them to the webapp directory?
>
> Cheers
>
> Jonny
>
--
View this message in context:
http://www.nabble.com/Cannot-get-freemarker-templates-to-reload-automatically-from-classpath-tp19328639s2369p19328735.html
Sent from the AppFuse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]