0

我正在尝试将 Jrebel 与 IntelliJ 10 一起使用。我正在处理 Spring Roo 生成的使用磁贴的项目。我的类路径中有多个views.xml。

我想知道的是 JRebel 是否会接受对views.xml 的更改。到目前为止,我似乎无法做到。

4

2 回答 2

0

只需向 JRebel 论坛报告 - 它将被注册为功能请求

于 2011-05-08T18:58:12.963 回答
0

如果您使用的是 spring roo 生成的项目,那么它至少使用 tile 2.2.1。在这种情况下,您不需要 Jrebel 来执行此操作,因为 Tiles 可以直接执行此操作,只需在 spring 的 TilesConfigurer bean上将 useMutableTilesContainercheckRefresh属性设置为 true

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

这里有详细解释:http: //lalyos.github.com/blog/2012/08/29/tiles-reload-definitions-in-springmvc/

于 2012-08-29T17:47:11.273 回答