From ca1defffd8edd06904123c0e3f27150598637230 Mon Sep 17 00:00:00 2001 From: stefanbjarni Date: Wed, 3 Aug 2005 22:12:52 +0000 Subject: [PATCH] =?utf8?q?Patch=20from=20Anders=20Betn=EF=BF=BDfor=20initializing=20the=20PHP=20source=20locator.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- .../launching/PHPLaunchConfigurationDelegate.java | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/PHPLaunchConfigurationDelegate.java b/net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/PHPLaunchConfigurationDelegate.java index 6324404..881ad17 100644 --- a/net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/PHPLaunchConfigurationDelegate.java +++ b/net.sourceforge.phpeclipse.launching/src/net/sourceforge/phpdt/internal/launching/PHPLaunchConfigurationDelegate.java @@ -38,7 +38,9 @@ public class PHPLaunchConfigurationDelegate extends LaunchConfigurationDelegate */ public ILaunch getLaunch(ILaunchConfiguration configuration, String mode) throws CoreException { - return new Launch(configuration, mode, new PHPSourceLocator()); + PHPSourceLocator locator = new PHPSourceLocator(); + locator.initializeDefaults(configuration); + return new Launch(configuration, mode, locator); } /** -- 1.7.1