mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
bug 371797: [sd90] Fixed problem with not running non-shared Specs Detectors after new project wizard
This commit is contained in:
parent
fefa6b2c29
commit
621ee0fe22
2 changed files with 5 additions and 1 deletions
|
@ -106,6 +106,10 @@ public class BuiltinSpecsDetectorTest extends BaseTestCase {
|
|||
@Override
|
||||
protected void execute() {
|
||||
super.execute();
|
||||
try {
|
||||
Job.getJobManager().join(AbstractBuiltinSpecsDetector.JOB_FAMILY_BUILTIN_SPECS_DETECTOR, null);
|
||||
} catch (Exception e) {
|
||||
}
|
||||
}
|
||||
protected boolean isExecuted() {
|
||||
return isExecuted;
|
||||
|
|
|
@ -349,7 +349,6 @@ public abstract class AbstractBuiltinSpecsDetector extends AbstractLanguageSetti
|
|||
if (isExecuted) {
|
||||
return;
|
||||
}
|
||||
isExecuted = true;
|
||||
|
||||
WorkspaceJob job = new WorkspaceJob(ManagedMakeMessages.getResourceString("AbstractBuiltinSpecsDetector.DiscoverBuiltInSettingsJobName")) { //$NON-NLS-1$
|
||||
@Override
|
||||
|
@ -362,6 +361,7 @@ public abstract class AbstractBuiltinSpecsDetector extends AbstractLanguageSetti
|
|||
ManagedBuilderCorePlugin.log(e);
|
||||
status = new Status(IStatus.ERROR, ManagedBuilderCorePlugin.PLUGIN_ID, IStatus.ERROR, "Error running Builtin Specs Detector", e); //$NON-NLS-1$
|
||||
} finally {
|
||||
isExecuted = true;
|
||||
shutdown();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue