Skip to content

romartin/wirez

Repository files navigation

Stunner Modelling Tool

A multi-purpose modelling tool based on JBoss Uberfire.

Documentation

All Stunner documents are shared in a public Google Docs folder here.

Building

Follow these instructions for building the application from sources.

mvn clean install -DskipTests

Running the application

Wildfly 10.x

There exist a concrete distribution for Wilfly 10.x you can use, instructions here.

Another option is to run the application using GWT SuperDevMode. If you're planning more than just try the tool, the most comfortable and easy way is to use the GWT plugin for IntelliJ IDEA, if you just want to run it quicly you can use the command line as the following sections describe.

SuperDevMove - Running from command line

cd kie-wb-common-stunner-showcase
mvn clean gwt:run

SuperDevMove - Running from IntelliJ IDEA

1.- Build the project from command line ( see above *Building - section )

2.- Open the project using IntelliJ IDEA - Use option "import project from Maven"

3.- Create a new Run/Debug configuration as:

  • Type: GWT configuration

  • Name: Stunner Showcase

  • Use SDM: true

  • Module: Stunner-showcase

  • GWT Modules to load: org.kie.workbench.common.stunner.FastCompiledStunnerShowcase

  • VM options:

    -Xmx4g
    -Xms1g
    -Xss1M
    -XX:CompileThreshold=7000
    -Derrai.jboss.home=$PATH_OF_YOUR_CLONED_STUNNER_REPO/kie-wb-common-stunner-showcase/target/wildfly-10.0.0.Final
    -Derrai.server.classOutput=$PATH_OF_YOUR_CLONED_STUNNER_REPO/kie-wb-common-stunner-showcase/target
    -Djava.util.prefs.syncInterval=2000000
    -Dorg.uberfire.async.executor.safemode=true
    -Dgwt.watchFileChanges=false
    -Dorg.uberfire.nio.git.dir=/tmp/dir
    
  • Dev mode parameters:

    -server org.jboss.errai.cdi.server.gwt.EmbeddedWildFlyLauncher
    
  • Start page: stunner.html

  • On before launch section - Add a new "Run Maven Goal" BEFORE the existing "Make" item as:

    • Working directory:

        $PATH_OF_YOUR_CLONED_STUNNER_REPO/kie-wb-common-stunner-showcase
      
    • Goal:

        clean process-resources                 
      

Once done, you can run or debug the application using this recently created configuration.

TIP: While coding it's a good practice to remove application's old artifacts the GWT idea plugin working's directory. It is usually present on your home directory as $HOME/.IntelliJIdea15/system/gwt/. On Macs you can find this under ~//Library/Caches/IntelliJIdea15/gwt.

Requirements

  • Java8+
  • Maven 3.2.5+
  • Git 1.8+

About

UberFire Wirez Modelling Tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages