Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: renamed the title

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 (Oracle)

Apache Maven

Subversion Client

Install Prerequisites

Install Joget Workflow and ensure that it can run

Install JDK 6

Install MySQL 5 (Oracle)

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 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"

  1. Get the source code

         svn co http://svn.github.com/jogetworkflow/jogetworkflow.git

    2.   Modify the Datasource

        navigate  to you user home ex: C:\Users\myuser\wflow

        modify datasource.properties setting correctly.

    3.  Add jnlp-servlet-5.0.jar to you maven repository

       The directory of maven repository is  c:\users\myuser\.m2

        This jar should be put at com/sun/java/jnlp/jnlp-servlet/5.0

 PS:you could found the jar file in your JAVA_HOME

    4.  Modify pom.xml before compiling plugins

             add follow content to pom.xml

        <dependency>

            <groupId>javax.servlet</groupId>

            <artifactId>servlet-api</artifactId>

            <version>2.3</version>

            <scope>test</scope>

        </dependency>

             jogetworkflow.git\wflow-plugins\wflow-plugin-referenceId\pom.xml

             jogetworkflow.git\wflow-plugins\wflow-plugin-report\pom.xml

             jogetworkflow.git\wflow-plugins\wflow-plugin-userNotification\pom.xm

 5.  build app and plugins           

      cd wflow-app

      mvn install

      cd wflow-plugins

      mvn install