开发者

Jrebel, Spring MVC and TIles. Can't get Jrebel to pick up changes to views.xml

I'm trying to 开发者_如何学Gouse Jrebel with IntelliJ 10. I'm working on Spring Roo generated project which uses tiles. There are multiple views.xml in my class path.

What I would like to know is if JRebel will pick up changes to views.xml. So far I can't seem to make it.


Just report it to JRebel forum - it will be registered as a feature request


If you are using spring roo generated project than it uses tiles 2.2.1 at least. in that case you dont need Jrebel to do it as Tiles can do it directly, just set the useMutableTilesContainer and checkRefresh properties to true on spring's TilesConfigurer bean

 <bean class="org.springframework.web.servlet.view.tiles2.TilesConfigurer"
   id="tilesConfigurer" >
<property name="useMutableTilesContainer">true</property>
<property name="checkRefresh">true</property>

it's explained in detail here: http://lalyos.github.com/blog/2012/08/29/tiles-reload-definitions-in-springmvc/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜