Versions Compared

Key

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

...

Running the Demo App

Viewer

quickrun project launch config

WAR project

Other type of project

Notes

DnD

ide/eclipse/launch/prototype_quickrun_dnd.launch

 

 

EmployeeTakeOn not supported

HTML

ide/eclipse/launch/prototype_quickrun_html.launch

viewer-html

 

for quickrun, browser to

http://localhost:8080/logon.app

Restful

ide/eclipse/launch/prototype_quickrun_restful.launch

viewer-restful

 

for quickrun, browser to

http://localhost:8080

Wicket

 

viewer-wicket

 

 

Scimpi

 

viewer-scimpi

 

 

BDD (Concordion)

 

 

viewer-bdd

Runs as a JUnit test, see 'BDD Viewer' project below

JUnit Tests  

src/test/java

 

viewer-junit

Runs as a JUnit test, see 'JUnit Viewer' project below

...

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.

In addition, the src/test/java demonstrates how the JUnit viewer can be used, wrapping each domain object in order to enforce the same rules that the viewers enforce.

WAR Projects

All of the webapp-based viewers have their own WAR project. The app can be started in one of several ways:

...

  • in Eclipse, right-click on the {{viewer-bdd} project and select Run As>Junit Tests
    • the output will be in /tmp/concordion/org/apache/isis/support/prototype/stories
  • in Maven, just mvn clean test
JUnit Viewer

...