diff options
| author | Kostya <mail@sartin.in> | 2026-08-09 14:46:25 +0300 |
|---|---|---|
| committer | Kostya <mail@sartin.in> | 2026-08-09 14:46:25 +0300 |
| commit | 34deee1c5ef2df5ba2514f77ec4dfd4a684a9d13 (patch) | |
| tree | 17d9c867856ff9f1de4a59f63c13d6abf0ecb31e /modules | |
| parent | 18a9b6e4f3c9f7e034a0c174a5e2cd6c043ee169 (diff) | |
| download | guess-market-34deee1c5ef2df5ba2514f77ec4dfd4a684a9d13.tar.gz guess-market-34deee1c5ef2df5ba2514f77ec4dfd4a684a9d13.tar.xz guess-market-34deee1c5ef2df5ba2514f77ec4dfd4a684a9d13.zip | |
flatten modules to repo root, vendor deps, repair Eclipse build paths
Move api, engine, ui-console and ui-desktop out of modules/ up to the
repo root and drop the empty exception project (GuessMarketException now
lives in api).
Vendor gson, jaxb, okhttp, openjfx and tomcat under lib/, and group the
JUnit standalone jar into lib/junit/ alongside them.
Rewrite every .classpath: drop the copy-pasted optional="true" that was
masking real build path errors, point the library entries at ../lib/,
and put the JUnit jar on the test source folders so the placeholder
AppTest classes compile.
ui-desktop: take the JavaFX jars off the modulepath (there is no
module-info.java, so module="true" left the packages unresolvable) and
add a Launcher that calls Application.launch, avoiding the "JavaFX
runtime components are missing" check without VM arguments.
engine: add LocalGuessMarketService and the GuessMarketContext provider
interface, and give GuessMarketException the no-arg and cause
constructors they need.
Diffstat (limited to 'modules')
24 files changed, 0 insertions, 401 deletions
diff --git a/modules/api/.classpath b/modules/api/.classpath deleted file mode 100644 index 7f8bc25..0000000 --- a/modules/api/.classpath +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <classpath> | ||
| 3 | <!-- Defines your source folder --> | ||
| 4 | <classpathentry kind="src" output="bin/classes" path="src/main/java"> | ||
| 5 | <attributes> | ||
| 6 | <attribute name="optional" value="true"/> | ||
| 7 | </attributes> | ||
| 8 | </classpathentry> | ||
| 9 | <classpathentry kind="src" output="bin/test-classes" path="src/test/java"> | ||
| 10 | <attributes> | ||
| 11 | <attribute name="optional" value="true"/> | ||
| 12 | <attribute name="test" value="true"/> | ||
| 13 | </attributes> | ||
| 14 | </classpathentry> | ||
| 15 | <!-- Defines the standard Java System Library --> | ||
| 16 | <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
| 17 | <!-- Defines where compiled .class files go --> | ||
| 18 | <classpathentry kind="output" path="bin"/> | ||
| 19 | </classpath> | ||
| 20 | |||
diff --git a/modules/api/.project b/modules/api/.project deleted file mode 100644 index 0dc50c5..0000000 --- a/modules/api/.project +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <projectDescription> | ||
| 3 | <name>guess-market-api</name> | ||
| 4 | <comment></comment> | ||
| 5 | <projects> | ||
| 6 | </projects> | ||
| 7 | <buildSpec> | ||
| 8 | <buildCommand> | ||
| 9 | <name>org.eclipse.jdt.core.javabuilder</name> | ||
| 10 | <arguments> | ||
| 11 | </arguments> | ||
| 12 | </buildCommand> | ||
| 13 | </buildSpec> | ||
| 14 | <natures> | ||
| 15 | <nature>org.eclipse.jdt.core.javanature</nature> | ||
| 16 | </natures> | ||
| 17 | <filteredResources> | ||
| 18 | <filter> | ||
| 19 | <id>1786044291084</id> | ||
| 20 | <name></name> | ||
| 21 | <type>30</type> | ||
| 22 | <matcher> | ||
| 23 | <id>org.eclipse.core.resources.regexFilterMatcher</id> | ||
| 24 | <arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments> | ||
| 25 | </matcher> | ||
| 26 | </filter> | ||
| 27 | </filteredResources> | ||
| 28 | </projectDescription> | ||
diff --git a/modules/api/src/main/java/market/guess/api/Commission.java b/modules/api/src/main/java/market/guess/api/Commission.java deleted file mode 100644 index 96cab8a..0000000 --- a/modules/api/src/main/java/market/guess/api/Commission.java +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | package market.guess.api; | ||
| 2 | |||
| 3 | public record Commission(CommissionChargeType type, int percentage) {} | ||
diff --git a/modules/api/src/main/java/market/guess/api/CommissionChargeType.java b/modules/api/src/main/java/market/guess/api/CommissionChargeType.java deleted file mode 100644 index 75e409b..0000000 --- a/modules/api/src/main/java/market/guess/api/CommissionChargeType.java +++ /dev/null | |||
| @@ -1,6 +0,0 @@ | |||
| 1 | package market.guess.api; | ||
| 2 | |||
| 3 | public enum CommissionChargeType { | ||
| 4 | ON_CLOSE, | ||
| 5 | ON_PURCHASE | ||
| 6 | } | ||
diff --git a/modules/api/src/main/java/market/guess/api/EventDTO.java b/modules/api/src/main/java/market/guess/api/EventDTO.java deleted file mode 100644 index 66b2312..0000000 --- a/modules/api/src/main/java/market/guess/api/EventDTO.java +++ /dev/null | |||
| @@ -1 +0,0 @@ | |||
| 1 | package market.guess.api; | ||
diff --git a/modules/api/src/main/java/market/guess/api/EventStatus.java b/modules/api/src/main/java/market/guess/api/EventStatus.java deleted file mode 100644 index acd7542..0000000 --- a/modules/api/src/main/java/market/guess/api/EventStatus.java +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | package market.guess.api; | ||
| 2 | |||
| 3 | public enum EventStatus { | ||
| 4 | NOT_STARTED, | ||
| 5 | ACTIVE, | ||
| 6 | CLOSED | ||
| 7 | } | ||
diff --git a/modules/api/src/main/java/market/guess/api/LoadResultDTO.java b/modules/api/src/main/java/market/guess/api/LoadResultDTO.java deleted file mode 100644 index cf3630b..0000000 --- a/modules/api/src/main/java/market/guess/api/LoadResultDTO.java +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | package market.guess.api; | ||
| 2 | |||
| 3 | public record LoadResultDTO() {} | ||
diff --git a/modules/api/src/main/java/market/guess/exception/GuessMarketException.java b/modules/api/src/main/java/market/guess/exception/GuessMarketException.java deleted file mode 100644 index 68a3053..0000000 --- a/modules/api/src/main/java/market/guess/exception/GuessMarketException.java +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | package market.guess.exception; | ||
| 2 | |||
| 3 | public class GuessMarketException extends Exception { | ||
| 4 | public GuessMarketException(String message) { | ||
| 5 | super(message); | ||
| 6 | } | ||
| 7 | } | ||
diff --git a/modules/api/src/test/java/market/guess/api/AppTest.java b/modules/api/src/test/java/market/guess/api/AppTest.java deleted file mode 100644 index 0b08c28..0000000 --- a/modules/api/src/test/java/market/guess/api/AppTest.java +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | package com.example; | ||
| 2 | |||
| 3 | public class AppTest {} | ||
diff --git a/modules/engine/.classpath b/modules/engine/.classpath deleted file mode 100644 index 27bd88b..0000000 --- a/modules/engine/.classpath +++ /dev/null | |||
| @@ -1,22 +0,0 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <classpath> | ||
| 3 | <!-- Defines your source folder --> | ||
| 4 | <classpathentry kind="src" output="bin/classes" path="src/main/java"> | ||
| 5 | <attributes> | ||
| 6 | <attribute name="optional" value="true"/> | ||
| 7 | </attributes> | ||
| 8 | </classpathentry> | ||
| 9 | <classpathentry kind="src" output="bin/test-classes" path="src/test/java"> | ||
| 10 | <attributes> | ||
| 11 | <attribute name="optional" value="true"/> | ||
| 12 | <attribute name="test" value="true"/> | ||
| 13 | </attributes> | ||
| 14 | <classpathentry kind="prj" path="/guess-market-api"> | ||
| 15 | </classpathentry> | ||
| 16 | </classpathentry> | ||
| 17 | <!-- Defines the standard Java System Library --> | ||
| 18 | <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
| 19 | <!-- Defines where compiled .class files go --> | ||
| 20 | <classpathentry kind="output" path="bin"/> | ||
| 21 | </classpath> | ||
| 22 | |||
diff --git a/modules/engine/.project b/modules/engine/.project deleted file mode 100644 index 943db42..0000000 --- a/modules/engine/.project +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <projectDescription> | ||
| 3 | <name>gauss-market-engine</name> | ||
| 4 | <comment></comment> | ||
| 5 | <projects> | ||
| 6 | <project>gauss-market-api</project> | ||
| 7 | </projects> | ||
| 8 | <buildSpec> | ||
| 9 | <buildCommand> | ||
| 10 | <name>org.eclipse.jdt.core.javabuilder</name> | ||
| 11 | <arguments></arguments> | ||
| 12 | </buildCommand> | ||
| 13 | </buildSpec> | ||
| 14 | <natures> | ||
| 15 | <nature>org.eclipse.jdt.core.javanature</nature> | ||
| 16 | </natures> | ||
| 17 | <filteredResources> | ||
| 18 | <filter> | ||
| 19 | <id>1784965956299</id> | ||
| 20 | <name></name> | ||
| 21 | <type>30</type> | ||
| 22 | <matcher> | ||
| 23 | <id>org.eclipse.core.resources.regexFilterMatcher</id> | ||
| 24 | <arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments> | ||
| 25 | </matcher> | ||
| 26 | </filter> | ||
| 27 | </filteredResources> | ||
| 28 | </projectDescription> | ||
diff --git a/modules/engine/src/main/java/market/guess/engine/GuessMarketEngine.java b/modules/engine/src/main/java/market/guess/engine/GuessMarketEngine.java deleted file mode 100644 index aab3cf4..0000000 --- a/modules/engine/src/main/java/market/guess/engine/GuessMarketEngine.java +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | package market.guess.engine; | ||
| 2 | |||
| 3 | import market.guess.api.LoadResultDTO; | ||
| 4 | |||
| 5 | public interface GuessMarketEngine { | ||
| 6 | LoadResultDTO loadEvents(); | ||
| 7 | } | ||
diff --git a/modules/engine/src/main/java/market/guess/engine/TradingMechanism.java b/modules/engine/src/main/java/market/guess/engine/TradingMechanism.java deleted file mode 100644 index 2f97a2f..0000000 --- a/modules/engine/src/main/java/market/guess/engine/TradingMechanism.java +++ /dev/null | |||
| @@ -1,15 +0,0 @@ | |||
| 1 | package market.guess.engine; | ||
| 2 | |||
| 3 | import java.math.BigDecimal; | ||
| 4 | |||
| 5 | public interface TradingMechanism { | ||
| 6 | BigDecimal initialCost(); | ||
| 7 | |||
| 8 | void onOpen(); | ||
| 9 | |||
| 10 | void submit(); | ||
| 11 | |||
| 12 | void marketState(); | ||
| 13 | |||
| 14 | void settle(); | ||
| 15 | } | ||
diff --git a/modules/engine/src/main/java/market/guess/engine/mechanism/LmsrTradingMechanism.java b/modules/engine/src/main/java/market/guess/engine/mechanism/LmsrTradingMechanism.java deleted file mode 100644 index 99a26ab..0000000 --- a/modules/engine/src/main/java/market/guess/engine/mechanism/LmsrTradingMechanism.java +++ /dev/null | |||
| @@ -1,37 +0,0 @@ | |||
| 1 | package market.guess.engine.mechanism; | ||
| 2 | |||
| 3 | import java.math.BigDecimal; | ||
| 4 | import market.guess.engine.TradingMechanism; | ||
| 5 | |||
| 6 | public class LmsrTradingMechanism implements TradingMechanism { | ||
| 7 | |||
| 8 | @Override | ||
| 9 | public BigDecimal initialCost() { | ||
| 10 | // TODO Auto-generated method stub | ||
| 11 | throw new UnsupportedOperationException("Unimplemented method 'initialCost'"); | ||
| 12 | } | ||
| 13 | |||
| 14 | @Override | ||
| 15 | public void onOpen() { | ||
| 16 | // TODO Auto-generated method stub | ||
| 17 | throw new UnsupportedOperationException("Unimplemented method 'onOpen'"); | ||
| 18 | } | ||
| 19 | |||
| 20 | @Override | ||
| 21 | public void submit() { | ||
| 22 | // TODO Auto-generated method stub | ||
| 23 | throw new UnsupportedOperationException("Unimplemented method 'submit'"); | ||
| 24 | } | ||
| 25 | |||
| 26 | @Override | ||
| 27 | public void marketState() { | ||
| 28 | // TODO Auto-generated method stub | ||
| 29 | throw new UnsupportedOperationException("Unimplemented method 'marketState'"); | ||
| 30 | } | ||
| 31 | |||
| 32 | @Override | ||
| 33 | public void settle() { | ||
| 34 | // TODO Auto-generated method stub | ||
| 35 | throw new UnsupportedOperationException("Unimplemented method 'settle'"); | ||
| 36 | } | ||
| 37 | } | ||
diff --git a/modules/engine/src/main/java/market/guess/engine/mechanism/OrderBookMechanism.java b/modules/engine/src/main/java/market/guess/engine/mechanism/OrderBookMechanism.java deleted file mode 100644 index be675ba..0000000 --- a/modules/engine/src/main/java/market/guess/engine/mechanism/OrderBookMechanism.java +++ /dev/null | |||
| @@ -1,37 +0,0 @@ | |||
| 1 | package market.guess.engine.mechanism; | ||
| 2 | |||
| 3 | import java.math.BigDecimal; | ||
| 4 | import market.guess.engine.TradingMechanism; | ||
| 5 | |||
| 6 | public class OrderBookMechanism implements TradingMechanism { | ||
| 7 | |||
| 8 | @Override | ||
| 9 | public BigDecimal initialCost() { | ||
| 10 | // TODO Auto-generated method stub | ||
| 11 | throw new UnsupportedOperationException("Unimplemented method 'initialCost'"); | ||
| 12 | } | ||
| 13 | |||
| 14 | @Override | ||
| 15 | public void onOpen() { | ||
| 16 | // TODO Auto-generated method stub | ||
| 17 | throw new UnsupportedOperationException("Unimplemented method 'onOpen'"); | ||
| 18 | } | ||
| 19 | |||
| 20 | @Override | ||
| 21 | public void submit() { | ||
| 22 | // TODO Auto-generated method stub | ||
| 23 | throw new UnsupportedOperationException("Unimplemented method 'submit'"); | ||
| 24 | } | ||
| 25 | |||
| 26 | @Override | ||
| 27 | public void marketState() { | ||
| 28 | // TODO Auto-generated method stub | ||
| 29 | throw new UnsupportedOperationException("Unimplemented method 'marketState'"); | ||
| 30 | } | ||
| 31 | |||
| 32 | @Override | ||
| 33 | public void settle() { | ||
| 34 | // TODO Auto-generated method stub | ||
| 35 | throw new UnsupportedOperationException("Unimplemented method 'settle'"); | ||
| 36 | } | ||
| 37 | } | ||
diff --git a/modules/engine/src/test/java/market/guess/engine/AppTest.java b/modules/engine/src/test/java/market/guess/engine/AppTest.java deleted file mode 100644 index b4531c0..0000000 --- a/modules/engine/src/test/java/market/guess/engine/AppTest.java +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | package market.guess.engine; | ||
| 2 | |||
| 3 | public class AppTest {} | ||
diff --git a/modules/exception/.project b/modules/exception/.project deleted file mode 100644 index 5af632c..0000000 --- a/modules/exception/.project +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <projectDescription> | ||
| 3 | <name>guess-market-exception</name> | ||
| 4 | <comment></comment> | ||
| 5 | <projects> | ||
| 6 | </projects> | ||
| 7 | <buildSpec> | ||
| 8 | <buildCommand> | ||
| 9 | <name>org.eclipse.jdt.core.javabuilder</name> | ||
| 10 | <arguments> | ||
| 11 | </arguments> | ||
| 12 | </buildCommand> | ||
| 13 | </buildSpec> | ||
| 14 | <natures> | ||
| 15 | <nature>org.eclipse.jdt.core.javanature</nature> | ||
| 16 | </natures> | ||
| 17 | <filteredResources> | ||
| 18 | <filter> | ||
| 19 | <id>1784965956299</id> | ||
| 20 | <name></name> | ||
| 21 | <type>30</type> | ||
| 22 | <matcher> | ||
| 23 | <id>org.eclipse.core.resources.regexFilterMatcher</id> | ||
| 24 | <arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments> | ||
| 25 | </matcher> | ||
| 26 | </filter> | ||
| 27 | </filteredResources> | ||
| 28 | </projectDescription> | ||
diff --git a/modules/ui-console/.classpath b/modules/ui-console/.classpath deleted file mode 100644 index 7f8bc25..0000000 --- a/modules/ui-console/.classpath +++ /dev/null | |||
| @@ -1,20 +0,0 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <classpath> | ||
| 3 | <!-- Defines your source folder --> | ||
| 4 | <classpathentry kind="src" output="bin/classes" path="src/main/java"> | ||
| 5 | <attributes> | ||
| 6 | <attribute name="optional" value="true"/> | ||
| 7 | </attributes> | ||
| 8 | </classpathentry> | ||
| 9 | <classpathentry kind="src" output="bin/test-classes" path="src/test/java"> | ||
| 10 | <attributes> | ||
| 11 | <attribute name="optional" value="true"/> | ||
| 12 | <attribute name="test" value="true"/> | ||
| 13 | </attributes> | ||
| 14 | </classpathentry> | ||
| 15 | <!-- Defines the standard Java System Library --> | ||
| 16 | <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
| 17 | <!-- Defines where compiled .class files go --> | ||
| 18 | <classpathentry kind="output" path="bin"/> | ||
| 19 | </classpath> | ||
| 20 | |||
diff --git a/modules/ui-console/.project b/modules/ui-console/.project deleted file mode 100644 index 9e047cb..0000000 --- a/modules/ui-console/.project +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <projectDescription> | ||
| 3 | <name>guess-market-ui-console</name> | ||
| 4 | <comment></comment> | ||
| 5 | <projects> | ||
| 6 | </projects> | ||
| 7 | <buildSpec> | ||
| 8 | <buildCommand> | ||
| 9 | <name>org.eclipse.jdt.core.javabuilder</name> | ||
| 10 | <arguments> | ||
| 11 | </arguments> | ||
| 12 | </buildCommand> | ||
| 13 | </buildSpec> | ||
| 14 | <natures> | ||
| 15 | <nature>org.eclipse.jdt.core.javanature</nature> | ||
| 16 | </natures> | ||
| 17 | <filteredResources> | ||
| 18 | <filter> | ||
| 19 | <id>1784965956299</id> | ||
| 20 | <name></name> | ||
| 21 | <type>30</type> | ||
| 22 | <matcher> | ||
| 23 | <id>org.eclipse.core.resources.regexFilterMatcher</id> | ||
| 24 | <arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments> | ||
| 25 | </matcher> | ||
| 26 | </filter> | ||
| 27 | </filteredResources> | ||
| 28 | </projectDescription> | ||
diff --git a/modules/ui-console/src/main/java/market/guess/ui/console/App.java b/modules/ui-console/src/main/java/market/guess/ui/console/App.java deleted file mode 100644 index 06be86d..0000000 --- a/modules/ui-console/src/main/java/market/guess/ui/console/App.java +++ /dev/null | |||
| @@ -1,7 +0,0 @@ | |||
| 1 | package market.guess.ui.console; | ||
| 2 | |||
| 3 | public class App { | ||
| 4 | public static void main() { | ||
| 5 | IO.println("Hello World"); | ||
| 6 | } | ||
| 7 | } | ||
diff --git a/modules/ui-console/src/test/java/com/example/AppTest.java b/modules/ui-console/src/test/java/com/example/AppTest.java deleted file mode 100644 index 0b08c28..0000000 --- a/modules/ui-console/src/test/java/com/example/AppTest.java +++ /dev/null | |||
| @@ -1,3 +0,0 @@ | |||
| 1 | package com.example; | ||
| 2 | |||
| 3 | public class AppTest {} | ||
diff --git a/modules/ui-desktop/.classpath b/modules/ui-desktop/.classpath deleted file mode 100644 index 7d4bc5c..0000000 --- a/modules/ui-desktop/.classpath +++ /dev/null | |||
| @@ -1,34 +0,0 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <classpath> | ||
| 3 | <!-- Defines your source folder --> | ||
| 4 | <classpathentry kind="src" output="bin/classes" path="src/main/java"> | ||
| 5 | <attributes> | ||
| 6 | <attribute name="optional" value="true"/> | ||
| 7 | </attributes> | ||
| 8 | </classpathentry> | ||
| 9 | <classpathentry kind="src" output="bin/test-classes" path="src/test/java"> | ||
| 10 | <attributes> | ||
| 11 | <attribute name="optional" value="true"/> | ||
| 12 | <attribute name="test" value="true"/> | ||
| 13 | </attributes> | ||
| 14 | </classpathentry> | ||
| 15 | <!-- Defines the standard Java System Library --> | ||
| 16 | <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/> | ||
| 17 | <!-- Defines where compiled .class files go --> | ||
| 18 | <classpathentry kind="output" path="bin"/> | ||
| 19 | |||
| 20 | <!-- Required OpenJFX JARs explicitly placed on the Modulepath --> | ||
| 21 | <classpathentry kind="lib" path="/usr/share/openjfx/lib/javafx.base.jar"> | ||
| 22 | <attributes><attribute name="module" value="true"/></attributes> | ||
| 23 | </classpathentry> | ||
| 24 | <classpathentry kind="lib" path="/usr/share/openjfx/lib/javafx.controls.jar"> | ||
| 25 | <attributes><attribute name="module" value="true"/></attributes> | ||
| 26 | </classpathentry> | ||
| 27 | <classpathentry kind="lib" path="/usr/share/openjfx/lib/javafx.graphics.jar"> | ||
| 28 | <attributes><attribute name="module" value="true"/></attributes> | ||
| 29 | </classpathentry> | ||
| 30 | <classpathentry kind="lib" path="/usr/share/openjfx/lib/javafx.fxml.jar"> | ||
| 31 | <attributes><attribute name="module" value="true"/></attributes> | ||
| 32 | </classpathentry> | ||
| 33 | </classpath> | ||
| 34 | |||
diff --git a/modules/ui-desktop/.project b/modules/ui-desktop/.project deleted file mode 100644 index e421bbf..0000000 --- a/modules/ui-desktop/.project +++ /dev/null | |||
| @@ -1,28 +0,0 @@ | |||
| 1 | <?xml version="1.0" encoding="UTF-8"?> | ||
| 2 | <projectDescription> | ||
| 3 | <name>guess-market-ui-desktop</name> | ||
| 4 | <comment></comment> | ||
| 5 | <projects> | ||
| 6 | </projects> | ||
| 7 | <buildSpec> | ||
| 8 | <buildCommand> | ||
| 9 | <name>org.eclipse.jdt.core.javabuilder</name> | ||
| 10 | <arguments> | ||
| 11 | </arguments> | ||
| 12 | </buildCommand> | ||
| 13 | </buildSpec> | ||
| 14 | <natures> | ||
| 15 | <nature>org.eclipse.jdt.core.javanature</nature> | ||
| 16 | </natures> | ||
| 17 | <filteredResources> | ||
| 18 | <filter> | ||
| 19 | <id>1786044291088</id> | ||
| 20 | <name></name> | ||
| 21 | <type>30</type> | ||
| 22 | <matcher> | ||
| 23 | <id>org.eclipse.core.resources.regexFilterMatcher</id> | ||
| 24 | <arguments>node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__</arguments> | ||
| 25 | </matcher> | ||
| 26 | </filter> | ||
| 27 | </filteredResources> | ||
| 28 | </projectDescription> | ||
diff --git a/modules/ui-desktop/src/main/java/market/guess/ui/desktop/App.java b/modules/ui-desktop/src/main/java/market/guess/ui/desktop/App.java deleted file mode 100644 index 698cdd7..0000000 --- a/modules/ui-desktop/src/main/java/market/guess/ui/desktop/App.java +++ /dev/null | |||
| @@ -1,26 +0,0 @@ | |||
| 1 | package market.guess.ui.desktop; | ||
| 2 | |||
| 3 | import javafx.application.Application; | ||
| 4 | import javafx.scene.Scene; | ||
| 5 | import javafx.scene.control.Label; | ||
| 6 | import javafx.scene.layout.StackPane; | ||
| 7 | import javafx.stage.Stage; | ||
| 8 | |||
| 9 | public class App extends Application { | ||
| 10 | public static void main(String[] args) { | ||
| 11 | launch(); | ||
| 12 | } | ||
| 13 | |||
| 14 | @Override | ||
| 15 | public void start(Stage stage) throws Exception { | ||
| 16 | var javaVersion = System.getProperty("java.version"); | ||
| 17 | var openjfxVersion = System.getProperty("javafx.version"); | ||
| 18 | |||
| 19 | var label = | ||
| 20 | new Label("Hello. JavaFX " + openjfxVersion + ", running on Java " + javaVersion + "."); | ||
| 21 | var scene = new Scene(new StackPane(label), 640, 480); | ||
| 22 | |||
| 23 | stage.setScene(scene); | ||
| 24 | stage.show(); | ||
| 25 | } | ||
| 26 | } | ||