Re: Tapestry & IDEA

2008-01-17 Thread Howard Lewis Ship
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

Re: Tapestry & IDEA

2008-01-17 Thread Howard Lewis Ship
On Jan 16, 2008 12:04 PM, Michael Lake <[EMAIL PROTECTED]> wrote: > > For T5, in lieu of jettyLauncher you might try looking into extending > the following class somewhere in your test sources: > > org.apache.tapestry.test.JettyRunner > > make a wrapper around it with a class that has a static mai

Re: Tapestry & IDEA

2008-01-17 Thread Matt Brock
Alejandro Scandroli wrote: > > Idea needs you to explicitly hit CRTL-SHIFT-F9 (to compile just one > class) or CTRL-F9 (make project) You can also use the ANT BUILD dialog window pane. You can even assign shortcuts to particular build definitions. I usually have at least three in any build: a

Re: Tapestry & IDEA

2008-01-16 Thread Kevin Menard
You are absolutely correct. I had disabled "Build on frame deactivation" setting and forgot that IDEA doesn't auto-compile like Eclipse. Thanks for pointer. I'll have to check out JavaRebel for my T4 work. Regards, Kevin On 1/16/08 5:53 PM, in article [EMAIL PROTECTED], "Alejandro Scandroli"

Re: Tapestry & IDEA

2008-01-16 Thread Andreas Andreou
Javarebel is sweet. Regarding disabling-cache, I always disliked it (prefering the enable-reset-service approach) for performance and OOME issues. I had a greasemonkey script for this @ http://blog.andyhot.gr/a/java/2006/09/23/Implementing-a-Firefox-Plugin-for-Tapestrys-Reset-Service.html but nowa

Re: Tapestry & IDEA

2008-01-16 Thread Alejandro Scandroli
Hi Kevin > Any thoughts on what I may be doing wrong? Just to confirm, are you sure you are compiling? Idea needs you to explicitly hit CRTL-SHIFT-F9 (to compile just one class) or CTRL-F9 (make project) That was my problem when I started working with Idea and Tapestry (both 4 and 5). BTW, I'm us

Re: Tapestry & IDEA

2008-01-16 Thread Kevin Menard
Hi Michael, Thanks for the advice. I added Jetty6 as a test dependency and wrote my own class that's a more domain-specific version of the JettyRunner. I didn't take your approach 100% because that class is a Tapestry test artifact and as such, not part of the primary distribution. Anyway, thin

Re: Tapestry & IDEA

2008-01-16 Thread Kevin Menard
Thanks for the reply Jesse. Your directions have me up and running with T4 quite smoothly now. I think I even wept a little. It's still not as nice as working with JettyLauncher, but it's a remarkable improvement over what I was using. I haven't been able to get class reloading working for T5 y

Re: Tapestry & IDEA

2008-01-16 Thread Michael Lake
For T5, in lieu of jettyLauncher you might try looking into extending the following class somewhere in your test sources: org.apache.tapestry.test.JettyRunner make a wrapper around it with a class that has a static main function. there's an example of it in "tapestry-core" sources org.apac

Re: Tapestry & IDEA

2008-01-16 Thread Jesse Kuhnert
For tap 4: -) Use the latest eap release if you use maven - they make tiny improvements to that minefield with each release. -) Under project settings make sure you un-check the option to build a "war" file for your web facet. (also don't create an exploded directory to run it in) -) Make sure y