mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 06:45:43 +02:00
fixed NPE on target build when resource save is enabled and target did not have a build folder set
This commit is contained in:
parent
23c178137e
commit
6cd5aaeef0
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ public class TargetBuild {
|
||||||
List projects = new ArrayList();
|
List projects = new ArrayList();
|
||||||
for (int i = 0; i < targets.length; ++i) {
|
for (int i = 0; i < targets.length; ++i) {
|
||||||
IMakeTarget target = targets[i];
|
IMakeTarget target = targets[i];
|
||||||
projects.add(target.getContainer().getProject());
|
projects.add(target.getProject());
|
||||||
}
|
}
|
||||||
|
|
||||||
IWorkbenchWindow[] windows = PlatformUI.getWorkbench().getWorkbenchWindows();
|
IWorkbenchWindow[] windows = PlatformUI.getWorkbench().getWorkbenchWindows();
|
||||||
|
|
Loading…
Add table
Reference in a new issue