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. --- modules/ui-console/.classpath | 20 ---------------- modules/ui-console/.project | 28 ---------------------- .../src/main/java/market/guess/ui/console/App.java | 7 ------ .../src/test/java/com/example/AppTest.java | 3 --- 4 files changed, 58 deletions(-) delete mode 100644 modules/ui-console/.classpath delete mode 100644 modules/ui-console/.project delete mode 100644 modules/ui-console/src/main/java/market/guess/ui/console/App.java delete mode 100644 modules/ui-console/src/test/java/com/example/AppTest.java (limited to 'modules/ui-console') 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 @@ - - - - - - - - - - - - - - - - - - - - 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 @@ - - - guess-market-ui-console - - - - - - org.eclipse.jdt.core.javabuilder - - - - - - org.eclipse.jdt.core.javanature - - - - 1784965956299 - - 30 - - org.eclipse.core.resources.regexFilterMatcher - node_modules|\.git|__CREATED_BY_JAVA_LANGUAGE_SERVER__ - - - - 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 @@ -package market.guess.ui.console; - -public class App { - public static void main() { - IO.println("Hello World"); - } -} 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 @@ -package com.example; - -public class AppTest {} -- cgit v1.2.3