You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by Alexis Tual <a....@fylab.com> on 2005/03/02 15:34:45 UTC

Newbie question: page caching

Hi list!
i'm new to Tapestry and have successfully coded, deployed with a little 
ant script, launched my first webapp.
Unfortunately, i have to redeploy in Tomcat each time i make a 
modification to my java code.
The disable-caching=true stuff seems to work only for template, but not 
for the page specifications & classes...
How can i avoid to redeploy  ?

Thanks,

Alex



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Newbie question: page caching

Posted by Alexis Tual <a....@fylab.com>.
>
> Well, you can always make a small change in the template and then save 
> :), but I guess what you're looking for is a modification of the 
> deployment descriptor:
> <Context path="..." docBase="..." workDir="..." reloadable="true"/>
> The reloadable="true" setting propagates your changes (using 
> javassist, as far as I can tell) almost instantly.
> I guess I should point out that I use eclipse so it might be that the 
> IDE does a lot of this kind of work without my knowledge...which, at 
> least for now, serves me fine. :)
>
Thanks for the tip ! It works fine now :)

Alex



---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org


Re: Newbie question: page caching

Posted by "t.n.a." <tn...@sharanet.org>.
Alexis Tual wrote:

> Hi list!
> i'm new to Tapestry and have successfully coded, deployed with a 
> little ant script, launched my first webapp.
> Unfortunately, i have to redeploy in Tomcat each time i make a 
> modification to my java code.
> The disable-caching=true stuff seems to work only for template, but 
> not for the page specifications & classes...
> How can i avoid to redeploy  ? 

Well, you can always make a small change in the template and then save 
:), but I guess what you're looking for is a modification of the 
deployment descriptor:
<Context path="..." docBase="..." workDir="..." reloadable="true"/>
The reloadable="true" setting propagates your changes (using javassist, 
as far as I can tell) almost instantly.
I guess I should point out that I use eclipse so it might be that the 
IDE does a lot of this kind of work without my knowledge...which, at 
least for now, serves me fine. :)

Tomislav

---------------------------------------------------------------------
To unsubscribe, e-mail: tapestry-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tapestry-user-help@jakarta.apache.org