import net.sourceforge.phpdt.externaltools.model.IExternalToolConstants;
import net.sourceforge.phpdt.externaltools.model.ToolUtil;
-import net.sourceforge.phpeclipse.PHPeclipsePlugin;
import net.sourceforge.phpeclipse.externaltools.ExternalToolsPlugin;
import org.eclipse.core.runtime.CoreException;
public static void readIn20Tools() {
boolean migrationSuccessful = true;
- IPath path = PHPeclipsePlugin.getDefault().getStateLocation();
+ IPath path = ExternalToolsPlugin.getDefault().getStateLocation();
File file = path.append(STATE_FILE_NAME).toFile();
if (!file.exists())
return;
ExternalToolsPlugin.getDefault().log("File I/O error with reading old external tools.", e);
migrationSuccessful = false;
} catch (WorkbenchException e) {
- PHPeclipsePlugin.getDefault().getLog().log(e.getStatus());
+ ExternalToolsPlugin.getDefault().getLog().log(e.getStatus());
System.err.println("Error reading old external tools. See .log file for more details");
migrationSuccessful = false;
} finally {