Not using IDEA I can only comment on the Java stuff.

Wicket doesn't impose any special thing on the server and runtime
environment. Therefore hotswap should be functioning. My experience
with Eclipse is that running the application in debug mode allows
hotswap to occur, and typically doesn't require a redeploy. I think
this is available for IDEA as well (run your jetty using a debugger).

On eclipse my mantra for the day is:
 - start server in debug mode from within eclipse
 - modify template or Java code (only inside methods, no structural changes)
 - see change immediately

When a structural change was made, the hotswap will complain and you
have to restart the server.

>From what I remember of using IDEA is that you also can run the app
server in debug mode, and have it pick up changes in class files
without redeploy.

Read more here (possibly outdated but should give you ideas):

http://jetty.mortbay.org/jetty5/faq/faq_s_950-IDEs_t_IntelliJ.html

Martijn

On 3/10/07, Matt Welch <[EMAIL PROTECTED]> wrote:
> Currently my development environment is downright ugly when it comes the
> "edit -> test changes" cycle. I'm using:
>
>  Maven
>  Jetty plugin
>  Intellij Idea
>
>  As it currently stands, here's my cycle:
>
> Make a change (doesn't matter if it's to a template or page class)
> Wait for the entire application to redeploy - at least this happens
> automatically
> Go back to my browser and click refresh; get a "Page out of date error" or
> something like that; I forget as I'm not sitting in front of it right now.
> Click "Go to home page"
> I'm forced to log in again
> Finally, navigate through my application to get to back to place where I can
> see the change I made. Wash.Rinse.Repeat. A thousand times a day. Clearly,
> I'm doing something wrong.
>
>  I have the configuration:development parameter set in my web.xml so if I
> disable automatic redeployment in Jetty, I can push my template changes out
> and see them almost immediately, however I make far more changes to my
> backing classes than I do to the templates themselves so I'd rather keep the
> Jetty auto-redeploy on.
>
>  So first, is there something I should be doing differently to make this
> cycle a little shorter. When I was using Tomcat and a different presentation
> framework, sessions persisted across auto-redeployments so I could at least
> avoid having to log back in and navigate back to where I was each time. It's
> not much of an improvement but it's something. Can the same thing be done
> with Jetty/Wicket? Tomcat/Wicket?
>
>  Second, I ran across the JIRA issue, WICKET-126:
> https://issues.apache.org/jira/browse/WICKET-126
>
>  This seems to describe some changes in the 1.3 base that would enable much
> easier hot-redeployment of classes. The discussion in the issue went back
> and forth, but it's a little hard to tell what form this functionality took
> int he end and how to use it. Are there any instructions outside that issue
> on its use? Do I need to check out the 1.3 code from Subversion or is it
> available from the wicketstuff.org maven respoitory (wha I'm currently using
> for 1.3 SNAPSHOTS)?
>
>  I'm sure many of you have your development environments setup to avoid a
> prolonged change review cycle. I'd love to hear any tips you have.
>
>
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Wicket-user mailing list
> Wicket-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wicket-user
>
>


-- 
Learn Wicket at ApacheCon Europe: http://apachecon.com
Join the wicket community at irc.freenode.net: ##wicket
Wicket 1.2.5 will keep your server alive. Download Wicket now!
http://wicketframework.org

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Wicket-user mailing list
Wicket-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wicket-user

Reply via email to