Turnaround
This is how you would typically work on a QWT application:
- build everything:
mvn clean compile eclipse:eclipse - start the application:
mvn qx:run - open a web browser and point it to
http://localhost:8080/ - open Eclipse and start editing
Once this is done, the rest of the development process is pretty much handled automatically:
Under Linux or Mac OS X just edit a class in Eclipse, save it and press reload in your browser:
- Eclipse compiles the class to Java bytecode
- Tomcat recognizes the change and reloads the application
- QWT compiles the class to JavaScript
Under Microsoft Windows you need to run mvn compile qx:run after source changes. This is because Eclipse-compiled class files cannot be symlinked into the web application.
Advanced: You can even change a dependency jar if the version number stays the same: Just run mvn install in your dependency project and press reload in your browser. Dependencies are symlinked into the qooxdoo application, so Tomcat will recognize the change.