import java.text.MessageFormat;
import net.sourceforge.phpdt.externaltools.launchConfigurations.ExternalToolsUtil;
+import net.sourceforge.phpeclipse.PHPConsole;
import net.sourceforge.phpeclipse.PHPeclipsePlugin;
import net.sourceforge.phpeclipse.ui.WebUI;
-import net.sourceforge.phpeclipse.views.PHPConsole;
import org.eclipse.jface.action.IAction;
import org.eclipse.jface.preference.IPreferenceStore;
String executable,
String arguments,
boolean background) {
- PHPConsole console = PHPConsole.getInstance();
+ PHPConsole console = new PHPConsole();
String consoleMessage;
if (background) {
consoleMessage =
+ " "
+ arguments;
}
- console.write(consoleMessage + "\n");
+ console.println(consoleMessage);
ExternalToolsUtil.execute(command, executable, arguments, background);
}