aboutsummaryrefslogtreecommitdiffstats
path: root/modules/ui-desktop/src/main/java/market/guess
diff options
context:
space:
mode:
authorKostya <mail@sartin.in>2026-08-09 14:46:25 +0300
committerKostya <mail@sartin.in>2026-08-09 14:46:25 +0300
commit34deee1c5ef2df5ba2514f77ec4dfd4a684a9d13 (patch)
tree17d9c867856ff9f1de4a59f63c13d6abf0ecb31e /modules/ui-desktop/src/main/java/market/guess
parent18a9b6e4f3c9f7e034a0c174a5e2cd6c043ee169 (diff)
downloadguess-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/ui-desktop/src/main/java/market/guess')
-rw-r--r--modules/ui-desktop/src/main/java/market/guess/ui/desktop/App.java26
1 files changed, 0 insertions, 26 deletions
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 @@
1package market.guess.ui.desktop;
2
3import javafx.application.Application;
4import javafx.scene.Scene;
5import javafx.scene.control.Label;
6import javafx.scene.layout.StackPane;
7import javafx.stage.Stage;
8
9public 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}