Permalink
Browse files

v0.55.0

  • Loading branch information...
vladdu committed Jan 5, 2019
2 parents ce6807a + e63e12d commit 9965e654e82058a11bbbea64171ad5c30419bb4e
Showing with 443 additions and 1,630 deletions.
  1. +29 −0 .travis.yml
  2. +0 −6 extras/wrangler/plugins/org.erlide.wrangler.help/.project
  3. +3 −3 extras/wrangler/plugins/org.erlide.wrangler.refactoring.codeinspection/META-INF/MANIFEST.MF
  4. +3 −3 extras/wrangler/plugins/org.erlide.wrangler.refactoring.duplicatedcode/META-INF/MANIFEST.MF
  5. +3 −3 extras/wrangler/plugins/org.erlide.wrangler.refactoring/META-INF/MANIFEST.MF
  6. +1 −1 features/org.erlide.product.feature/feature.xml
  7. +1 −1 features/org.erlide.product.feature/pom.xml
  8. +1 −9 features/org.erlide/feature.xml
  9. +1 −1 features/org.erlide/pom.xml
  10. +3 −3 libs/nl.kii.util/META-INF/MANIFEST.MF
  11. +3 −3 libs/org.erlide.annotations/META-INF/MANIFEST.MF
  12. +0 −6 libs/org.fishwife.jrugged/.project
  13. +0 −6 libs/org.incava.util.diff/.project
  14. +4 −4 plugins/org.erlide.backend/META-INF/MANIFEST.MF
  15. +1 −1 plugins/org.erlide.backend/pom.xml
  16. +2 −1 plugins/org.erlide.backend/src/org/erlide/backend/api/BackendData.java
  17. +10 −10 plugins/org.erlide.backend/src/org/erlide/backend/console/BackendShell.java
  18. +4 −4 plugins/org.erlide.backend/src/org/erlide/backend/debug/model/ErlangDebugTarget.java
  19. +5 −15 plugins/org.erlide.backend/src/org/erlide/backend/internal/Backend.java
  20. +15 −9 plugins/org.erlide.backend/src/org/erlide/backend/launch/ErlangLaunchDelegate.java
  21. +4 −4 plugins/org.erlide.branding/META-INF/MANIFEST.MF
  22. +1 −1 plugins/org.erlide.branding/pom.xml
  23. +4 −4 plugins/org.erlide.core/META-INF/MANIFEST.MF
  24. +1 −1 plugins/org.erlide.core/pom.xml
  25. +4 −4 plugins/org.erlide.cover.api/META-INF/MANIFEST.MF
  26. +1 −1 plugins/org.erlide.cover.api/pom.xml
  27. +4 −4 plugins/org.erlide.cover.core/META-INF/MANIFEST.MF
  28. +1 −1 plugins/org.erlide.cover.core/pom.xml
  29. +4 −4 plugins/org.erlide.cover.ui/META-INF/MANIFEST.MF
  30. +1 −1 plugins/org.erlide.cover.ui/pom.xml
  31. +0 −256 plugins/org.erlide.help/Gemfile.lock
  32. +1 −1 plugins/org.erlide.help/META-INF/MANIFEST.MF
  33. +1 −1 plugins/org.erlide.help/pom.xml
  34. +4 −4 plugins/org.erlide.model.api/META-INF/MANIFEST.MF
  35. +1 −1 plugins/org.erlide.model.api/pom.xml
  36. +1 −1 plugins/org.erlide.model.api/src/org/erlide/engine/ModelApiActivator.xtend
  37. +4 −4 plugins/org.erlide.model/META-INF/MANIFEST.MF
  38. +1 −1 plugins/org.erlide.model/pom.xml
  39. +3 −3 plugins/org.erlide.model/src/org/erlide/engine/internal/model/root/ErlElementDelta.java
  40. +4 −4 plugins/org.erlide.runtime/META-INF/MANIFEST.MF
  41. +1 −1 plugins/org.erlide.runtime/pom.xml
  42. +2 −2 plugins/org.erlide.runtime/src/org/erlide/runtime/internal/OtpNodeProxy.java
  43. +0 −1 plugins/org.erlide.runtime/src/org/erlide/runtime/rpc/RpcCall.xtend
  44. +0 −4 plugins/org.erlide.runtime/src/org/erlide/runtime/service/RestartableService.java
  45. +0 −8 plugins/org.erlide.server/.classpath
  46. +0 −34 plugins/org.erlide.server/.project
  47. +0 −118 plugins/org.erlide.server/.settings/org.eclipse.jdt.core.prefs
  48. +0 −25 plugins/org.erlide.server/META-INF/MANIFEST.MF
  49. +0 −6 plugins/org.erlide.server/build.properties
  50. +0 −26 plugins/org.erlide.server/pom.xml
  51. +0 −37 plugins/org.erlide.server/src/org/eclipse/languageserver/StreamConnectionProvider.java
  52. +0 −74 plugins/org.erlide.server/src/org/erlide/server/ErlangLanguageServer.xtend
  53. +0 −123 plugins/org.erlide.server/src/org/erlide/server/ErlangTextDocumentService.xtend
  54. +0 −25 plugins/org.erlide.server/src/org/erlide/server/ErlangWindowService.xtend
  55. +0 −28 plugins/org.erlide.server/src/org/erlide/server/ErlangWorkspaceService.xtend
  56. +4 −4 plugins/org.erlide.test_support/META-INF/MANIFEST.MF
  57. +1 −1 plugins/org.erlide.test_support/pom.xml
  58. +4 −4 plugins/org.erlide.tracing.core/META-INF/MANIFEST.MF
  59. +1 −1 plugins/org.erlide.tracing.core/pom.xml
  60. +3 −0 plugins/org.erlide.ui/.settings/org.eclipse.jdt.core.prefs
  61. +4 −5 plugins/org.erlide.ui/META-INF/MANIFEST.MF
  62. +1 −1 plugins/org.erlide.ui/pom.xml
  63. +0 −52 plugins/org.erlide.ui/src/org/eclipse/languageserver/LSPStreamConnectionProviderRegistry.java
  64. +0 −95 plugins/org.erlide.ui/src/org/eclipse/languageserver/LanguageServerEclipseUtils.java
  65. +0 −77 plugins/org.erlide.ui/src/org/eclipse/languageserver/LanguageServiceAccessor.java
  66. +0 −307 plugins/org.erlide.ui/src/org/eclipse/languageserver/ProjectSpecificLanguageServerWrapper.java
  67. +1 −1 plugins/org.erlide.ui/src/org/erlide/debug/ui/views/DebuggerTraceView.java
  68. +0 −2 plugins/org.erlide.ui/src/org/erlide/ui/editors/erl/ErlangEditor.java
  69. +23 −2 plugins/org.erlide.ui/src/org/erlide/ui/launch/ErlangNodeLaunchShortcut.java
  70. +8 −5 plugins/org.erlide.ui/src/org/erlide/ui/navigator/ErlElementSorter.java
  71. +3 −1 plugins/org.erlide.ui/src/org/erlide/ui/util/ETreeNode.java
  72. +1 −3 plugins/org.erlide.ui/src/org/erlide/ui/wizards/ErlangProjectBuilderPage.xtend
  73. +4 −4 plugins/org.erlide.util/META-INF/MANIFEST.MF
  74. +1 −1 plugins/org.erlide.util/pom.xml
  75. +2 −2 plugins/org.erlide.util/src/org/erlide/util/HostnameChecker.xtend
  76. +1 −1 plugins/org.erlide.util/src/org/erlide/util/MapCodec.xtend
  77. +7 −7 pom.xml
  78. +5 −6 releng/org.erlide.site/category.xml
  79. +6 −0 releng/org.erlide.target/.project
  80. +38 −42 releng/org.erlide.target/org.erlide.target.target
  81. +36 −0 releng/org.erlide.target/org.erlide.target.tpd
  82. +11 −3 tests/org.erlide.backend.tests/.classpath
  83. +1 −1 tests/org.erlide.backend.tests/META-INF/MANIFEST.MF
  84. +1 −1 tests/org.erlide.backend.tests/pom.xml
  85. +1 −1 tests/org.erlide.core.tests/META-INF/MANIFEST.MF
  86. +1 −1 tests/org.erlide.core.tests/pom.xml
  87. +10 −2 tests/org.erlide.model.tests/.classpath
  88. +1 −1 tests/org.erlide.model.tests/META-INF/MANIFEST.MF
  89. +1 −1 tests/org.erlide.model.tests/pom.xml
  90. +10 −2 tests/org.erlide.runtime.tests/.classpath
  91. +1 −1 tests/org.erlide.runtime.tests/META-INF/MANIFEST.MF
  92. +1 −1 tests/org.erlide.runtime.tests/pom.xml
  93. +13 −14 tests/org.erlide.runtime.tests/src/org/erlide/runtime/OtpNodeProxyTest.java
  94. +11 −3 tests/org.erlide.test_support.tests/.classpath
  95. +1 −1 tests/org.erlide.test_support.tests/META-INF/MANIFEST.MF
  96. +1 −1 tests/org.erlide.test_support.tests/pom.xml
  97. +4 −4 tests/org.erlide.testing.libs/META-INF/MANIFEST.MF
  98. +1 −1 tests/org.erlide.testing.libs/pom.xml
  99. +27 −27 tests/org.erlide.testing/junit_runtime.launch
  100. +27 −27 tests/org.erlide.testing/junit_util.launch
  101. +10 −2 tests/org.erlide.ui.tests/.classpath
  102. +4 −3 tests/org.erlide.ui.tests/Erlide_tests.launch
  103. +1 −1 tests/org.erlide.ui.tests/META-INF/MANIFEST.MF
  104. +1 −1 tests/org.erlide.ui.tests/pom.xml
  105. +10 −2 tests/org.erlide.util.tests/.classpath
  106. +1 −1 tests/org.erlide.util.tests/META-INF/MANIFEST.MF
  107. +1 −1 tests/org.erlide.util.tests/pom.xml
@@ -0,0 +1,29 @@
sudo: false

language: java

jdk:
- oraclejdk8

cache:
directories:
- $HOME/.m2

install: true

before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
- bundler config
- ls -al .

script:
- ./mvnw -B -U clean verify -P help -Dmaven.test.failure.ignore=true -DskipTests=true -Dmaven.test.skip=true
- pwd
- ls -al .
# publish update site

after_failure:
- cat /home/travis/build/vladdu/erlide_eclipse/tests/org.erlide.backend.tests/target/work/data/.metadata/.log

@@ -5,11 +5,6 @@
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
@@ -32,7 +27,6 @@
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
@@ -9,9 +9,9 @@ Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Require-Bundle: org.eclipse.ui,
com.google.guava;bundle-version="[15.0.0,16.0.0)",
javax.inject;bundle-version="1.0.0",
org.eclipse.xtend.lib;bundle-version="2.12.0",
org.eclipse.xtend.lib.macro;bundle-version="2.12.0",
org.eclipse.xtext.xbase.lib;bundle-version="2.12.0",
org.eclipse.xtend.lib;bundle-version="2.14.0",
org.eclipse.xtend.lib.macro;bundle-version="2.14.0",
org.eclipse.xtext.xbase.lib;bundle-version="2.14.0",
com.abstratt.graphviz;bundle-version="[2.2.201606,3.0.0)",
com.ericsson.otp.jinterface;bundle-version="1.8.0"
Export-Package: org.erlide.wrangler.refactoring.codeinspection;x-internal:=true,
@@ -20,8 +20,8 @@ Require-Bundle: org.eclipse.ui,
org.eclipse.core.resources,
com.google.guava;bundle-version="[15.0.0,16.0.0)",
javax.inject;bundle-version="1.0.0",
org.eclipse.xtend.lib;bundle-version="2.12.0",
org.eclipse.xtend.lib.macro;bundle-version="2.12.0",
org.eclipse.xtext.xbase.lib;bundle-version="2.12.0",
org.eclipse.xtend.lib;bundle-version="2.14.0",
org.eclipse.xtend.lib.macro;bundle-version="2.14.0",
org.eclipse.xtext.xbase.lib;bundle-version="2.14.0",
com.ericsson.otp.jinterface;bundle-version="1.8.0"
Automatic-Module-Name: org.erlide.wrangler.refactoring.duplicatedcode
@@ -24,9 +24,9 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.9.100,4.0.0)",
org.erlide.runtime;bundle-version="0.32.0",
com.google.guava;bundle-version="[15.0.0,16.0.0)",
javax.inject;bundle-version="1.0.0",
org.eclipse.xtend.lib;bundle-version="2.12.0",
org.eclipse.xtend.lib.macro;bundle-version="2.12.0",
org.eclipse.xtext.xbase.lib;bundle-version="2.12.0",
org.eclipse.xtend.lib;bundle-version="2.14.0",
org.eclipse.xtend.lib.macro;bundle-version="2.14.0",
org.eclipse.xtext.xbase.lib;bundle-version="2.14.0",
com.ericsson.otp.jinterface;bundle-version="1.8.0"
Bundle-ActivationPolicy: lazy
Export-Package: org.erlide.wrangler.refactoring;x-internal:=true,
@@ -2,7 +2,7 @@
<feature
id="org.erlide.product.feature"
label="erlide product feature"
version="0.54.0.qualifier"
version="0.55.0.qualifier"
provider-name="erlide.org project"
plugin="org.erlide.branding">

@@ -11,6 +11,6 @@
</parent>

<artifactId>org.erlide.product.feature</artifactId>
<version>0.54.0-SNAPSHOT</version>
<version>0.55.0-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>
</project>
@@ -2,7 +2,7 @@
<feature
id="org.erlide"
label="Erlang language tools IDE"
version="0.54.0.qualifier"
version="0.55.0.qualifier"
provider-name="%vendorName"
plugin="org.erlide.branding"
image="erlang-64.gif"
@@ -33,7 +33,6 @@ is available from http://www.eclipse.org/legal/epl-v10.html

<url>
<update label="Erlide main update site" url="http://download.erlide.org/update/"/>
<discovery label="Handly" url="https://hudson.eclipse.org/handly/job/0.3.x/lastSuccessfulBuild/artifact/build/repository/"/>
</url>

<includes
@@ -159,13 +158,6 @@ is available from http://www.eclipse.org/legal/epl-v10.html
version="0.0.0"
unpack="false"/>

<plugin
id="org.erlide.server"
download-size="0"
install-size="0"
version="0.0.0"
unpack="false"/>

<plugin
id="org.erlide.jvmcheck"
download-size="0"
@@ -12,7 +12,7 @@
</parent>

<artifactId>org.erlide</artifactId>
<version>0.54.0-SNAPSHOT</version>
<version>0.55.0-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>

</project>
@@ -9,8 +9,8 @@ Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Export-Package: nl.kii.util
Require-Bundle: com.google.guava;bundle-version="[15.0.0,16.0.0)",
javax.inject;bundle-version="1.0.0",
org.eclipse.xtend.lib;bundle-version="2.12.0",
org.eclipse.xtend.lib.macro;bundle-version="2.12.0",
org.eclipse.xtext.xbase.lib;bundle-version="2.12.0"
org.eclipse.xtend.lib;bundle-version="2.14.0",
org.eclipse.xtend.lib.macro;bundle-version="2.14.0",
org.eclipse.xtext.xbase.lib;bundle-version="2.14.0"
Automatic-Module-Name: nl.kii.util

@@ -7,8 +7,8 @@ Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Export-Package: org.erlide.annotations
Require-Bundle: com.google.guava;bundle-version="[15.0.0,16.0.0)",
javax.inject;bundle-version="1.0.0",
org.eclipse.xtend.lib;bundle-version="2.12.0",
org.eclipse.xtend.lib.macro;bundle-version="2.12.0",
org.eclipse.xtext.xbase.lib;bundle-version="2.12.0"
org.eclipse.xtend.lib;bundle-version="2.14.0",
org.eclipse.xtend.lib.macro;bundle-version="2.14.0",
org.eclipse.xtext.xbase.lib;bundle-version="2.14.0"
Automatic-Module-Name: org.erlide.annotations

@@ -5,11 +5,6 @@
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
@@ -35,6 +30,5 @@
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
</natures>
</projectDescription>
@@ -5,11 +5,6 @@
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.xtext.ui.shared.xtextBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
@@ -35,6 +30,5 @@
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>org.eclipse.pde.PluginNature</nature>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.xtext.ui.shared.xtextNature</nature>
</natures>
</projectDescription>
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.erlide.backend;singleton:=true
Bundle-Version: 0.54.0.qualifier
Bundle-Version: 0.55.0.qualifier
Bundle-ClassPath: .
Bundle-Vendor: %providerName
Bundle-Localization: plugin
@@ -30,9 +30,9 @@ Require-Bundle: org.eclipse.core.runtime;bundle-version="3.7.0",
org.erlide.kernel.ide;bundle-version="0.113.0",
com.google.guava;bundle-version="[15.0.0,16.0.0)",
javax.inject;bundle-version="1.0.0",
org.eclipse.xtend.lib;bundle-version="2.12.0",
org.eclipse.xtend.lib.macro;bundle-version="2.12.0",
org.eclipse.xtext.xbase.lib;bundle-version="2.12.0",
org.eclipse.xtend.lib;bundle-version="2.14.0",
org.eclipse.xtend.lib.macro;bundle-version="2.14.0",
org.eclipse.xtext.xbase.lib;bundle-version="2.14.0",
com.ericsson.otp.jinterface;bundle-version="1.8.0"
Bundle-ActivationPolicy: lazy
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
@@ -11,7 +11,7 @@
</parent>

<artifactId>org.erlide.backend</artifactId>
<version>0.54.0-SNAPSHOT</version>
<version>0.55.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>

<build>
@@ -105,7 +105,7 @@ public BackendData(final RuntimeInfo info) {
projects = Lists.newArrayList();
}

private static String getDefaultWorkingDir() {
public static String getDefaultWorkingDir() {
final IWorkspaceRoot wroot = ResourcesPlugin.getWorkspace().getRoot();
return wroot.getLocation().toPortableString();
}
@@ -179,6 +179,7 @@ public ILaunchConfiguration asLaunchConfiguration() {
// !options.contains(BackendOptions.NO_CONSOLE));
workingCopy.setAttribute(ErlRuntimeAttributes.USE_LONG_NAME, hasLongName());
workingCopy.setAttribute(ErlRuntimeAttributes.INTERNAL, isInternal());
workingCopy.setAttribute(ErlRuntimeAttributes.WORKING_DIR, getWorkingDir());

return workingCopy;
} catch (final CoreException e) {
@@ -1,12 +1,10 @@
/*******************************************************************************
* Copyright (c) 2006 Vlad Dumitrescu and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* Copyright (c) 2006 Vlad Dumitrescu and others. All rights reserved. This program and
* the accompanying materials are made available under the terms of the Eclipse Public
* License v1.0 which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Vlad Dumitrescu
* Contributors: Vlad Dumitrescu
*******************************************************************************/
package org.erlide.backend.console;

@@ -33,6 +31,8 @@

public class BackendShell implements IBackendShell {

private static final OtpErlangAtom INPUT = new OtpErlangAtom("input");
private static final OtpErlangAtom STOP = new OtpErlangAtom("stop");
private final IBackend backend;
private OtpErlangPid server;
private final String fId;
@@ -54,17 +54,17 @@ public void open() {

@Override
public void close() {
if (server != null && backend.getOtpRpc() != null) {
backend.getOtpRpc().send(server, new OtpErlangAtom("stop"));
if (server != null && backend!=null && backend.getOtpRpc() != null) {
backend.getOtpRpc().send(server, STOP);
}
server = null;
}

@Override
public void send(final String string) {
if (server != null) {
backend.getOtpRpc().send(server, OtpErlang.mkTuple(new OtpErlangAtom("input"),
new OtpErlangString(string)));
backend.getOtpRpc().send(server,
OtpErlang.mkTuple(INPUT, new OtpErlangString(string)));
} else {
try {
backend.input(string);
@@ -109,8 +109,8 @@ public ErlangDebugTarget(final ILaunch launch, final IBackend backend,
// interpret everything we can
final EnumSet<ErlDebugFlags> debugFlags = backend.getData().getDebugFlags();
final boolean distributed = debugFlags.contains(ErlDebugFlags.DISTRIBUTED_DEBUG);
distributeDebuggerCode();
if (distributed) {
distributeDebuggerCode();
addNodesAsDebugTargets(launch);
}

@@ -493,7 +493,7 @@ private void distributeDebuggerCode() {
final String ver = backend.getRuntime().getVersion().asMajor().toString()
.toLowerCase();
for (final String module : debuggerModules) {
final OtpErlangBinary b = getDebuggerBeam(module, "org.erlide.kernel");
final OtpErlangBinary b = getDebuggerBeam(module, "org.erlide.kernel.debugger");
if (b != null) {
final OtpErlangString filename = new OtpErlangString(module + ".erl");
final OtpErlangTuple t = OtpErlang.mkTuple(new OtpErlangAtom(module),
@@ -568,7 +568,7 @@ private void addNodesAsDebugTargets(final ILaunch aLaunch) {
}

private List<String> getDebuggerModules() {
final Bundle debugger = Platform.getBundle("org.erlide.kernel");
final Bundle debugger = Platform.getBundle("org.erlide.kernel.debugger");
if (debugger == null) {
ErlLogger.warn("engine bundle was not found...");
return new ArrayList<>();
@@ -585,7 +585,7 @@ private void addNodesAsDebugTargets(final ILaunch aLaunch) {

private List<String> getModulesFromBundle(final Bundle bundle, final String ver) {
final List<String> modules = Lists.newArrayList();
final String path = ver == null ? "/debugger" : "/debugger/" + ver;
final String path = ver == null ? "/ebin" : "/ebin/" + ver;
@SuppressWarnings("rawtypes")
final Enumeration beams = bundle.findEntries(path, "*.beam", false);
if (beams == null) {
@@ -109,7 +109,7 @@ protected boolean startErlideApps(final OtpErlangPid jRex, final boolean watch)
case IDE:
site.call("erlide_builder_app", "init", "i",
sysconf.getMaxParallelBuilds());
//site.call("erlide_ide_app", "init", "");
// site.call("erlide_ide_app", "init", "");
break;
default:
}
@@ -178,21 +178,11 @@ public IBackendShell getShell(final String id) {
final IStreamsProxy proxy = getStreamsProxy();
if (proxy != null) {
final IStreamMonitor errorStreamMonitor = proxy.getErrorStreamMonitor();
errorStreamMonitor.addListener(new IStreamListener() {
@Override
public void streamAppended(final String text,
final IStreamMonitor monitor) {
shell.add(text, IoRequestKind.STDERR);
}
});
errorStreamMonitor.addListener(
(text, monitor) -> shell.add(text, IoRequestKind.STDERR));
final IStreamMonitor outputStreamMonitor = proxy.getOutputStreamMonitor();
outputStreamMonitor.addListener(new IStreamListener() {
@Override
public void streamAppended(final String text,
final IStreamMonitor monitor) {
shell.add(text, IoRequestKind.STDOUT);
}
});
outputStreamMonitor.addListener(
(text, monitor) -> shell.add(text, IoRequestKind.STDOUT));
}
return shell;
}
Oops, something went wrong.

0 comments on commit 9965e65

Please sign in to comment.