mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-09 01:55:24 +02:00
Bug 161777: Rename HostShellAdapter -> HostShellProcessAdapter
This commit is contained in:
parent
b6eff0b6ac
commit
2d7ba36e38
2 changed files with 5 additions and 4 deletions
|
@ -44,7 +44,7 @@ import org.eclipse.rse.core.model.IHost;
|
||||||
import org.eclipse.rse.core.subsystems.ISubSystem;
|
import org.eclipse.rse.core.subsystems.ISubSystem;
|
||||||
import org.eclipse.rse.services.IService;
|
import org.eclipse.rse.services.IService;
|
||||||
import org.eclipse.rse.services.files.IFileService;
|
import org.eclipse.rse.services.files.IFileService;
|
||||||
import org.eclipse.rse.services.shells.HostShellAdapter;
|
import org.eclipse.rse.services.shells.HostShellProcessAdapter;
|
||||||
import org.eclipse.rse.services.shells.IHostShell;
|
import org.eclipse.rse.services.shells.IHostShell;
|
||||||
import org.eclipse.rse.services.shells.IShellService;
|
import org.eclipse.rse.services.shells.IShellService;
|
||||||
import org.eclipse.rse.subsystems.files.core.servicesubsystem.IFileServiceSubSystem;
|
import org.eclipse.rse.subsystems.files.core.servicesubsystem.IFileServiceSubSystem;
|
||||||
|
@ -277,7 +277,7 @@ public class RemoteRunLaunchDelegate extends AbstractCLaunchDelegate {
|
||||||
|
|
||||||
Process p = null;
|
Process p = null;
|
||||||
try {
|
try {
|
||||||
p = new HostShellAdapter(hostShell);
|
p = new HostShellProcessAdapter(hostShell);
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
if (p != null) {
|
if (p != null) {
|
||||||
p.destroy();
|
p.destroy();
|
||||||
|
|
|
@ -9,6 +9,7 @@
|
||||||
* Ewa Matejska (PalmSource) - initial version
|
* Ewa Matejska (PalmSource) - initial version
|
||||||
* Martin Oberhuber (Wind River) - adapt to IHostOutput API (bug 161773, 158312)
|
* Martin Oberhuber (Wind River) - adapt to IHostOutput API (bug 161773, 158312)
|
||||||
* Martin Oberhuber (Wind River) - moved from org.eclipse.rse.remotecdt (bug 161777)
|
* Martin Oberhuber (Wind River) - moved from org.eclipse.rse.remotecdt (bug 161777)
|
||||||
|
* Martin Oberhuber (Wind River) - renamed from HostShellAdapter (bug 161777)
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
|
|
||||||
package org.eclipse.rse.services.shells;
|
package org.eclipse.rse.services.shells;
|
||||||
|
@ -28,7 +29,7 @@ import java.io.PipedOutputStream;
|
||||||
* @author Ewa Matejska
|
* @author Ewa Matejska
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class HostShellAdapter extends Process implements
|
public class HostShellProcessAdapter extends Process implements
|
||||||
IHostShellOutputListener {
|
IHostShellOutputListener {
|
||||||
|
|
||||||
private IHostShell hostShell;
|
private IHostShell hostShell;
|
||||||
|
@ -44,7 +45,7 @@ IHostShellOutputListener {
|
||||||
* @param hostShell An instance of the IHostShell class.
|
* @param hostShell An instance of the IHostShell class.
|
||||||
* @throws java.io.IOException
|
* @throws java.io.IOException
|
||||||
*/
|
*/
|
||||||
public HostShellAdapter(IHostShell hostShell) throws java.io.IOException {
|
public HostShellProcessAdapter(IHostShell hostShell) throws java.io.IOException {
|
||||||
this.hostShell = hostShell;
|
this.hostShell = hostShell;
|
||||||
hostShellInput = new PipedOutputStream();
|
hostShellInput = new PipedOutputStream();
|
||||||
hostShellError = new PipedOutputStream();
|
hostShellError = new PipedOutputStream();
|
Loading…
Add table
Reference in a new issue