On Jan 16, 2008 11:33 AM, Kevin Menard <[EMAIL PROTECTED]> wrote: > Hi all, > > It's time for me to ask about IDEA and Tapestry again. I seem to go in > cycles with the whole thing. > > Recent traffic indicates that there's now a decent number of people using > IDEA with Tapestry. My question is simply, how? > > I've been using the third party Jetty integration plugin and set my webapp > to rebuild upon frame deactivation (a setting I seem to have to make every > time I start up IDEA because I'm using a Maven project). This works, but > does a full redeploy on any change and that redeploy doesn't occur until I > switch back to the browser window. So, a simple template change will > rebuild my app, all its dependencies, and redeploy to Jetty. I'm running > some decent metal here with a trivial sized app and it takes at least 10s > before the app is back up.
There's a compiler option (cmd-comma, 2) to turn off redeployment, which is what you want. The Maven situation (losing the details of the redeploy) is a known IDEA bug that they are working on. > > Moreover, I can only do this about 10 times before I either blow out the > heap (T5) or permgen space (T4). At that point, I have to unceremoniously > kill the Jetty process. Running out of heap? That shouldn't be happen, there must be some kind of leak I'm unaware of. I don't want to pass the buck to Jetty yet; see if you can get things working with redeployment off. > > The net of it is that disabling caching in T4 gains me nothing and live > class reloading in T5 gains me nothing. In contrast, I still have a T4 app > in Eclipse using JettyLauncher and I can run that without caching all day > long. > > Without a doubt, I'm doing something wrong. Would anyone else mind sharing > their setup so I can fix mine? > > Thanks, > Kevin > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Howard M. Lewis Ship Creator Apache Tapestry and Apache HiveMind --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]