suppress "variable not initialized" error for break statements. In switch-case statem...
[phpeclipse.git] / net.sourceforge.phpeclipse.launching / src / net / sourceforge / phpdt / internal / launching / PHPLaunchConfigurationDelegate.java
index 6324404..881ad17 100644 (file)
@@ -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);
        }
        
        /**