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. --- .../java/market/guess/exception/GuessMarketException.java | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 api/src/main/java/market/guess/exception/GuessMarketException.java (limited to 'api/src/main/java/market/guess/exception') diff --git a/api/src/main/java/market/guess/exception/GuessMarketException.java b/api/src/main/java/market/guess/exception/GuessMarketException.java new file mode 100644 index 0000000..e2e486c --- /dev/null +++ b/api/src/main/java/market/guess/exception/GuessMarketException.java @@ -0,0 +1,13 @@ +package market.guess.exception; + +public class GuessMarketException extends Exception { + public GuessMarketException() {} + + public GuessMarketException(String message) { + super(message); + } + + public GuessMarketException(String message, Throwable cause) { + super(message, cause); + } +} -- cgit v1.2.3