mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Fixed bug breaking JUnit test
This commit is contained in:
parent
08529151de
commit
470ce6cd41
1 changed files with 11 additions and 8 deletions
|
@ -452,7 +452,9 @@ public abstract class AbstractLanguageSettingsOutputScanner extends LanguageSett
|
|||
}
|
||||
|
||||
if (buildDirURI == null && currentCfgDescription != null) {
|
||||
String builderCWD = currentCfgDescription.getBuildSetting().getBuilderCWD().toString();
|
||||
IPath pathBuilderCWD = currentCfgDescription.getBuildSetting().getBuilderCWD();
|
||||
if (pathBuilderCWD != null) {
|
||||
String builderCWD = pathBuilderCWD.toString();
|
||||
try {
|
||||
// TODO - here is a hack to overcome ${workspace_loc:/prj-name} returned by builder
|
||||
ICdtVariableManager vmanager = CCorePlugin.getDefault().getCdtVariableManager();
|
||||
|
@ -462,6 +464,7 @@ public abstract class AbstractLanguageSettingsOutputScanner extends LanguageSett
|
|||
}
|
||||
buildDirURI = org.eclipse.core.filesystem.URIUtil.toURI(builderCWD);
|
||||
}
|
||||
}
|
||||
|
||||
if (buildDirURI == null && currentProject != null) {
|
||||
buildDirURI = currentProject.getLocationURI();
|
||||
|
|
Loading…
Add table
Reference in a new issue