konsoletyper 2014-11-03 19:39:05 +03:00
parent cfcd25b159
commit 7da1e61a8f

View File

@ -475,7 +475,10 @@ public class TeaVMProjectBuilder extends IncrementalProjectBuilder {
case IClasspathEntry.CPE_SOURCE: case IClasspathEntry.CPE_SOURCE:
if (entry.getOutputLocation() != null) { if (entry.getOutputLocation() != null) {
try { try {
collector.addPath(workspaceRoot.findMember(entry.getOutputLocation()).getLocation()); IResource res = workspaceRoot.findMember(entry.getOutputLocation());
if (res != null) {
collector.addPath(res.getLocation());
}
} catch (MalformedURLException e) { } catch (MalformedURLException e) {
TeaVMEclipsePlugin.logError(e); TeaVMEclipsePlugin.logError(e);
} }