Permalink
Browse files

update kernel to 0.115.3

  • Loading branch information...
vladdu committed Jan 5, 2019
1 parent 89b975f commit e63e12dc7456b2ea2108e86124037f2711d2adb3
@@ -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) {
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<?pde?>
<!-- generated with https://github.com/eclipse-cbi/targetplatform-dsl -->
<target name="Erlide target" sequenceNumber="1546699173">
<target name="Erlide target" sequenceNumber="1546701821">
<locations>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
<unit id="org.eclipse.e4.rcp.feature.group" version="0.0.0"/>
@@ -28,7 +28,7 @@
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
<unit id="org.erlide.kernel.feature.feature.group" version="0.0.0"/>
<repository location="http://download.erlide.org/update/kernel/0.115.1"/>
<repository location="http://download.erlide.org/update/kernel/0.115.3"/>
</location>
<location includeMode="planner" includeAllPlatforms="false" includeSource="true" includeConfigurePhase="true" type="InstallableUnit">
<unit id="com.google.gson" version="2.7.0.v20170129-0911"/>
@@ -26,7 +26,7 @@ location "http://download.eclipse.org/lsp4j/updates/releases/0.4.0/"{
org.eclipse.lsp4j.sdk.feature.group lazy
}

location "http://download.erlide.org/update/kernel/0.115.1" {
location "http://download.erlide.org/update/kernel/0.115.3" {
org.erlide.kernel.feature.feature.group lazy
}

Oops, something went wrong.

0 comments on commit e63e12d

Please sign in to comment.