[jbosstools-issues] [JBoss JIRA] (JBIDE-16634) No output to console using rse mode

Rob Stryker (JIRA) issues at jboss.org
Fri Feb 21 02:29:47 EST 2014


    [ https://issues.jboss.org/browse/JBIDE-16634?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12946695#comment-12946695 ] 

Rob Stryker commented on JBIDE-16634:
-------------------------------------

{code}
                        IServer s = ServerCore.findServer(serverId);
                        IShellService service = findShellService(s);
                        try {
-                               IHostShell hs = service.runCommand(initialWorkingDirectory, 
-                                                                       command, environment, monitor);
+                               IHostShell hs = service.launchShell(initialWorkingDirectory, environment, new NullProgressMonitor());
                                listener = new IHostShellOutputListener() {
                                        public void shellOutputChanged(IHostShellChangeEvent event) {
                                                IHostOutput[] lines = event.getLines();
@@ -104,6 +104,7 @@ public class RSEHostShellModel {
                                };
                                startupShell = hs;
                                startupShell.addOutputListener(listener);
+                               hs.writeToShell(command);
                                return hs;

{code}
                
> No output to console using rse mode
> -----------------------------------
>
>                 Key: JBIDE-16634
>                 URL: https://issues.jboss.org/browse/JBIDE-16634
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.2.0.Alpha2
>            Reporter: Rob Stryker
>            Assignee: Rob Stryker
>             Fix For: 4.2.0.Beta1
>
>


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the jbosstools-issues mailing list