From cac4648210ca73531821ed00013a6ee70ec10042 Mon Sep 17 00:00:00 2001 From: toshihiro Date: Sat, 14 Jul 2007 13:01:09 +0000 Subject: [PATCH 1/1] Fixed: couldn't launch linked files nor launch files under a linked folder when local debugging. --- .../launching/InterpreterRunnerConfiguration.java | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/InterpreterRunnerConfiguration.java b/net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/InterpreterRunnerConfiguration.java index 52fa78a..1675fb7 100644 --- a/net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/InterpreterRunnerConfiguration.java +++ b/net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/InterpreterRunnerConfiguration.java @@ -10,6 +10,7 @@ import java.util.Map; import net.sourceforge.phpdt.internal.core.JavaProject; import org.eclipse.core.resources.IProject; +import org.eclipse.core.resources.IResource; import org.eclipse.core.runtime.CoreException; import org.eclipse.core.runtime.IPath; import org.eclipse.core.runtime.Path; @@ -30,7 +31,9 @@ public class InterpreterRunnerConfiguration { IPath path = new Path(getFileName()); IProject project = getProject().getProject(); - return project.getLocation().toOSString() + "/" + getFileName(); + //return project.getLocation().toOSString() + "/" + getFileName(); + IResource file = project.findMember(path); + return file.getLocation().toOSString(); } public String getFileName() { -- 1.7.1