Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

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 2.2.1

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

        NOTE: The jar file can be located at <JoGet Installation Direction>/apache-tomcat-6.0.18/webapps/jwdesigner/WEB-INF/lib/jnlp-servlet-5.0.jar

        NOTE: Assume the JoGet installation directory is c:\Joget-v3-Beta2\, then run the following command on Windows:

Code Block
mvn install:install-file -Dfile=c:\Joget-v3-Beta2\apache-tomcat-6.0.18\webapps\jwdesigner\WEB-INF\lib\jnlp-servlet-5.0.jar -DgroupId=com.sun.java.jnlp -DartifactId=jnlp-servlet -Dversion=5.0 -Dpackaging=jar -DgeneratePom=true

    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