Examples
QWT includes various example applications. You can browse them online, or offline in your QWT install directory under qwt/application.
qx:new
You can use the qx:new plugin to create a new application based on an example application. For example, the following creates a new application based on of the grep example:
mvn qx:new -Dapplication=grep -Dpackage=org.qooxdoo.grep cd grep mvn compile qx:run firefox localhost:8080
qx:new takes an application argument and a package argument.
The application argument specifies the example to base the new application on. This argument is optional, if not specified, the new application is based on the hello example.
The package argument specifies the package containing the application classes. This argument is optional, it defaults to org.qooxdoo.sample.
Note that the last segment of the package determines the directory for the new application. E.g., if you specify com.foo.bar as your package, the new application is placed in a directory bar inside the current working directory.
The package argument also determins the group- and artifact id of the new application: the last segment gives the artifactId, the rest gives the groupId.