Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Video Tutorial

Widget Connector
width640
urlhttps://www.youtube.com/watch?v=5k-mqaaT5RQ
height480

Prerequisites

  • Joget Workflow (a running copy is required as it contains 3rd party JAR files not in the Maven central repository)
  • Java Development Kit (JDK) 6
  • MySQL 5
  • Apache Maven 2.2
  • Subversion Client

...

Install 3rd Party Libraries

  • Unzip the attached attached joget-maven-setup.zip to to the Joget Workflow installation directory. This zip should contain 2 files: setup-maven.xml and shark-maven-2.0.1.pom.
  • In the Joget Workflow installation directory, execute the setup-maven.xml file using Ant to add the required 3rd party libraries into your local Maven repository.
    Code Block
    apache-ant-1.7.1/bin/ant -f setup-maven.xml
    
    NOTE: This step needs to be done for the first time only.
    NOTE: If you do the above on Windows platform, please modify mvn to mvn.bat in the setup-maven.xml before executing "apache-ant-1.7.1/bin/ant -f setup-maven.xml".
    NOTE: Also change the path from -Dfile=apache-tomcat-6.0.18 to -Dfile=apache-tomcat-7.0.52 (current version in Joget Workflow installation directory) in setup-maven.xml.

Obtain Source

...

  • Navigate to your user home, e.g., C:\Users\myuser\wflow.
  • Modify app_datasource-default.properties setting correctly. Refer to Custom Database Configuration.
    Info

    You must configure your Datasource Profile to point to an active Joget database.

Build Project

  • Navigate into wflow-app directory.
  • Build the wflow-app directory.
    Code Block
    cd wflow-app
    mvn install
    
    NOTE: Test case required a running database.