Skip to content

Commit 8459987

Browse files
author
jan
committed
The buildtool was not correct after project open
1 parent 58dcbe4 commit 8459987

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

io.sloeber.autoBuild/src/io/sloeber/autoBuild/integration/AutoBuildConfigurationDescription.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -341,15 +341,16 @@ public AutoBuildConfigurationDescription(ICConfigurationDescription cfgDescripti
341341
myParallelizationNum = Integer.parseInt(keyValues.getValue(KEY_NUM_PARRALEL_BUILDS));
342342

343343
String providerID = buildToolsKeyValues.getValue(KEY_PROVIDER_ID);
344-
String selectionID = buildToolsKeyValues.getValue(KEY_PROVIDER_ID);
345-
myBuildTools = IBuildToolsManager.getDefault().getBuildTools(providerID, selectionID);
344+
String selectionID = buildToolsKeyValues.getValue(KEY_SELECTION_ID);
345+
346346

347347
extensionPointID = projectTypeKeyValues.getValue(KEY_EXTENSION_POINT_ID);
348348
extensionID = projectTypeKeyValues.getValue(KEY_EXTENSION_ID);
349349
projectTypeID = projectTypeKeyValues.getValue(ID);
350350
confName = configKeyValues.getValue(NAME);
351351

352352
myProjectType = AutoBuildManager.getProjectType(extensionPointID, extensionID, projectTypeID, true);
353+
myBuildTools = IBuildToolsManager.getDefault().getBuildTools(providerID, selectionID);
353354
if (myBuildTools == null) {
354355
// TODO add real error warning
355356
System.err.println("unable to identify build Tools "); //$NON-NLS-1$

0 commit comments

Comments
 (0)