aboutsummaryrefslogtreecommitdiffstats
path: root/ui-fx/src/main/resources/market/guess/ui/desktop
diff options
context:
space:
mode:
authorKostya <mail@sartin.in>2026-10-13 19:19:40 +0300
committerKostya <mail@sartin.in>2026-10-13 19:20:05 +0300
commitda4f3ceb1fc1f317a3cca788b6c9b78ffab12de2 (patch)
treee8c70414409640309461c1b7fabbd084c892eb03 /ui-fx/src/main/resources/market/guess/ui/desktop
parent4edb27d378e8b79931ef6a6abebfda66f894d538 (diff)
downloadguess-market-da4f3ceb1fc1f317a3cca788b6c9b78ffab12de2.tar.gz
guess-market-da4f3ceb1fc1f317a3cca788b6c9b78ffab12de2.tar.xz
guess-market-da4f3ceb1fc1f317a3cca788b6c9b78ffab12de2.zip
tools: package the server as a WAR and the client as a directory
The Ex3 submission is exactly one WAR for Tomcat's webapps/ plus a directory holding the client, its jars and its batch file. package.sh now stages both under build/dist/ex3. The WAR is named guess-market.war after the context path the client expects, and carries the api and service jars with gson and JAXB; Tomcat only has to provide the servlet API. The client directory holds ui-client, api, ui-fx, gson, OkHttp and JavaFX, and nothing of the engine. An executable's Class-Path used to name every module. List only the modules it depends on, so the client jar no longer points at service.jar, and stop producing a plain jar for the server module. Add tomcat.sh to try the result by hand: it copies the packaged WAR into a local Tomcat ($CATALINA_HOME, or the newest C:\tomcat\apache-tomcat-*) and runs it in the foreground.
Diffstat (limited to 'ui-fx/src/main/resources/market/guess/ui/desktop')
0 files changed, 0 insertions, 0 deletions