Bug 97451 [IDE] [WorkingSets]'Build Working Set' menu item not working
I'm developing an eclipse-based editor, which is composed of 4 plugins. I created a working set made up to these 4 plugins inorder to be able to build and run these plugins in one shot. BUT, the 'Build Working Set' compile option does nothing when i select it. My working set does appear in the list, but when i select it, the build process does not start at all. I recently migrated to 3.1M7. All was fine in 3.0.1. I just imported all the 4 old plugin projects into 3.1M7 and created a new working set definition in 3.1M7.
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/internal/ide/actions/BuildSetAction.java
setActionDefinitionId("org.eclipse.ui.project.buildLast"); 
        actionBars.registerGlobalAction(this);
        window.getWorkbench().getWorkingSetManager().addRecentWorkingSet(
                workingSet);
        IProject[] projects = BuildUtilities.extractProjects(workingSet.getElements());
        if (projects.length == 0)
            return;
        BuildAction build = new BuildAction(window.getShell(),
                IncrementalProjectBuilder.INCREMENTAL_BUILD);
        build.selectionChanged(new StructuredSelection(projects));
        build.run();
    }
    public void runWithEvent(Event event) {
        
        
        if (event.widget instanceof MenuItem) {
            if (!((MenuItem) event.widget).getSelection())
                return;
        }
        run();
    }
    /* (non-Javadoc)
     * For debugging purposes only.
     */
    public String toString() {
        return "BuildSetAction(" + workingSet.getName() + ")"; 
    }
}