以下是我发给tapestry右键列表的问题。 现在还没有人回复。 不知道这里有没有人是怎么develop T5的呢?
[quote]
Hi,
I develop with WTP and TOMCAT. If I set the tomcat don't auto-reload,
tapestry5 can take the changes of html template, while it can't take the
chages of page class. It make the hot code replace failed. However, If I
enable tomcat auto-reload. tapestry can take both html template and page
class changes. But, it will cause tomcat reload the context. It's very slow,
and after some times, it will cause tomcat out of memory. I know using Jetty
servlet container will be fine. But I like developing with eclipse WTP.
So I like the way of T3, T4, just add a java system property.
-Dorg.apache.tapestry.disable-caching=true. It would be fine. just a bit
slow while reload the page.[/quote]
[quote]
Hi,
I develop with WTP and TOMCAT. If I set the tomcat don't auto-reload,
tapestry5 can take the changes of html template, while it can't take the
chages of page class. It make the hot code replace failed. However, If I
enable tomcat auto-reload. tapestry can take both html template and page
class changes. But, it will cause tomcat reload the context. It's very slow,
and after some times, it will cause tomcat out of memory. I know using Jetty
servlet container will be fine. But I like developing with eclipse WTP.
So I like the way of T3, T4, just add a java system property.
-Dorg.apache.tapestry.disable-caching=true. It would be fine. just a bit
slow while reload the page.[/quote]
作者使用WTP和Tomcat进行开发时遇到Tapestry5热更新问题。当禁用Tomcat自动重启功能时,Tapestry5能识别HTML模板更改但无法识别页面类的更改,导致热代码替换失败。若启用Tomcat自动重启,则虽能解决此问题但会带来性能上的损耗。
188

被折叠的 条评论
为什么被折叠?



