This repository has been archived by the owner. It is now read-only.
This is the Oryx editor modified for the NEFFICS EU project. >>>> Use the 'neffics' branch!! <<<< The 'master' branch is the original fork from See also
JavaScript Java XSLT Logos Ruby PHP
Switch branches/tags
Nothing to show
Clone or download
y-lyf Service Journey Map Modifications
(Warning: Will partially break existing saved models. Pls. check and
validate them.)
- Reversed direction of arrow between actor and touchpoint (actor
initiates a touchpoint; so arrow points away from actor and not
- Added Service Experience Journey map
- Added "Unsatisfied", "Satisfied", and "Very Satisfied" emotional
touchpoints for Service Experience Journey mapping
- Added "Involves Link" association between an actor and a touchpoint to
signify involvement (input / output) of actor in the touchpoint
- Various cosmetic changes for better user friendliness
Latest commit a7dee15 Jun 11, 2013
Failed to load latest commit information.
.settings Serialization of BusinessSoaML to XMI (with UML profile) Oct 10, 2012
buildApps fix for plugin order Oct 22, 2010
editor Service Journey Map Modifications Jun 11, 2013
jce added Single Sign On via SAML support to trunk. Once activated in the… Jan 10, 2009
jsdoc-toolkit adding missing files for jsdoc-toolkit Apr 1, 2009
lib * preparing ant tasks for being used in cruisecontrol Apr 4, 2009
mashup some adjustments for the Firefox 4 bug regarding the MOVI API and the… Jun 15, 2011
poem-jvm Serialization of BusinessSoaML to XMI (with UML profile) Oct 10, 2012
standalone Proxy Saving Bug Fixed May 27, 2009
stick CHANGES IN BUILD SCRIPT!!! CHANGED NAME OF TARGET "deploy-xhtml" !!!!! Dec 16, 2008
tools/statistics merged trunk into bpmn2.0 branch (2800) Oct 9, 2009
.classpath Serialization of BusinessSoaML to XMI (with UML profile) Oct 10, 2012
.gitignore initial commit for gitignore May 14, 2012
.project Committing eclipse default configuration to ease introduction of new … Jan 30, 2008
LIBRARIES Updating license information for openid4java and dom3-xml-apis Feb 28, 2010
LICENSE Update LICENSE May 11, 2012 Added the possibility to import diagrams. This way one can refer to a… Dec 12, 2012
VERSION changed configurations in stable tag Nov 12, 2008
build-dependencies.png Updated build dependency graph Apr 27, 2010 Using 'java-debug=on' as it is supposed to be. Nov 6, 2012
build.xml Using 'java-debug=on' as it is supposed to be. Nov 6, 2012
favicon.ico added favicon to editor and backend war files Nov 12, 2008 prepared oryx for JUnit tests and Cactus servlet tests. Jan 8, 2009
test.xml Merged Mar 19, 2010

Setting up development environment

This file explains how to setup the development environment for the Oryx editor.

Install the following (if not done already):


Tool Version Development Deployment (server) Client (user)
Firefox YES YES
Firebug addon good to have (debugging)
Java JDK * >= 6 YES YES (JRE only)
Git hub * (account & programs) YES
SmartGit * YES
eclipse YES
tomcat * 6 YES YES
python see below YES YES
PostGreSQL * see below YES YES

* means some instructions are provided here. Otherwise installation is rather straightforward and uses default settings.


  • The browser need to support SVG, currenlty only Firefox does that.
  • You can use any other version control tool with github. SmartGit is nice though.
  • PostGreSQL and Python:
    • on Linux, you can use version 9.0 (and above??) and python 2.6 (unsure for 2.7).
    • on Windows, use only one of the following[^1]:
      • PostGreSQL 8.4 and Python 2.6.x (32 bit version only, even on Windows 64)
      • PostGreSQL 8.3 and Python 2.5.x (32 bit version only, even on Windows 64)

[^1]: The reason for this is because on Windows, PostGreSQL 9.x is linked to Python 3.x (people packaging for windows have different opinions than the ones packaging for Linux); PostGreSQL 8.4 and 8.3 are linked to Python 2.6 and 2.5 (respectively). and as they exist only on 32 bit versions the Python libraries must also be 32 bit versions. If you want other versions of those software the only solutions is to (1) recompile PostGreSQL yourself, enabling the desired PL/Python, or (2) move Oryx to Python 3.0 (or another language).


  • Ensure that JAVA_HOME Enviroment variable is set to java installation dir: C:\Program Files\Java\jdk1.7.0_07 for instance)
    • on Windows: right click on Computer, then Properties, Advanced system settings, Environment Variables


  • Create a Github user on GitHub
  • Set up Git:
    • Perform the step Download and install Git from the webpage
    • Launch Git Bash (in windows menu Start -> All Programs -> Git)to have a usable shell
    • Continue setting up Git as explained on the webpage.


  • During installation, choose Non-commercial use only
  • You might have to enter your GitHub credentials.


  • From the download page, it is easier to use the Windows Service Installer (wizard installer)
    • it is better to provide and remember the Tomcat Administrator login. However for development it seems you can do without.
  • Launch Monitor Tomcat, running as administrator. It will then appear as an icon in the task bar (possibly hidden).
    • Right click on the tomcat icon to start / stop the service.
    • Right click on the tomcat icon and choose Configure…
      • go to "General" and under "Startup type" and choose if you want tomcat to be started at login or not
      • If you choose to have tomcat to run at login, go to C:/Program Files/Apache Software Foundation/Tomcat 6.0/bin, select Tomcat6, right click, Properties, tab Compatbility, check Run as administrator. Do the same for Tomcat6w.
  • On the development machine, check you have permissions to C:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps:
    • Right click on the folder, Properties, tab Security, click Edit and add Full Control for yourself.
  • Test if Tomcat has been correctly installed by visiting http://localhost:8080
  • (windows only) Check also that Tomcat writes a log in C:/Program Files/Apache Software Foundation/Tomcat 6.0/logs, file catalina.out
    • If not, change the bin/startup.bat file and replace the line

        call "%EXECUTABLE%" start %CMD_LINE_ARGS% 


        call "%EXECUTABLE%" run %CMD_LINE_ARGS% 1> ../logs/catalina.out 2>1


  • Remember the password of postgres, you'll need it later (usually it is postgres)
  • It is no useful to launch Stack Builder at then end of the installation.

Set up development environment for Oryx

Download ('pull') the code in a local repository

  • Open SmartGit; Close the window "Welcome to SmartGit" in case it appeared.
  • In the menu, choose Project -> Open Repository. Then:
    • Choose a folder where the sources will be downloaded, for instance .../workspace/oryx-neffics, click Next
    • Choose Git as the type of repository, then click Finish.
  • In the menu, choose Remote -> Manage remotes. Then:
    • Click Add
    • Fill the following: Name:oryx-neffics, URL:
    • Close the window.
  • Click on Pull, then OK, and wait that SmartGit downloads the code.
  • Click on Switch and choose the oryx-neffics/neffics branch (use default settings in the next windows).

Setup: variables

  • In eclipse, import the sources (i.e. import a General Project)

  • Choose the Java perspective (better)

  • In the file oryx-neffics/, change the lines as needed (don't put trailing spaces! Examples are for tomcat 6 and PostGreSQL 8.4):

    • deploymentdir = C:/Program Files/Apache Software Foundation/Tomcat 6.0/webapps
    • postgresql-username = poem
    • postgresql-bin-dir = C:/Program Files (x86)/PostgreSQL/8.4/bin
  • In the file oryx-neffics/poem-jvm/etc/hibernate.cfg.xml, change the line (if you have a different password to access the database, notably on the server):

    • < property name="connection.password" >poem < /property >

Setup: database (development AND deployment site)

  • Start a shell[^2]

  • change to the folder containing the binaries of PostGreSQL

    • on Windows, it should be C:/Program Files (x86)/PostgreSQL/8.4/bin
  • Run the following commands:

    • createuser -U postgres -e -P -E -S -d -r poem (see createuser --help for corresponding long options)
      • enter the password for poem twice (the one that is specified in oryx-neffics/poem-jvm/etc/hibernate.cfg.xml)
      • enter the password for user postgres (windows only(?))
    • createdb -U postgres -e -E utf8 -O poem poem
      • enter the password for user postgres
    • psql -U postgres poem < C:/Users/.…../workspace_folder/oryx-neffics/poem-jvm/data/database/db_schema.sql
      • enter the password for user postgres
      • verify that no error occured (possible errors might be complains about PL/python because of missing or incompatible libraries)
        • it might complain that language "plpgsql" already exists, but this is fine.
      • It might be that the terminal has not enough space to display the whoel output. In that case redirect the output to a file. For instance:å
        • createdb -U postgres -e -E utf8 -O poem poem1> log.txt 2>1
  • If you installed PostGreSQL 9.0 and above:

    • They changed the way binary data ('bytea') is saved in the database (changed from escape format to hex format…). To revert to the 8.3 format (expected by Oryx), start psql (psql -u poem) and type the command[^3]:

      ALTER DATABASE poem SET bytea_output TO 'escape';

[^2]: on Linux, you might have to start a shell as user postgres. On windows it's also possible to do that but it's then cumbersome to access the schema file (default permissions don't allow it) [^3]: source: In Oryx, this affects only PNG representations of diagrams (includes thumbnails).

Everyday tasks: compile, debug, deploy, commit


  • Right click on the file oryx-neffics/build.xml, Run As -> External Tool Configurations

  • Click on the Targets tab

  • choose the following, in that order (or reorder afterwards):

    Development Deployment
    undeploy-all clean-all
    clean-all build-all
  • The WAR file are created in oryx-neffics/war: backend.war and oryx.war. On the development machine, they are also deployed in Tomcat


Hints for debugging:
  • If you made some changes on the client side (javascript, stencil set,…) you may need to clear the cache.
  • Uncomment line 6 in in order to have line numbers when printing stacktraces:
    • java-debug = on
  • In editor/client/scripts/oryx.js, change line 39 to enable debug log:
    • var ORYX_LOGLEVEL = 4;
    • Be careful when committing and deploying: change back to 1


  • Login to the tomcat manager
  • Deploy the files backend.war and oryx.war (found in oryx-neffics/war)
  • You need an OpenID to login (upper right). Create one for instance at


  • Always check the differences with GitHub and provide the appropriate commit message.

  • Be careful when committing the following files:

    File Sensible data
    oryx-neffics/poem-jvm/etc/hibernate.cfg.xml password of SQL database
    oryx-neffics/ username of SQL database; folders where Tomcat and PostGreSQL are installed

    If necessary, remove the sensible data (with dummy data) and then do the commit.

Most usefull commands with SmartGit:
  • Pull: fetch recent changes on github.
  • Commit: commit your current changes to your local repository. Github is not informed.
  • Push: push the new commits from your local repository to GitHub. You may check on github that your changes are there.