You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 6
Next »
Install Prerequisites
- Install Joget Workflow and ensure that it can run (very important step to create jar files that will be copied to the maven repository prior to compilation)
- use the following directory to install to (C:\Joget-v3-Beta).
- Install JDK 6
- Install MySQL 5
- Get and install Apache Maven from http://maven.apache.org/
- Get and install Git Client from http://code.google.com/p/msysgit/
Install 3rd party libraries
- Unzip the attached http://dev.joget.org/community/download/attachments/655444/joget-maven-setup.zip?version=1&modificationDate=1281595952000 into the Joget Workflow installation directory (C:\Joget-v3-Beta). 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: This step needs to be done for the first time only
- NOTE: Open the setup-maven.xml file; replace "apache-tomcat-6.0.18/webapps/wflow-wfweb/" with "apache-tomcat-6.0.18/webapps/jw/" using your favorite text editor.
- NOTE: Open the setup-maven.xml file; replace "apache-tomcat-6.0.18/webapps/wflow-designerweb/" with "apache-tomcat-6.0.18/webapps/jwdesigner/" using your favorite text editor.
- Run the following command mvn install:install-file -Dfile=C:\Joget-v3-Beta\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
Obtain Source
- Checkout the source from public mirror at GitHub at https://github.com/jogetworkflow/jw-community . use the following command from a git bash screen: git clone https://github.com/jogetworkflow/jw-community.git , this will download the latest copy of the source files.
- Ensure that you run the Git bash in the directory called C:\Joget-v3-Beta\test , this will create a subdirectory called C:\Joget-v3-Beta\test\jw-community which will have all the source files of the project.
Build Project
- Build the wflow-app directory (main Joget Workflow web applications) cd wflow-app mvn install
- If you have problems make sure that the C:\Users{your login name}\wflow\datasource-default.properties (if you are using winxp replace users with documents and settings) points to the same DB and port number as whats available in C:\Joget-v3-Beta\wflow\app_datasource-default.properties if not please correct this and run mvn clean install.Other Related Self-Help Resources
- The steps of compiling Joget Workflow and plugins from source code (contributed by realakuma)
- If every thing went fine you will get a sucess message indicating that all is fine.
- copy the following files C:\Joget-v3-Beta\test\jw-community\wflow-designerweb\target\jwdesigner.war and C:\Joget-v3-Beta\test\jw-community\wflow-consoleweb\target\jw.web to the directory C:\Joget-v3-Beta\apache-tomcat-6.0.18\webapps
- restart joget and you will have the latest version running now.