Commit acc63acb authored by Florian Hölzl's avatar Florian Hölzl
Browse files

Testing copy resource solution.

refs 3250
parent ed8d5030
...@@ -127,9 +127,12 @@ public class SourceModelElementFactory { ...@@ -127,9 +127,12 @@ public class SourceModelElementFactory {
if(relativePath != null && !"".equals(relativePath.trim())) { if(relativePath != null && !"".equals(relativePath.trim())) {
loc = relativePath + File.separator + filename; loc = relativePath + File.separator + filename;
} }
System.out.println("loc=" + loc);
try { try {
Bundle bundle = getBundle(pluginID); Bundle bundle = getBundle(pluginID);
System.out.println("bundle=" + bundle);
URL fileURL = bundle.getEntry(loc); URL fileURL = bundle.getEntry(loc);
System.out.println("fileURL=" + fileURL);
URL resolvedFileURL = toFileURL(fileURL); URL resolvedFileURL = toFileURL(fileURL);
// IMPORTANT: use this three parameter constructor with null as third argument // IMPORTANT: use this three parameter constructor with null as third argument
URI resolvedURI = URI resolvedURI =
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment