Re: [Winstone-devel] hot swap
Status: Beta
Brought to you by:
rickknowles
From: Rick K. <ri...@kn...> - 2006-01-26 16:14:26
|
Nemat, > This time I tested as you said in 4 steps, and, bingo, it worked! > Thanks for your help. > > I think in my previous test I didn't access the web url after the > launch of winstone, i.e., steps were following: > 1) start the winstone > 3) redeploy > > and I was hoping to see the reloading log. > > I'm planning to use winstone in my everyday's development and will let > you know if I need any other functionality or will find a bug :) > Thanks - glad it worked for you. There have been a few small fixes since the release, so please try grabbing the CVS version if you find bugs in v0.8. > P.S. Update to my test: Actually it worked even if i didn't access the > webapp url. I recompiled my class inside IDEA winstone triggered that. > I think my way of redeploying through just modifying the modification, > creation, last access times of class file didn't work. Did I miss > something in my thoughts? Shouldn't it trigger the change of > modification time of class file? Not sure ... it's difficult in windows to know when you're really modifying the timestamps, so I just use cygwin's "touch" command for my testing. It seems to work. If IDEA isn't changing the timestamps when a redeploy happens, I'm not sure how we can check for a change (MD5s are a bit expensive for such an unimportant check). Any suggestions are welcome. Thanks, Rick -- Servlet v2.4 container in a single 160KB jar file ? Try Winstone (http://winstone.sourceforge.net/) |