Commit 704a9875 authored by Daniel Honsel's avatar Daniel Honsel
Browse files

fixed bug

parent 02377750
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -84,8 +84,8 @@ public class TTCN3ResourceProvider {

		System.out.println("Parsing file: " + f.getPath() + " (LOC: " + lines + ") ...");
		stopwatch.start();

		resourceSet.getResource(URI.createURI(f.getPath()), true);
		String path = f.getAbsolutePath();
		resourceSet.getResource(URI.createURI("file:///" + path), true);
		stopwatch.stop();

		System.out.println("      ...done in " + stopwatch.elapsed(TimeUnit.MILLISECONDS) + "ms ("
@@ -97,7 +97,7 @@ public class TTCN3ResourceProvider {

	public void analyzeResources() {
		for (Resource r : resourceSet.getResources()) {
			System.out.println("Analyzing  file: " + r.getURI().devicePath() + " ...");
			System.out.println("Analyzing  file: " + r.getURI().lastSegment() + " ...");

			stopwatch.start();
			EcoreUtil.resolveAll(r);