Project Name
Eclipse Bug #227760.
Project Description
Eclipse Bug #227760 is a normal classification bug, that deals with WTP Server tools. The basic problem of the bug, is that the save dialogue is replication twice when a user clicks "No", when starting a server. Basically, if someone tries to start a server in eclipse, and there is an unsaved file in the work area, it prompts the user to save the file before running the server. If the user selects either "yes" or "cancel", normal behaviour occurs, but if the user selects "no", the exact save dialogue is repeated. If the user selects "no" again the second time, then normal behaviour resumes.
Project Leader(s)
Project Contributor(s)
Project Details
The save resource dialogue is called upon twice: once in the StartAction.java file in the "org.eclipse.wst.server.ui.internal.view.servers” package, and in the SaveScopeResourceHandler.java file in the "org.eclipse.debug.internal.ui" package. For more details on these, please check out the blog regarding this bug.
Project News
Originally, trying to link these two very different packages, was difficult. However, Le Yang created a solution for a very similar blog, which was detailed here. The method being called in the "StartAction.java" class is being replicated in the pre-launch class when start a server. This is the reason why the dialogue is prompted twice. Following the proposed solution seems to work the same for this bug.
A fix & patch was created. More details on blog: http://opensourceproject.wordpress.com/