Skip to content
This repository has been archived by the owner on Sep 24, 2024. It is now read-only.

Folders

nielsbaloe edited this page Aug 14, 2018 · 1 revision

When you start the server, this happens when the VertxUI handler is added to the webserver:

  • Vertx will serves files from the targetfolder (if none set, it will use folder "build/development" (when debug is on) or folder "build/production").
  • VertxUI starts looking for a sourcefolder ("src", "src/main", "src/main/java", "src/test"or "src/test/java").
  • If it is found (usually is within an IDE), then it continues, otherwise we're only serving files and no other steps below follow, we're done ("production").
  • If debug, FigWheely starts and watches for changes in the sourcefolder in a seperate thread.
  • VertxUI generates an index.html with a waiting sign and auto-reload, inside the targetfolder.
  • VertxUI writes a gwTemp.gwt.xml in the sourcefolder (NOT the targetfolder!) because GWT needs that (ugly it is).
  • GWT transpiles from source into the targetfolder, writing in %targetfolder%/a/....
  • VertxUI generates a normal functioning index.html which imports %targetfolder%/a/nocache.js
  • Done.
Clone this wiki locally