SlideShare a Scribd company logo
All Rights Reserved © Joget Inc
Joget Workflow v6
Preparing Development Environment
http://facebook.com/jogetworkflow
http://twitter.com/jogetworkflow
Last Revised on Oct 2018
All Rights Reserved © Joget Inc
Prerequisites
1. Basic application development management know-
hows. (i.e. svn/versioning, Maven project etc)
All Rights Reserved © Joget Inc
Content
1. Introduction
2. Prepare development tools
3. Checking out source code
4. Prepare dependency libraries
5. Building from source
All Rights Reserved © Joget Inc
Chapter 1
Introduction
All Rights Reserved © Joget Inc
Introduction
• In this module, we will be learning about the followings:
– Prepare development tools
– Checking out source code
– Prepare dependency libraries
– Building from source
• Alternatively, you may also refer to
https://dev.joget.org/community/display/KBv6/Joget+Workflow+Open+Source
or YouTube https://www.youtube.com/watch?v=5k-mqaaT5RQ
All Rights Reserved © Joget Inc
Chapter 2
Prepare development tools
All Rights Reserved © Joget Inc
Tools
• Download the following tools or get it in your Developer
Training Materials and install.
– NetBeans - http://netbeans.org/
– Apache Maven 2.2.1 or above - http://maven.apache.org/
– SVN client (optional)
http://www.collab.net/downloads/subversion
– JDK 6 or above http://www.java.com
– MySQL 5 or above http://mysql.com
All Rights Reserved © Joget Inc
Setting Up JDK and Apache Maven 2
• For Windows
1. Open Window System Properties dialog.
2. Selecting the "Advanced" tab, and the "Environment
Variables" button.
3. Add new System Variable named “JAVA_HOME”, and set its
value to JDK installation directory.
E.g. “C:Program FilesJavajdk1.6.0_27”
4. Add new System Variable named “M2_HOME”, and set its
value to Apache Maven 2 installation directory.
E.g. “C:Program Filesapache-maven-2.2.1”
5. Append “;%JAVA_HOME%bin;%M2_HOME%bin” to System
Variable named “Path”.
6. Open Command Prompt and run “mvn –version” to verify.
All Rights Reserved © Joget Inc
Setting Up JDK and Apache Maven 2
• For Linux
1. Open Command Terminal.
2. Set environment variable “JAVA_HOME” to the location of
your JDK.
E.g. “export JAVA_HOME=/usr/java/jdk1.6.0_27”
3. Set environment variable “M2_HOME” to the location of your
Apache Maven.
E.g. “export M2_HOME=/usr/apache-maven-2.2.1”
4. Run “export PATH=$PATH:$JAVA_HOME/bin:
$M2_HOME/bin” to add both into environment variable
named “PATH”.
5. Run “mvn –version” to verify.
All Rights Reserved © Joget Inc
Chapter Review
• Install and set up required development tools.
All Rights Reserved © Joget Inc
Chapter 3
Checking out source code
All Rights Reserved © Joget Inc
Getting and Building Joget Workflow
Source Code
● Checkout the source from public mirror at GitHub at
https://github.com/jogetworkflow/jw-community/tree/6.0-SNAPSHOT
● Assuming you are using the CollabNet client, in the
directory you created for Joget Workflow source, run
svn co https://github.com/jogetworkflow/jw-community/tree/6.0-SNAPSHOT
to check out code from GitHub.
All Rights Reserved © Joget Inc
Chapter 4
Prepare dependency libraries
All Rights Reserved © Joget Inc
Install Third Party Libraries
• Unzip the “16-install-libraries.zip” or obtain it from
https://dev.joget.org/community/display/KBv6/Joget+Workflow+Open+Source
• In the extracted folder, run
"install_linux.sh" for Linux and Mac or
"install_win.bat" for Windows.
All Rights Reserved © Joget Inc
Sample output
C:Jogetinstall-librariesinstall-libraries>install_win.bat
C:Jogetinstall-librariesinstall-libraries>./apache-ant-1.7.1/bin/ant.bat -f lib/setup-maven_win.xml
Buildfile: libsetup-maven_win.xml
setup-maven:
[exec] [INFO] Scanning for projects...
[exec] [INFO]
[exec] [INFO]
[exec] [INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
[exec] [INFO] Installing E:DocDownloadsinstall-librariesinstall-librarieslibsqljdbc-4.0.jar to
C:Usersuser.m2repositorycommicrosoftsqljdbc4.0sqljdbc-4.0.jar
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] BUILD SUCCESS
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] Total time: 1.035 s
[exec] [INFO] Finished at: 2016-02-01T15:18:06+08:00
[exec] [INFO] Final Memory: 6M/243M
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] Scanning for projects...
[exec] [INFO]
[exec] [INFO] Using the builder
org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1
[exec] [INFO]
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] Building Maven Stub Project (No POM) 1
[exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] ---
maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom ---
[exec] [INFO] Installing C:Jogetinstall-librariesinstall-librarieslibojdbc6-12.1.0.2.jar to
C:Usersuser.m2repositorycomoracleojdbc612.1.0.2ojdbc6-12.1.0.2.jar
[exec] [INFO] ------------------------------------------------------------------------
[exec] [INFO] BUILD SUCCESS
All Rights Reserved © Joget Inc
Chapter 5
Building from source
All Rights Reserved © Joget Inc
Preparing Test Database
• Before you can build the project, you will need to
configure the Datasource profile to a active Joget
database for the test cases to run.
• You may reuse your existing Joget’s database for this
purpose.
• Locate your home folder and create a “wflow” folder.
(To find out your current user folder on Windows, execute
echo %HOMEPATH%)
• Copy the “wflow” folder’s app_datasource.properties and
app_datasource-default.properties files from your existing Joget
installation folder into the new “wflow” folder.
All Rights Reserved © Joget Inc
Building from source
• Navigate to /wflow-app from your command
prompt/terminal and execute the following:-
mvn clean install
• A full build cycle may take up to 10 minutes to complete
depending on your machine’s performance and the
Internet connectivity.
All Rights Reserved © Joget Inc
Module Review
1. Introduction
2. Prepare development tools
3. Checking out source code
4. Prepare dependency libraries
5. Building from source
All Rights Reserved © Joget Inc
Recommended Further Learning
• Extend the usability of Joget by building a plugin.
All Rights Reserved © Joget Inc
Stay Connected with Joget Workflow
• http://www.joget.org
• http://community.joget.org
• http://twitter.com/jogetworkflow
• http://facebook.com/jogetworkflow
• http://youtube.com/jogetworkflow
• http://slideshare.net/joget

More Related Content

What's hot

Joget Workflow v5 Training Slides - Module 16 - Preparing Development Environ...
Joget Workflow v5 Training Slides - Module 16 - Preparing Development Environ...Joget Workflow v5 Training Slides - Module 16 - Preparing Development Environ...
Joget Workflow v5 Training Slides - Module 16 - Preparing Development Environ...
Joget Workflow
 
Joget Workflow v5 Training Slides - Module 17 - Building Plugins
Joget Workflow v5 Training Slides - Module 17 - Building PluginsJoget Workflow v5 Training Slides - Module 17 - Building Plugins
Joget Workflow v5 Training Slides - Module 17 - Building Plugins
Joget Workflow
 
Joget Workflow v6 Training Slides - 9 - Hash Variable
Joget Workflow v6 Training Slides - 9 - Hash VariableJoget Workflow v6 Training Slides - 9 - Hash Variable
Joget Workflow v6 Training Slides - 9 - Hash Variable
Joget Workflow
 
Joget Workflow v6 Training Slides - 20 - Basic System Administration
Joget Workflow v6 Training Slides - 20 - Basic System AdministrationJoget Workflow v6 Training Slides - 20 - Basic System Administration
Joget Workflow v6 Training Slides - 20 - Basic System Administration
Joget Workflow
 
Joget Workflow v6 Training Slides - 14 - Introduction to Reporting
Joget Workflow v6 Training Slides - 14 - Introduction to ReportingJoget Workflow v6 Training Slides - 14 - Introduction to Reporting
Joget Workflow v6 Training Slides - 14 - Introduction to Reporting
Joget Workflow
 
Joget Workflow v6 Training Slides - 7 - Designing your First Datalist
Joget Workflow v6 Training Slides - 7 - Designing your First DatalistJoget Workflow v6 Training Slides - 7 - Designing your First Datalist
Joget Workflow v6 Training Slides - 7 - Designing your First Datalist
Joget Workflow
 
Joget Workflow v5 Training Slides - Module 19 - Doing More With Your Process ...
Joget Workflow v5 Training Slides - Module 19 - Doing More With Your Process ...Joget Workflow v5 Training Slides - Module 19 - Doing More With Your Process ...
Joget Workflow v5 Training Slides - Module 19 - Doing More With Your Process ...
Joget Workflow
 
Joget Workflow v5 Training Slides - Module 4 - Localizing your Joget Workflow
Joget Workflow v5 Training Slides - Module 4 - Localizing your Joget WorkflowJoget Workflow v5 Training Slides - Module 4 - Localizing your Joget Workflow
Joget Workflow v5 Training Slides - Module 4 - Localizing your Joget Workflow
Joget Workflow
 
Joget Workflow v5 Training Slides - Module 14 - Introduction to reporting
Joget Workflow v5 Training Slides -  Module 14 - Introduction to reportingJoget Workflow v5 Training Slides -  Module 14 - Introduction to reporting
Joget Workflow v5 Training Slides - Module 14 - Introduction to reporting
Joget Workflow
 
Joget Workflow v5 Training Slides - Module 8 - Designing your first Userview
Joget Workflow v5 Training Slides - Module 8 - Designing your first UserviewJoget Workflow v5 Training Slides - Module 8 - Designing your first Userview
Joget Workflow v5 Training Slides - Module 8 - Designing your first Userview
Joget Workflow
 
Joget Workflow v5 Training Slides - Module 12 - Version Control
Joget Workflow v5 Training Slides - Module 12 - Version ControlJoget Workflow v5 Training Slides - Module 12 - Version Control
Joget Workflow v5 Training Slides - Module 12 - Version Control
Joget Workflow
 
Joget Workflow v6 Training Slides - 13 - Improving your Form Design and Prese...
Joget Workflow v6 Training Slides - 13 - Improving your Form Design and Prese...Joget Workflow v6 Training Slides - 13 - Improving your Form Design and Prese...
Joget Workflow v6 Training Slides - 13 - Improving your Form Design and Prese...
Joget Workflow
 
Joget Workflow v6 Training Slides - 3 - Designing your First Process
Joget Workflow v6 Training Slides - 3 - Designing your First ProcessJoget Workflow v6 Training Slides - 3 - Designing your First Process
Joget Workflow v6 Training Slides - 3 - Designing your First Process
Joget Workflow
 
Joget Workflow v6 Training Slides - 11 - SLA and Deadlines
Joget Workflow v6 Training Slides - 11 - SLA and DeadlinesJoget Workflow v6 Training Slides - 11 - SLA and Deadlines
Joget Workflow v6 Training Slides - 11 - SLA and Deadlines
Joget Workflow
 
Joget Workflow v5 Training Slides - Module 20 - Basic System Administration
Joget Workflow v5 Training Slides - Module 20 - Basic System AdministrationJoget Workflow v5 Training Slides - Module 20 - Basic System Administration
Joget Workflow v5 Training Slides - Module 20 - Basic System Administration
Joget Workflow
 
Joget Workflow v5 Training Slides - Module 15 - Introduction to Plugin Archit...
Joget Workflow v5 Training Slides - Module 15 - Introduction to Plugin Archit...Joget Workflow v5 Training Slides - Module 15 - Introduction to Plugin Archit...
Joget Workflow v5 Training Slides - Module 15 - Introduction to Plugin Archit...
Joget Workflow
 
Joget Workflow v5 Training Slides - Module 18 - Integrating with External System
Joget Workflow v5 Training Slides - Module 18 - Integrating with External SystemJoget Workflow v5 Training Slides - Module 18 - Integrating with External System
Joget Workflow v5 Training Slides - Module 18 - Integrating with External System
Joget Workflow
 
Joget Workflow v6 Training Slides - 1 - Introduction to Joget Workflow
Joget Workflow v6 Training Slides - 1 - Introduction to Joget WorkflowJoget Workflow v6 Training Slides - 1 - Introduction to Joget Workflow
Joget Workflow v6 Training Slides - 1 - Introduction to Joget Workflow
Joget Workflow
 
Joget Workflow v5 Training Slides - Module 9 - Hash variable
Joget Workflow v5 Training Slides - Module 9 - Hash variableJoget Workflow v5 Training Slides - Module 9 - Hash variable
Joget Workflow v5 Training Slides - Module 9 - Hash variable
Joget Workflow
 
Joget Workflow v4 Training - Module 14 - Introduction to Reporting
Joget Workflow v4 Training - Module 14 - Introduction to ReportingJoget Workflow v4 Training - Module 14 - Introduction to Reporting
Joget Workflow v4 Training - Module 14 - Introduction to Reporting
Joget Workflow
 

What's hot (20)

Joget Workflow v5 Training Slides - Module 16 - Preparing Development Environ...
Joget Workflow v5 Training Slides - Module 16 - Preparing Development Environ...Joget Workflow v5 Training Slides - Module 16 - Preparing Development Environ...
Joget Workflow v5 Training Slides - Module 16 - Preparing Development Environ...
 
Joget Workflow v5 Training Slides - Module 17 - Building Plugins
Joget Workflow v5 Training Slides - Module 17 - Building PluginsJoget Workflow v5 Training Slides - Module 17 - Building Plugins
Joget Workflow v5 Training Slides - Module 17 - Building Plugins
 
Joget Workflow v6 Training Slides - 9 - Hash Variable
Joget Workflow v6 Training Slides - 9 - Hash VariableJoget Workflow v6 Training Slides - 9 - Hash Variable
Joget Workflow v6 Training Slides - 9 - Hash Variable
 
Joget Workflow v6 Training Slides - 20 - Basic System Administration
Joget Workflow v6 Training Slides - 20 - Basic System AdministrationJoget Workflow v6 Training Slides - 20 - Basic System Administration
Joget Workflow v6 Training Slides - 20 - Basic System Administration
 
Joget Workflow v6 Training Slides - 14 - Introduction to Reporting
Joget Workflow v6 Training Slides - 14 - Introduction to ReportingJoget Workflow v6 Training Slides - 14 - Introduction to Reporting
Joget Workflow v6 Training Slides - 14 - Introduction to Reporting
 
Joget Workflow v6 Training Slides - 7 - Designing your First Datalist
Joget Workflow v6 Training Slides - 7 - Designing your First DatalistJoget Workflow v6 Training Slides - 7 - Designing your First Datalist
Joget Workflow v6 Training Slides - 7 - Designing your First Datalist
 
Joget Workflow v5 Training Slides - Module 19 - Doing More With Your Process ...
Joget Workflow v5 Training Slides - Module 19 - Doing More With Your Process ...Joget Workflow v5 Training Slides - Module 19 - Doing More With Your Process ...
Joget Workflow v5 Training Slides - Module 19 - Doing More With Your Process ...
 
Joget Workflow v5 Training Slides - Module 4 - Localizing your Joget Workflow
Joget Workflow v5 Training Slides - Module 4 - Localizing your Joget WorkflowJoget Workflow v5 Training Slides - Module 4 - Localizing your Joget Workflow
Joget Workflow v5 Training Slides - Module 4 - Localizing your Joget Workflow
 
Joget Workflow v5 Training Slides - Module 14 - Introduction to reporting
Joget Workflow v5 Training Slides -  Module 14 - Introduction to reportingJoget Workflow v5 Training Slides -  Module 14 - Introduction to reporting
Joget Workflow v5 Training Slides - Module 14 - Introduction to reporting
 
Joget Workflow v5 Training Slides - Module 8 - Designing your first Userview
Joget Workflow v5 Training Slides - Module 8 - Designing your first UserviewJoget Workflow v5 Training Slides - Module 8 - Designing your first Userview
Joget Workflow v5 Training Slides - Module 8 - Designing your first Userview
 
Joget Workflow v5 Training Slides - Module 12 - Version Control
Joget Workflow v5 Training Slides - Module 12 - Version ControlJoget Workflow v5 Training Slides - Module 12 - Version Control
Joget Workflow v5 Training Slides - Module 12 - Version Control
 
Joget Workflow v6 Training Slides - 13 - Improving your Form Design and Prese...
Joget Workflow v6 Training Slides - 13 - Improving your Form Design and Prese...Joget Workflow v6 Training Slides - 13 - Improving your Form Design and Prese...
Joget Workflow v6 Training Slides - 13 - Improving your Form Design and Prese...
 
Joget Workflow v6 Training Slides - 3 - Designing your First Process
Joget Workflow v6 Training Slides - 3 - Designing your First ProcessJoget Workflow v6 Training Slides - 3 - Designing your First Process
Joget Workflow v6 Training Slides - 3 - Designing your First Process
 
Joget Workflow v6 Training Slides - 11 - SLA and Deadlines
Joget Workflow v6 Training Slides - 11 - SLA and DeadlinesJoget Workflow v6 Training Slides - 11 - SLA and Deadlines
Joget Workflow v6 Training Slides - 11 - SLA and Deadlines
 
Joget Workflow v5 Training Slides - Module 20 - Basic System Administration
Joget Workflow v5 Training Slides - Module 20 - Basic System AdministrationJoget Workflow v5 Training Slides - Module 20 - Basic System Administration
Joget Workflow v5 Training Slides - Module 20 - Basic System Administration
 
Joget Workflow v5 Training Slides - Module 15 - Introduction to Plugin Archit...
Joget Workflow v5 Training Slides - Module 15 - Introduction to Plugin Archit...Joget Workflow v5 Training Slides - Module 15 - Introduction to Plugin Archit...
Joget Workflow v5 Training Slides - Module 15 - Introduction to Plugin Archit...
 
Joget Workflow v5 Training Slides - Module 18 - Integrating with External System
Joget Workflow v5 Training Slides - Module 18 - Integrating with External SystemJoget Workflow v5 Training Slides - Module 18 - Integrating with External System
Joget Workflow v5 Training Slides - Module 18 - Integrating with External System
 
Joget Workflow v6 Training Slides - 1 - Introduction to Joget Workflow
Joget Workflow v6 Training Slides - 1 - Introduction to Joget WorkflowJoget Workflow v6 Training Slides - 1 - Introduction to Joget Workflow
Joget Workflow v6 Training Slides - 1 - Introduction to Joget Workflow
 
Joget Workflow v5 Training Slides - Module 9 - Hash variable
Joget Workflow v5 Training Slides - Module 9 - Hash variableJoget Workflow v5 Training Slides - Module 9 - Hash variable
Joget Workflow v5 Training Slides - Module 9 - Hash variable
 
Joget Workflow v4 Training - Module 14 - Introduction to Reporting
Joget Workflow v4 Training - Module 14 - Introduction to ReportingJoget Workflow v4 Training - Module 14 - Introduction to Reporting
Joget Workflow v4 Training - Module 14 - Introduction to Reporting
 

Similar to Joget Workflow v6 Training Slides - 16 - Preparing Development Environment

Ordina Accelerator program 2019 - Maven
Ordina Accelerator program 2019 - MavenOrdina Accelerator program 2019 - Maven
Ordina Accelerator program 2019 - Maven
Bert Koorengevel
 
Maven
MavenMaven
Maven 2.0 - Improve your build patterns
Maven 2.0 - Improve your build patternsMaven 2.0 - Improve your build patterns
Maven 2.0 - Improve your build patternselliando dias
 
Maven 2.0 - Project management and comprehension tool
Maven 2.0 - Project management and comprehension toolMaven 2.0 - Project management and comprehension tool
Maven 2.0 - Project management and comprehension toolelliando dias
 
Maven
MavenMaven
CoC NA 2023 - Reproducible Builds for the JVM and beyond.pptx
CoC NA 2023 - Reproducible Builds for the JVM and beyond.pptxCoC NA 2023 - Reproducible Builds for the JVM and beyond.pptx
CoC NA 2023 - Reproducible Builds for the JVM and beyond.pptx
Hervé Boutemy
 
Build server
Build serverBuild server
Build server
Christophe Vanlancker
 
Os dev tool box
Os dev tool boxOs dev tool box
Os dev tool box
bpowell29a
 
Maven
MavenMaven
Maven
Shraddha
 
What's new in p2 (2009)?
What's new in p2 (2009)?What's new in p2 (2009)?
What's new in p2 (2009)?
Pascal Rapicault
 
Deep Dive into the AOSP
Deep Dive into the AOSPDeep Dive into the AOSP
Deep Dive into the AOSP
Dr. Ketan Parmar
 
GeoServer Developers Workshop
GeoServer Developers WorkshopGeoServer Developers Workshop
GeoServer Developers Workshop
Jody Garnett
 
Prizm Installation Guide
Prizm Installation GuidePrizm Installation Guide
Prizm Installation Guide
vjvarenya
 
How to push to production a project with 100+ plugins in less than 10 minutes
How to push to production a project with 100+ plugins in less than 10 minutes How to push to production a project with 100+ plugins in less than 10 minutes
How to push to production a project with 100+ plugins in less than 10 minutes
Thiago Leão Moreira
 
(Re)-Introduction to Maven
(Re)-Introduction to Maven(Re)-Introduction to Maven
(Re)-Introduction to Maven
Eric Wyles
 
Jenkins advance topic
Jenkins advance topicJenkins advance topic
Jenkins advance topic
Kalkey
 
Opendaylight SDN Controller
Opendaylight SDN ControllerOpendaylight SDN Controller
Opendaylight SDN Controller
Sumit Arora
 
Setting up and open fidy dev environment
Setting up and open fidy dev environmentSetting up and open fidy dev environment
Setting up and open fidy dev environmentianibbo
 
Deployment Tactics
Deployment TacticsDeployment Tactics
Deployment Tactics
Ian Barber
 

Similar to Joget Workflow v6 Training Slides - 16 - Preparing Development Environment (20)

Using Maven2
Using Maven2Using Maven2
Using Maven2
 
Ordina Accelerator program 2019 - Maven
Ordina Accelerator program 2019 - MavenOrdina Accelerator program 2019 - Maven
Ordina Accelerator program 2019 - Maven
 
Maven
MavenMaven
Maven
 
Maven 2.0 - Improve your build patterns
Maven 2.0 - Improve your build patternsMaven 2.0 - Improve your build patterns
Maven 2.0 - Improve your build patterns
 
Maven 2.0 - Project management and comprehension tool
Maven 2.0 - Project management and comprehension toolMaven 2.0 - Project management and comprehension tool
Maven 2.0 - Project management and comprehension tool
 
Maven
MavenMaven
Maven
 
CoC NA 2023 - Reproducible Builds for the JVM and beyond.pptx
CoC NA 2023 - Reproducible Builds for the JVM and beyond.pptxCoC NA 2023 - Reproducible Builds for the JVM and beyond.pptx
CoC NA 2023 - Reproducible Builds for the JVM and beyond.pptx
 
Build server
Build serverBuild server
Build server
 
Os dev tool box
Os dev tool boxOs dev tool box
Os dev tool box
 
Maven
MavenMaven
Maven
 
What's new in p2 (2009)?
What's new in p2 (2009)?What's new in p2 (2009)?
What's new in p2 (2009)?
 
Deep Dive into the AOSP
Deep Dive into the AOSPDeep Dive into the AOSP
Deep Dive into the AOSP
 
GeoServer Developers Workshop
GeoServer Developers WorkshopGeoServer Developers Workshop
GeoServer Developers Workshop
 
Prizm Installation Guide
Prizm Installation GuidePrizm Installation Guide
Prizm Installation Guide
 
How to push to production a project with 100+ plugins in less than 10 minutes
How to push to production a project with 100+ plugins in less than 10 minutes How to push to production a project with 100+ plugins in less than 10 minutes
How to push to production a project with 100+ plugins in less than 10 minutes
 
(Re)-Introduction to Maven
(Re)-Introduction to Maven(Re)-Introduction to Maven
(Re)-Introduction to Maven
 
Jenkins advance topic
Jenkins advance topicJenkins advance topic
Jenkins advance topic
 
Opendaylight SDN Controller
Opendaylight SDN ControllerOpendaylight SDN Controller
Opendaylight SDN Controller
 
Setting up and open fidy dev environment
Setting up and open fidy dev environmentSetting up and open fidy dev environment
Setting up and open fidy dev environment
 
Deployment Tactics
Deployment TacticsDeployment Tactics
Deployment Tactics
 

More from Joget Workflow

Joget Workflow v6 Training Slides - 22 - Best Practices on Application Building
Joget Workflow v6 Training Slides - 22 - Best Practices on Application BuildingJoget Workflow v6 Training Slides - 22 - Best Practices on Application Building
Joget Workflow v6 Training Slides - 22 - Best Practices on Application Building
Joget Workflow
 
Joget Workflow v6 Training Slides - 15 - Introduction to Plugin Architecture
Joget Workflow v6 Training Slides - 15 - Introduction to Plugin ArchitectureJoget Workflow v6 Training Slides - 15 - Introduction to Plugin Architecture
Joget Workflow v6 Training Slides - 15 - Introduction to Plugin Architecture
Joget Workflow
 
Joget Workflow v6 Training Slides - 12 - Version Control
Joget Workflow v6 Training Slides - 12 - Version ControlJoget Workflow v6 Training Slides - 12 - Version Control
Joget Workflow v6 Training Slides - 12 - Version Control
Joget Workflow
 
Joget Workflow v6 Training Slides - 10 - Participant Mapping and Permission C...
Joget Workflow v6 Training Slides - 10 - Participant Mapping and Permission C...Joget Workflow v6 Training Slides - 10 - Participant Mapping and Permission C...
Joget Workflow v6 Training Slides - 10 - Participant Mapping and Permission C...
Joget Workflow
 
Joget Workflow v6 Training Slides - 5 - Designing your First Form
Joget Workflow v6 Training Slides - 5 - Designing your First FormJoget Workflow v6 Training Slides - 5 - Designing your First Form
Joget Workflow v6 Training Slides - 5 - Designing your First Form
Joget Workflow
 
Joget Workflow v5 Training Slides - Module 21 - Userview Key
Joget Workflow v5 Training Slides - Module 21 - Userview KeyJoget Workflow v5 Training Slides - Module 21 - Userview Key
Joget Workflow v5 Training Slides - Module 21 - Userview Key
Joget Workflow
 
Joget Workflow v5 Training Slides - Module 13 - Improving your form design an...
Joget Workflow v5 Training Slides - Module 13 - Improving your form design an...Joget Workflow v5 Training Slides - Module 13 - Improving your form design an...
Joget Workflow v5 Training Slides - Module 13 - Improving your form design an...
Joget Workflow
 

More from Joget Workflow (7)

Joget Workflow v6 Training Slides - 22 - Best Practices on Application Building
Joget Workflow v6 Training Slides - 22 - Best Practices on Application BuildingJoget Workflow v6 Training Slides - 22 - Best Practices on Application Building
Joget Workflow v6 Training Slides - 22 - Best Practices on Application Building
 
Joget Workflow v6 Training Slides - 15 - Introduction to Plugin Architecture
Joget Workflow v6 Training Slides - 15 - Introduction to Plugin ArchitectureJoget Workflow v6 Training Slides - 15 - Introduction to Plugin Architecture
Joget Workflow v6 Training Slides - 15 - Introduction to Plugin Architecture
 
Joget Workflow v6 Training Slides - 12 - Version Control
Joget Workflow v6 Training Slides - 12 - Version ControlJoget Workflow v6 Training Slides - 12 - Version Control
Joget Workflow v6 Training Slides - 12 - Version Control
 
Joget Workflow v6 Training Slides - 10 - Participant Mapping and Permission C...
Joget Workflow v6 Training Slides - 10 - Participant Mapping and Permission C...Joget Workflow v6 Training Slides - 10 - Participant Mapping and Permission C...
Joget Workflow v6 Training Slides - 10 - Participant Mapping and Permission C...
 
Joget Workflow v6 Training Slides - 5 - Designing your First Form
Joget Workflow v6 Training Slides - 5 - Designing your First FormJoget Workflow v6 Training Slides - 5 - Designing your First Form
Joget Workflow v6 Training Slides - 5 - Designing your First Form
 
Joget Workflow v5 Training Slides - Module 21 - Userview Key
Joget Workflow v5 Training Slides - Module 21 - Userview KeyJoget Workflow v5 Training Slides - Module 21 - Userview Key
Joget Workflow v5 Training Slides - Module 21 - Userview Key
 
Joget Workflow v5 Training Slides - Module 13 - Improving your form design an...
Joget Workflow v5 Training Slides - Module 13 - Improving your form design an...Joget Workflow v5 Training Slides - Module 13 - Improving your form design an...
Joget Workflow v5 Training Slides - Module 13 - Improving your form design an...
 

Recently uploaded

Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
Matt Welsh
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
AMB-Review
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Globus
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
Tier1 app
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
Ortus Solutions, Corp
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
Philip Schwarz
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Jay Das
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
Ortus Solutions, Corp
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
XfilesPro
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Globus
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
takuyayamamoto1800
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
kalichargn70th171
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
Globus
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Globus
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
Globus
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
vrstrong314
 

Recently uploaded (20)

Large Language Models and the End of Programming
Large Language Models and the End of ProgrammingLarge Language Models and the End of Programming
Large Language Models and the End of Programming
 
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdfDominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
Dominate Social Media with TubeTrivia AI’s Addictive Quiz Videos.pdf
 
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data AnalysisProviding Globus Services to Users of JASMIN for Environmental Data Analysis
Providing Globus Services to Users of JASMIN for Environmental Data Analysis
 
SOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBrokerSOCRadar Research Team: Latest Activities of IntelBroker
SOCRadar Research Team: Latest Activities of IntelBroker
 
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERRORTROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
TROUBLESHOOTING 9 TYPES OF OUTOFMEMORYERROR
 
BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024BoxLang: Review our Visionary Licenses of 2024
BoxLang: Review our Visionary Licenses of 2024
 
A Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of PassageA Sighting of filterA in Typelevel Rite of Passage
A Sighting of filterA in Typelevel Rite of Passage
 
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdfEnhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
Enhancing Project Management Efficiency_ Leveraging AI Tools like ChatGPT.pdf
 
Into the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdfInto the Box 2024 - Keynote Day 2 Slides.pdf
Into the Box 2024 - Keynote Day 2 Slides.pdf
 
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, BetterWebinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
Webinar: Salesforce Document Management 2.0 - Smarter, Faster, Better
 
Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...Developing Distributed High-performance Computing Capabilities of an Open Sci...
Developing Distributed High-performance Computing Capabilities of an Open Sci...
 
Vitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume MontevideoVitthal Shirke Microservices Resume Montevideo
Vitthal Shirke Microservices Resume Montevideo
 
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoamOpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
OpenFOAM solver for Helmholtz equation, helmholtzFoam / helmholtzBubbleFoam
 
A Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdfA Comprehensive Look at Generative AI in Retail App Testing.pdf
A Comprehensive Look at Generative AI in Retail App Testing.pdf
 
Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024Globus Compute wth IRI Workflows - GlobusWorld 2024
Globus Compute wth IRI Workflows - GlobusWorld 2024
 
Prosigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology SolutionsProsigns: Transforming Business with Tailored Technology Solutions
Prosigns: Transforming Business with Tailored Technology Solutions
 
GlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote sessionGlobusWorld 2024 Opening Keynote session
GlobusWorld 2024 Opening Keynote session
 
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
Innovating Inference - Remote Triggering of Large Language Models on HPC Clus...
 
Understanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSageUnderstanding Globus Data Transfers with NetSage
Understanding Globus Data Transfers with NetSage
 
top nidhi software solution freedownload
top nidhi software solution freedownloadtop nidhi software solution freedownload
top nidhi software solution freedownload
 

Joget Workflow v6 Training Slides - 16 - Preparing Development Environment

  • 1. All Rights Reserved © Joget Inc Joget Workflow v6 Preparing Development Environment http://facebook.com/jogetworkflow http://twitter.com/jogetworkflow Last Revised on Oct 2018
  • 2. All Rights Reserved © Joget Inc Prerequisites 1. Basic application development management know- hows. (i.e. svn/versioning, Maven project etc)
  • 3. All Rights Reserved © Joget Inc Content 1. Introduction 2. Prepare development tools 3. Checking out source code 4. Prepare dependency libraries 5. Building from source
  • 4. All Rights Reserved © Joget Inc Chapter 1 Introduction
  • 5. All Rights Reserved © Joget Inc Introduction • In this module, we will be learning about the followings: – Prepare development tools – Checking out source code – Prepare dependency libraries – Building from source • Alternatively, you may also refer to https://dev.joget.org/community/display/KBv6/Joget+Workflow+Open+Source or YouTube https://www.youtube.com/watch?v=5k-mqaaT5RQ
  • 6. All Rights Reserved © Joget Inc Chapter 2 Prepare development tools
  • 7. All Rights Reserved © Joget Inc Tools • Download the following tools or get it in your Developer Training Materials and install. – NetBeans - http://netbeans.org/ – Apache Maven 2.2.1 or above - http://maven.apache.org/ – SVN client (optional) http://www.collab.net/downloads/subversion – JDK 6 or above http://www.java.com – MySQL 5 or above http://mysql.com
  • 8. All Rights Reserved © Joget Inc Setting Up JDK and Apache Maven 2 • For Windows 1. Open Window System Properties dialog. 2. Selecting the "Advanced" tab, and the "Environment Variables" button. 3. Add new System Variable named “JAVA_HOME”, and set its value to JDK installation directory. E.g. “C:Program FilesJavajdk1.6.0_27” 4. Add new System Variable named “M2_HOME”, and set its value to Apache Maven 2 installation directory. E.g. “C:Program Filesapache-maven-2.2.1” 5. Append “;%JAVA_HOME%bin;%M2_HOME%bin” to System Variable named “Path”. 6. Open Command Prompt and run “mvn –version” to verify.
  • 9. All Rights Reserved © Joget Inc Setting Up JDK and Apache Maven 2 • For Linux 1. Open Command Terminal. 2. Set environment variable “JAVA_HOME” to the location of your JDK. E.g. “export JAVA_HOME=/usr/java/jdk1.6.0_27” 3. Set environment variable “M2_HOME” to the location of your Apache Maven. E.g. “export M2_HOME=/usr/apache-maven-2.2.1” 4. Run “export PATH=$PATH:$JAVA_HOME/bin: $M2_HOME/bin” to add both into environment variable named “PATH”. 5. Run “mvn –version” to verify.
  • 10. All Rights Reserved © Joget Inc Chapter Review • Install and set up required development tools.
  • 11. All Rights Reserved © Joget Inc Chapter 3 Checking out source code
  • 12. All Rights Reserved © Joget Inc Getting and Building Joget Workflow Source Code ● Checkout the source from public mirror at GitHub at https://github.com/jogetworkflow/jw-community/tree/6.0-SNAPSHOT ● Assuming you are using the CollabNet client, in the directory you created for Joget Workflow source, run svn co https://github.com/jogetworkflow/jw-community/tree/6.0-SNAPSHOT to check out code from GitHub.
  • 13. All Rights Reserved © Joget Inc Chapter 4 Prepare dependency libraries
  • 14. All Rights Reserved © Joget Inc Install Third Party Libraries • Unzip the “16-install-libraries.zip” or obtain it from https://dev.joget.org/community/display/KBv6/Joget+Workflow+Open+Source • In the extracted folder, run "install_linux.sh" for Linux and Mac or "install_win.bat" for Windows.
  • 15. All Rights Reserved © Joget Inc Sample output C:Jogetinstall-librariesinstall-libraries>install_win.bat C:Jogetinstall-librariesinstall-libraries>./apache-ant-1.7.1/bin/ant.bat -f lib/setup-maven_win.xml Buildfile: libsetup-maven_win.xml setup-maven: [exec] [INFO] Scanning for projects... [exec] [INFO] [exec] [INFO] [exec] [INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom --- [exec] [INFO] Installing E:DocDownloadsinstall-librariesinstall-librarieslibsqljdbc-4.0.jar to C:Usersuser.m2repositorycommicrosoftsqljdbc4.0sqljdbc-4.0.jar [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] BUILD SUCCESS [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] Total time: 1.035 s [exec] [INFO] Finished at: 2016-02-01T15:18:06+08:00 [exec] [INFO] Final Memory: 6M/243M [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] Scanning for projects... [exec] [INFO] [exec] [INFO] Using the builder org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder with a thread count of 1 [exec] [INFO] [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] Building Maven Stub Project (No POM) 1 [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] --- maven-install-plugin:2.4:install-file (default-cli) @ standalone-pom --- [exec] [INFO] Installing C:Jogetinstall-librariesinstall-librarieslibojdbc6-12.1.0.2.jar to C:Usersuser.m2repositorycomoracleojdbc612.1.0.2ojdbc6-12.1.0.2.jar [exec] [INFO] ------------------------------------------------------------------------ [exec] [INFO] BUILD SUCCESS
  • 16. All Rights Reserved © Joget Inc Chapter 5 Building from source
  • 17. All Rights Reserved © Joget Inc Preparing Test Database • Before you can build the project, you will need to configure the Datasource profile to a active Joget database for the test cases to run. • You may reuse your existing Joget’s database for this purpose. • Locate your home folder and create a “wflow” folder. (To find out your current user folder on Windows, execute echo %HOMEPATH%) • Copy the “wflow” folder’s app_datasource.properties and app_datasource-default.properties files from your existing Joget installation folder into the new “wflow” folder.
  • 18. All Rights Reserved © Joget Inc Building from source • Navigate to /wflow-app from your command prompt/terminal and execute the following:- mvn clean install • A full build cycle may take up to 10 minutes to complete depending on your machine’s performance and the Internet connectivity.
  • 19. All Rights Reserved © Joget Inc Module Review 1. Introduction 2. Prepare development tools 3. Checking out source code 4. Prepare dependency libraries 5. Building from source
  • 20. All Rights Reserved © Joget Inc Recommended Further Learning • Extend the usability of Joget by building a plugin.
  • 21. All Rights Reserved © Joget Inc Stay Connected with Joget Workflow • http://www.joget.org • http://community.joget.org • http://twitter.com/jogetworkflow • http://facebook.com/jogetworkflow • http://youtube.com/jogetworkflow • http://slideshare.net/joget