Skip to content

Commit

Permalink
removed org.eclipse.glsp.layout
Browse files Browse the repository at this point in the history
Issue #288
  • Loading branch information
rsoika committed Sep 13, 2023
1 parent 93a8e54 commit 93719e5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
20 changes: 1 addition & 19 deletions open-bpmn.glsp-server/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,25 +31,7 @@
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.server.websocket</artifactId>
<version>${glsp-server-version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.glsp</groupId>
<artifactId>org.eclipse.glsp.layout</artifactId>
<version>${glsp-server-version}</version>
</dependency>
<dependency>
<groupId>org.eclipse.elk</groupId>
<artifactId>org.eclipse.elk.alg.layered</artifactId>
<version>${elk.version}</version>
<exclusions>
<!--ELK still has a log4J 1.2 dependency. So we exclude it -->
<exclusion>
<groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion>
</exclusions>
</dependency>

</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
package org.openbpmn.glsp.launch;

import org.apache.commons.cli.ParseException;
import org.eclipse.elk.alg.layered.options.LayeredMetaDataProvider;
import org.eclipse.glsp.layout.ElkLayoutEngine;
import org.eclipse.glsp.server.di.ServerModule;
import org.eclipse.glsp.server.launch.GLSPServerLauncher;
import org.eclipse.glsp.server.launch.SocketGLSPServerLauncher;
Expand All @@ -29,13 +27,10 @@ public final class BPMNServerLauncher {
private BPMNServerLauncher() {
}

@SuppressWarnings("uncommentedmain")
public static void main(final String[] args) {
String processName = "open-bpmn.server-X.X.X-glsp.jar";
try {
BPMNCLIParser parser = new BPMNCLIParser(args, processName);
ElkLayoutEngine.initialize(new LayeredMetaDataProvider());

int port = parser.parsePort();
ServerModule bpmnServerModule = new BPMNServerModule()
.configureDiagramModule(new BPMNDiagramModule());
Expand All @@ -45,7 +40,6 @@ public static void main(final String[] args) {
: new SocketGLSPServerLauncher(bpmnServerModule);

launcher.start("localhost", port, parser);

} catch (ParseException ex) {
ex.printStackTrace();
System.out.println();
Expand Down

0 comments on commit 93719e5

Please sign in to comment.