Version 1.0.1 of the Jetty Plugin for Eclipse is available from:

www.webtide.com/eclipse/

This minor release fixes a problem whereby the automatic redeploy of a Dynamic Webapp project by the Eclipse environment did not trigger Jetty to redeploy.


3 Comments

Philip J Brown · 22/10/2007 at 01:07

thank you, Jan.
This is a minor, but critical fix, and I appreciate the work that you have put into this plugin.
Sincerely,
Philip J Brown
http://www.techc3.com

Philip J Brown · 22/10/2007 at 05:53

Jan,
I have found that you need to “touch” the
application file inside context for hot redeployment to work (it makes the application redeploy immediately… maybe if I waited long enough, jetty would notice the change anyway).
Nonetheless, the change is adding one line to your plugin’s build.xml.
On the line after the .xml file is copied to jetty’s context directory add

and your good to go.
Another alternative to touching the file is to change the copy to include overwrite=”true”
This will cause the context file to be recreated each time ant is run. I prefer the touch approach, because it doesn’t overwrite changes to the file incase the user decided to manually update some of the options in the context file.
I hope that this small tweak helps.
Sincerely,
-Phil
P.S. — I’ve done other customizations to the build.xml file to make it meet the needs of my particular environment.
I would be happy to share them if you have any interest.

Jan Bartel · 23/10/2007 at 04:21

Hi Phillip,

In fact the change in release 1.0.1 exactly is to use "overwrite=true" on the copy.  🙂

I’m certainly interested in any other  tweaks you may have to the plugin, so please email them to jetty-discuss@lists.sourceforge.net where all those interested can join in the discussion.

best regards,
Jan

Comments are closed.