Skip to content
Snippets Groups Projects
Commit cfdd9ff3 authored by René Schöne's avatar René Schöne
Browse files

Split statemachine in task and solution.

parent a3e0a046
Branches
No related tags found
No related merge requests found
Showing
with 5 additions and 4 deletions
rootProject.name = 'ifm-refactoring-jastadd' rootProject.name = 'ifm-refactoring-jastadd'
include 'statemachine.base' include 'statemachine.task'
include 'statemachine.solution'
include 'statemachine.drast' include 'statemachine.drast'
include 'ragdoc-view' include 'ragdoc-view'
...@@ -10,7 +10,7 @@ sourceCompatibility = 1.8 ...@@ -10,7 +10,7 @@ sourceCompatibility = 1.8
repositories.mavenCentral() repositories.mavenCentral()
dependencies { dependencies {
implementation project(':statemachine.base') implementation project(':statemachine.solution')
implementation files('../libs/DrAST-1.2.2.jar') implementation files('../libs/DrAST-1.2.2.jar')
implementation fileTree(dir: "${System.properties['java.home']}", include: '**/jfxrt.jar') implementation fileTree(dir: "${System.properties['java.home']}", include: '**/jfxrt.jar')
} }
...@@ -21,7 +21,7 @@ run { ...@@ -21,7 +21,7 @@ run {
mainClassName = 'de.tudresden.inf.st.statemachine.DrAstRunner' mainClassName = 'de.tudresden.inf.st.statemachine.DrAstRunner'
standardInput = System.in standardInput = System.in
} }
run.dependsOn ':statemachine.base:jar' run.dependsOn ':statemachine.solution:jar'
run.doFirst { environment 'JAVA_TOOL_OPTIONS', '-Dlog4j2.disableJmx=true' } run.doFirst { environment 'JAVA_TOOL_OPTIONS', '-Dlog4j2.disableJmx=true' }
task jarDrAst(type: Jar, dependsOn: ':statemachine.base:jar') { task jarDrAst(type: Jar, dependsOn: ':statemachine.base:jar') {
......
...@@ -37,7 +37,7 @@ public class DrAstRunner extends DrASTGUI { ...@@ -37,7 +37,7 @@ public class DrAstRunner extends DrASTGUI {
private static void openView() { private static void openView() {
guiHasBeenCreated = true; guiHasBeenCreated = true;
DrASTSettings.put(DrASTSettings.PREV_JAR, "../statemachine.base/build/libs/statemachine.base-0.1.jar"); DrASTSettings.put(DrASTSettings.PREV_JAR, "../statemachine.solution/build/libs/statemachine.solution-0.1.jar");
DrASTSettings.put(DrASTSettings.PREV_TAIL_ARGS, "-Dlog4j2.disable.jmx=true"); DrASTSettings.put(DrASTSettings.PREV_TAIL_ARGS, "-Dlog4j2.disable.jmx=true");
launch(); launch();
con.onApplicationClose(); con.onApplicationClose();
......
File moved
File moved
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment