From 34deee1c5ef2df5ba2514f77ec4dfd4a684a9d13 Mon Sep 17 00:00:00 2001 From: Kostya Date: Sun, 9 Aug 2026 14:46:25 +0300 Subject: 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. --- .../src/main/java/market/guess/ui/desktop/App.java | 26 ---------------------- 1 file changed, 26 deletions(-) delete mode 100644 modules/ui-desktop/src/main/java/market/guess/ui/desktop/App.java (limited to 'modules/ui-desktop/src/main/java') 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 @@ -package market.guess.ui.desktop; - -import javafx.application.Application; -import javafx.scene.Scene; -import javafx.scene.control.Label; -import javafx.scene.layout.StackPane; -import javafx.stage.Stage; - -public class App extends Application { - public static void main(String[] args) { - launch(); - } - - @Override - public void start(Stage stage) throws Exception { - var javaVersion = System.getProperty("java.version"); - var openjfxVersion = System.getProperty("javafx.version"); - - var label = - new Label("Hello. JavaFX " + openjfxVersion + ", running on Java " + javaVersion + "."); - var scene = new Scene(new StackPane(label), 640, 480); - - stage.setScene(scene); - stage.show(); - } -} -- cgit v1.2.3