Table of Contents |
---|
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
- Subversion Client
Install Prerequisites
- Install Joget Workflow and ensure that it can run
- Install JDK 6
- Install MySQL 5
- Get and install Apache Maven from http://maven.apache.org/
- Get and install Subversion Client from http://www.open.collab.net/downloads/subversion/
Install 3rd party libraries
- Unzip the attached joget-maven-setup.zip into 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
NOTE: This step needs to be done for the first time onlyCode Block apache-ant-1.7.1/bin/ant -f setup-maven.xml
NOTE: If you do above on windows platform, please modify mvn to mvn.bat in the setup-maven.xml before execute "apache-ant-1.7.1/bin/ant -f setup-maven.xml"
Obtain Source
- Checkout the source from public mirror at GitHub at http://svn.github.com/jogetworkflow/jw-community.git or main SVN repository at http://dev.joget.org/svn/jw-community/trunk (requires login)
Code Block svn co http://svn.github.com/jogetworkflow/jw-community.git
Configure Datasource for Test Case
- Navigate to you user home. Eg: C:\Users\myuser\wflow
- Modify app_datasource-default.properties setting correctly.
Build Project
- Navigate into wflow-app directory
- Build the wflow-app directory
NOTE: Test case required a running databaseCode Block cd wflow-app mvn install