This page was moved to https://cwiki.apache.org/confluence/display/CAUSEWAY/SmokeTest
Click in the link above if you are not automatically redirected in 10 seconds.


You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Introduction

This smoke test just consists of running a demo app. The app in question, trunk/support/prototype, I'm hoping will become the basis for an archetype (at which point I'll change this page to start instead with running that archetype).

The following assumes that you've successfully built Isis, see BuildProcess if not.

Loading the Demo App (into Eclipse)

In Eclipse, import the projects into Eclipse:

  • 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
  • Project > Build All
    • (or just turn on Project > Build Automatically)

Running the Demo App

Quick Run Project

The quickrun projects has launch configs that run using org.apache.isis.Isis --viewer xxx. These live in ide/eclipse/launch.

You should be able to run the app in 3 different ways, each time right-click and {{Run As...}

  • prototype_quickrun_dnd.launch runs the DnD viewer straight off
  • prototype_quickrun_html.launch runs the HTML viewer, booting up jetty.
  • prototype_quickrun_restful.launch runs the Restful viewer, also booting up jetty.
Wicket Viewer Project

The viewer-wicket project is a WAR project. You can therefore run it in one of several ways:

  • No labels