3 thoughts on “Jetty Eclipse Plugin

  • October 22, 2007 at 5:53 am

    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.
    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.

  • October 23, 2007 at 4:21 am

    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,

Comments are closed.