summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbkolb2007-09-26 09:21:07 (EDT)
committer bkolb2007-09-26 09:21:07 (EDT)
commit48ed7e1b707257bf61490cec1c252d5f3276d0fd (patch)
treea1ee66edcc66197db998657011cb0646391fdce0
parent426bcf9d3e5fe2ebb69b5c21310f07b5b54cabf1 (diff)
downloadorg.eclipse.mwe-48ed7e1b707257bf61490cec1c252d5f3276d0fd.zip
org.eclipse.mwe-48ed7e1b707257bf61490cec1c252d5f3276d0fd.tar.gz
org.eclipse.mwe-48ed7e1b707257bf61490cec1c252d5f3276d0fd.tar.bz2
fixed OSGi issues
-rw-r--r--plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/WorkflowRunner.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/WorkflowRunner.java b/plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/WorkflowRunner.java
index 262c6a9..7df196d 100644
--- a/plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/WorkflowRunner.java
+++ b/plugins/org.eclipse.emf.mwe.core/src/org/eclipse/emf/mwe/core/WorkflowRunner.java
@@ -155,8 +155,10 @@ public class WorkflowRunner {
URL wfUrl;
int index = 0;
do {
- wfUrl = ResourceLoaderFactory.createResourceLoader()
- .getResource(wfFile);
+ // TODO BK change to resource loader factory
+// wfUrl = ResourceLoaderFactory.createResourceLoader()
+// .getResource(wfFile);
+ wfUrl = Thread.currentThread().getContextClassLoader().getResource(wfFile);
if (wfUrl == null) {
index = wfFile.indexOf('/');
if (index >= 0)