mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-23 08:55:25 +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();
|
||||
for (int i = 0; i < targets.length; ++i) {
|
||||
IMakeTarget target = targets[i];
|
||||
projects.add(target.getContainer().getProject());
|
||||
projects.add(target.getProject());
|
||||
}
|
||||
|
||||
IWorkbenchWindow[] windows = PlatformUI.getWorkbench().getWorkbenchWindows();
|
||||
|
|
Loading…
Add table
Reference in a new issue