Open main menu

CDOT Wiki β

Changes

WTP-bug227760

518 bytes added, 11:17, 9 April 2009
Project News
== 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 [http://wb-os.blogspot.com/2009/04/fixed-bug-240698-part-i.html 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.The solution included removal a saveResource method, which was not required, since this is called by a different method later. The removal of this code should not affect anything else since the code that is being called upon only relates to saving open editors. There is no other particular importance of this code. Another condition was added "getLaunch().getSourceLocator() != null" in the startImpl method in the Server.java class, as this was able to catch the exception thrown when the cancel option was selected.
A fix & patch was created. More details on blog: [http://opensourceproject.wordpress.com/ http://opensourceproject.wordpress.com]
1
edit