--- integration/eclipse/org.apache.cactus.eclipse.runner/src/main/java/org/apache/cactus/eclipse/runner/containers/jetty/JettyContainerManager.java	2008-03-02 07:23:53.000000000 -0500
+++ integration/eclipse/org.apache.cactus.eclipse.runner/src/main/java/org/apache/cactus/eclipse/runner/containers/jetty/JettyContainerManager.java	2008-03-04 04:59:04.000000000 -0500
@@ -20,7 +20,7 @@
 package org.apache.cactus.eclipse.runner.containers.jetty;
 
 import java.io.File;
-import java.net.MalformedURLException;
+import java.io.IOException;
 import java.net.URL;
 
 import org.apache.cactus.eclipse.runner.containers.IContainerManager;
@@ -34,6 +34,7 @@
 import org.apache.tools.ant.types.FileSet;
 import org.eclipse.core.runtime.CoreException;
 import org.eclipse.core.runtime.Path;
+import org.eclipse.core.runtime.Platform;
 import org.eclipse.jdt.core.IJavaProject;
 
 /**
@@ -52,8 +53,8 @@
     /**
      * The name of the jspRedirector.jsp file
      */
-    private static final String JSPREDIRECTOR_PATH =
-        "C:/eclipse/plugins/org.apache.cactus.eclipse.runner-1.8.0/lib/confs/jspRedirector.jsp";
+    private static final Path JSPREDIRECTOR_PATH =
+		 new Path("/lib/confs/jspRedirector.jsp");
 
     /**
      * Directory containg the web application for Jetty
@@ -121,15 +122,7 @@
         copy.setProject(antProject);
         copy.setTodir(theDir);
         CactusPlugin thePlugin = CactusPlugin.getDefault();
-        URL jspRedirectorURL = null;
-        try{
-        	jspRedirectorURL = new URL("file://"+JSPREDIRECTOR_PATH);
-        } catch(MalformedURLException mde) {
-            throw CactusPlugin.createCoreException(
-                    "CactusLaunch.message.prepare.error.plugin.file",
-                    " : " + mde.getMessage(),
-                    null);
-        }
+        URL jspRedirectorURL = thePlugin.find(JSPREDIRECTOR_PATH);
         if (jspRedirectorURL == null)
         {
             throw CactusPlugin.createCoreException(
@@ -137,6 +130,14 @@
                 " : " + JSPREDIRECTOR_PATH,
                 null);
         }
+        try{
+        	jspRedirectorURL = Platform.asLocalURL(jspRedirectorURL);
+        } catch(IOException e) {
+            throw CactusPlugin.createCoreException(
+                    "CactusLaunch.message.prepare.error.plugin.file",
+                    " : " + e.getMessage(),
+                    null);
+        }
         CactusPlugin.log(jspRedirectorURL.getPath());
         File jspRedirector = new File(jspRedirectorURL.getPath());
         FileSet fileSet = new FileSet();
