...
- File > Import > Maven > Existing Maven Projects
- browse to
trunk/support/prototype
- specify the Advanced > Name Template = groupId.artifactId
- otherwise the project names in launch configs will be wrong.
- Refresh
- OK
- browse to
- Project > Build All
- (or just turn on Project > Build Automatically)
Running the Demo App
...
Viewer |
---|
...
|
---|
...
project launch config | WAR project | Other type of project | Notes |
---|---|---|---|
DnD |
|
...
|
| EmployeeTakeOn not supported | |
HTML |
|
...
|
| for quickrun, browser to |
...
Restful |
|
...
|
| for quickrun, browser to |
...
Wicket |
| |
|
|
Scimpi |
| |
|
|
JUnit |
|
| {{viewer-junit} | Runs as a JUnit test, see below |
BDD |
|
| {{viewer-bdd} | Runs as a JUnit test, see below |
Quick Run Project
Some of the viewers have launch configs within quickrun
project, in in ide/eclipse/launch
. These launch configs run org.apache.isis.Isis --viewer xxx
.
WAR Projects
All of the webapp-based viewers have their own WAR project. The app can be started
HTML Viewer Project
As well as being run from quickrun
, the HTML viewer also has its own WAR project, in viewer-html
. You can therefore run it in one of several ways:
- using the launch configuration
ide/eclipse/launch/prototype_html.launch
- this just runs
org.apache.isis.WebServer
which boots up Jetty with theweb.xml
- browse to http://localhost:8080
- this just runs
- using
mvn jetty:run
- will need to run
mvn clean install
for the parent project first - browse to http://localhost:8080/prototype-viewer-html
- will need to run
- as an Eclipse WTP Server project
Restful Viewer Project
Like the HTML viewer, the Restful Viewer can be run both from quickrun
and also in its own WAR project, viewer-restful
. You can therefore run it in one of several ways:
- using the launch configuration
ide/eclipse/launch/prototype_restful.launch
- this just runs
org.apache.isis.WebServer
which boots up Jetty with theweb.xml
- browse to http://localhost:8080
- this just runs
- using
mvn jetty:run
- will need to run
mvn clean install
for the parent project first - browse to http://localhost:8080/prototype-viewer-restful
- will need to run
- as an Eclipse WTP Server project
Wicket Viewer Project
The Wicket viewer can only be run from the viewer-wicket
projec, which is a WAR project. You can therefore run it in one of several ways:
- using the launch configuration
ide/eclipse/launch/prototype_wicketxxx.launch
- where
xxx
is html, restful, wicket, scimpi - this just runs
org.apache.isis.WebServer
which boots up Jetty with theweb.xml
- browse to http://localhost:8080
- where
- using
mvn jetty:run
- will need to run
mvn clean install
for the parent project first - browse to http://localhost:8080/prototype-viewer-wickethtml
- will need to run
- as an Eclipse WTP Server project
JUnit Viewer
The JUnit viewer ... TO COMPLETE
BDD Viewer
The BDD viewer ... TO COMPLETE