Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Clean (remove previous versions of source).
  2. Install (build new version of source)
  3. Database Setup (deploy a database with default settings, e.g. default password)
  4. Launch server in Jetty Jetty-based server launch (Jetty is an alternative to Tomcat suited to debuggingdevelopment)

Now, we could have combined steps 1 & 2 above, but splitting them allows incremental compilation. In contrast, combining them will make for a very slow build.  Also, you only need to setup the database once after doing a Clean.

WRT to debugging: Each time you create a Run Configuration, a duplicate Debug Configuration is created. To debug the server, use the Jetty-based server lauch. You will have to tweak this Debug Configuration for source-level debugging: Use Run -> Debug Configurations, and check the Resolve Workspace Artifacts flag.

Creating a Run Configuration

...