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 {
if(relativePath != null && !"".equals(relativePath.trim())) {
loc = relativePath + File.separator + filename;
}
System.out.println("loc=" + loc);
try {
Bundle bundle = getBundle(pluginID);
System.out.println("bundle=" + bundle);
URL fileURL = bundle.getEntry(loc);
System.out.println("fileURL=" + fileURL);
URL resolvedFileURL = toFileURL(fileURL);
// IMPORTANT: use this three parameter constructor with null as third argument
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