diff --git a/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/TeaVMProjectBuilder.java b/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/TeaVMProjectBuilder.java index 92c0cc186..6bc699010 100644 --- a/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/TeaVMProjectBuilder.java +++ b/teavm-eclipse/teavm-eclipse-plugin/src/main/java/org/teavm/eclipse/TeaVMProjectBuilder.java @@ -605,6 +605,11 @@ public class TeaVMProjectBuilder extends IncrementalProjectBuilder { if (srcContainer != null) { srcCollector.addContainer(srcContainer); sourceFileCollector.addFile(srcContainer.getLocation()); + try { + collector.addPath(srcContainer.getLocation()); + } catch (MalformedURLException e) { + TeaVMEclipsePlugin.logError(e); + } } break; case IClasspathEntry.CPE_PROJECT: {