Include source directories into class path when running TeaVM from

Eclipse so that TeaVM can read resources.
This commit is contained in:
konsoletyper 2015-01-24 20:13:14 +04:00
parent b731687c3e
commit b71ba395fd

View File

@ -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: {