Community
Participate
Working Groups
Created attachment 148941 [details] patch In support of bug 264338, support in the RefreshTab to persist, restore, and refresh resources should be moved to the debug.core plug-in such that headless ant and external tool launchers can leverage the function. As well, the notion on a PRIVATE launch config has been moved to ILaunchManager. The attached patch provides updates to debug.ui and debug.core. The majority of the refresh support is provided in the new RefreshUtil class in debug.core. Old methods in the debug.ui delegate to the new API utility class in core.
Created attachment 148942 [details] Associated tests
Applied to HEAD. Fixed. Please verify, Mike.
Discovered a bug with this... when a refresh variable like ${project} can not be resolved, the new implementation throws an exception rather than returning an empty resource collection. For example: Errors occurred during the build. Errors running builder 'Integrated External Tool Builder' on project 'org.eclipse.equinox.p2.publisher'. Unable to restore resource memento: ${project} Unable to restore resource memento: ${project} Errors running builder 'Integrated External Tool Builder' on project 'org.eclipse.equinox.p2.metadata.generator'. Unable to restore resource memento: ${project} Unable to restore resource memento: ${project} Errors running builder 'Integrated External Tool Builder' on project 'org.eclipse.equinox.p2.repository.tools'. Unable to restore resource memento: ${project} Unable to restore resource memento: ${project} Errors running builder 'Integrated External Tool Builder' on project 'org.eclipse.equinox.p2.director.app'. Unable to restore resource memento: ${project} Unable to restore resource memento: ${project} I've modified the code to do the same as before.
looks good.