Skip to content
This repository was archived by the owner on Oct 21, 2025. It is now read-only.

Commit 123b7a0

Browse files
committed
Remove frontEnd (no idea why it was still here), fixed palladio dependency
1 parent ee11fa1 commit 123b7a0

11 files changed

Lines changed: 537 additions & 659 deletions

File tree

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
<?xml version="1.0" encoding="UTF-8"?>
2-
<classpath>
3-
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17">
4-
<attributes>
5-
<attribute name="module" value="true"/>
6-
</attributes>
7-
</classpathentry>
8-
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
9-
<classpathentry kind="src" path="src"/>
10-
<classpathentry excluding="**/node_modules/" kind="src" path="resources"/>
11-
<classpathentry kind="output" path="bin"/>
12-
</classpath>
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<classpath>
3+
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17">
4+
<attributes>
5+
<attribute name="module" value="true"/>
6+
</attributes>
7+
</classpathentry>
8+
<classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
9+
<classpathentry kind="src" path="src"/>
10+
<classpathentry kind="output" path="bin"/>
11+
</classpath>

bundles/org.dataflowanalysis.standalone/META-INF/MANIFEST.MF

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ Require-Bundle: org.dataflowanalysis.dfd.datadictionary;bundle-version="2.0.0",
2323
org.dataflowanalysis.analysis.dfd;bundle-version="3.0.0",
2424
org.dataflowanalysis.converter;bundle-version="3.0.0",
2525
org.dataflowanalysis.pcm.extension.nodecharacteristics;bundle-version="0.1.0",
26-
org.dataflowanalysis.analysis.pcm
26+
org.dataflowanalysis.analysis.pcm,
27+
org.palladiosimulator.commons.stoex;bundle-version="5.2.1",
28+
de.uka.ipd.sdq.stoex.analyser;bundle-version="5.2.1"
2729
Automatic-Module-Name: DataFlowAnalalysisStandalone
2830
Bundle-RequiredExecutionEnvironment: JavaSE-17
2931
Export-Package:

bundles/org.dataflowanalysis.standalone/build.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
source.. = src/, resources/
1+
source.. = src/
22
output.. = bin/
33
bin.includes = META-INF/,\
44
.,\
Submodule WebEditor deleted from 09463bb
Lines changed: 40 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,46 +1,40 @@
1-
package org.dataflowanalysis.standalone;
2-
3-
import java.util.Scanner;
4-
5-
import org.dataflowanalysis.standalone.frontend.FrontendUtils;
6-
import org.dataflowanalysis.standalone.websocket.WebSocketServerUtils;
7-
import org.eclipse.equinox.app.IApplication;
8-
import org.eclipse.equinox.app.IApplicationContext;
9-
10-
public class Application implements IApplication {
11-
@Override
12-
public Object start(IApplicationContext context) throws Exception {
13-
try {
14-
15-
Thread frontend = FrontendUtils.startFrontendServerForApplication();
16-
Thread webSocketServer = WebSocketServerUtils.startWebSocketServer();
17-
18-
19-
Scanner scanner = new Scanner(System.in);
20-
String input = "";
21-
22-
System.out.println("Type 'exit' to quit the program.");
23-
24-
// Loop until user types "exit"
25-
26-
27-
while(frontend.isAlive() || webSocketServer.isAlive()) {
28-
while (!input.equalsIgnoreCase("exit")) {
29-
input = scanner.nextLine();
30-
}
31-
FrontendUtils.stopFrontendServer();
32-
scanner.close();
33-
return IApplication.EXIT_OK;
34-
};
35-
scanner.close();
36-
} catch (Exception e) {
37-
e.printStackTrace();
38-
}
39-
return IApplication.EXIT_OK;
40-
}
41-
42-
@Override
43-
public void stop() {
44-
FrontendUtils.stopFrontendServer();
45-
}
46-
}
1+
package org.dataflowanalysis.standalone;
2+
3+
import java.util.Scanner;
4+
5+
import org.dataflowanalysis.standalone.websocket.WebSocketServerUtils;
6+
import org.eclipse.equinox.app.IApplication;
7+
import org.eclipse.equinox.app.IApplicationContext;
8+
9+
public class Application implements IApplication {
10+
@Override
11+
public Object start(IApplicationContext context) throws Exception {
12+
try {
13+
Thread webSocketServer = WebSocketServerUtils.startWebSocketServer();
14+
15+
Scanner scanner = new Scanner(System.in);
16+
String input = "";
17+
18+
System.out.println("Type 'exit' to quit the program.");
19+
20+
// Loop until user types "exit"
21+
22+
while(webSocketServer.isAlive()) {
23+
while (!input.equalsIgnoreCase("exit")) {
24+
input = scanner.nextLine();
25+
}
26+
scanner.close();
27+
return IApplication.EXIT_OK;
28+
};
29+
scanner.close();
30+
} catch (Exception e) {
31+
e.printStackTrace();
32+
}
33+
return IApplication.EXIT_OK;
34+
}
35+
36+
@Override
37+
public void stop() {
38+
39+
}
40+
}
Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,17 @@
1-
package org.dataflowanalysis.standalone;
2-
3-
import org.dataflowanalysis.standalone.frontend.FrontendUtils;
4-
import org.dataflowanalysis.standalone.websocket.WebSocketServerUtils;
5-
6-
public class Main {
7-
public static void main(String[] args) {
8-
try {
9-
Thread frontEnd = FrontendUtils.startFrontendServer();
10-
Thread webSocketServer = WebSocketServerUtils.startWebSocketServer();
11-
12-
while(frontEnd.isAlive() || webSocketServer.isAlive());
13-
14-
} catch (Exception e) {
15-
e.printStackTrace();
16-
}
17-
18-
}
19-
}
1+
package org.dataflowanalysis.standalone;
2+
3+
import org.dataflowanalysis.standalone.websocket.WebSocketServerUtils;
4+
5+
public class Main {
6+
public static void main(String[] args) {
7+
try {
8+
Thread webSocketServer = WebSocketServerUtils.startWebSocketServer();
9+
10+
while(webSocketServer.isAlive());
11+
12+
} catch (Exception e) {
13+
e.printStackTrace();
14+
}
15+
16+
}
17+
}

0 commit comments

Comments
 (0)