Skip to content

Deploy Demo

rodrigodesalvobraz edited this page Jan 26, 2018 · 16 revisions

Introduction

Currently, there is a single demo application:
com.sri.ai.grinder.sgdpllt.application.SymbolicShell
that can be launched via an executable jar file.

The demo runs in both command line, and graphical, user interface modes:

  • Command line user interface mode: java -jar expresso.jar --console default (or simply java -jar PRAiSE.jar)
  • Graphical user interface mode: java -jar expresso.jar --console gui

It is preferable to run it in graphical user interface mode, which provides a way to re-use and edit previous commands. The command line user interface mode does not allow it due to Java limitations.

Details

To update the demo the following steps need to be performed:

  • Ensure the latest version of aic-util has been properly deployed/released before attempting to package up the demo.
  • From a clean aic-expresso workspace, with no test failures, run the command:
    mvn package -DskipTests=true -DskipUnitTests=true
  • This will create a file named (in the <workspace>/target directory):
    aic-expresso-<Current Version>-jar-with-dependencies.jar
  • Rename this file to:
    expresso.jar
  • Update the expresso.jar on the gh-pages branch.
Clone this wiki locally