SlideShare ist ein Scribd-Unternehmen logo
1 von 21
All Rights Reserved © Joget Inc
Joget Workflow v5
Preparing Development Environment
http://facebook.com/jogetworkflow
http://twitter.com/jogetworkflow
Last Revised on May 2016Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Prerequisites
1. Basic application development management know-
hows. (i.e. svn/versioning, Maven project etc)
Joget Inc Internal Use Only
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
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter 1
Introduction
Joget Inc Internal Use Only
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/KBv5/Joget+Workflow+Source+Code
or YouTube https://www.youtube.com/watch?v=5k-mqaaT5RQ
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter 2
Prepare development tools
Joget Inc Internal Use Only
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
Joget Inc Internal Use Only
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.
4. E.g. “C:Program FilesJavajdk1.6.0_27”
5. Add new System Variable named “M2_HOME”, and set its
value to Apache Maven 2 installation directory.
6. E.g. “C:Program Filesapache-maven-2.2.1”
7. Append “;%JAVA_HOME%bin;%M2_HOME%bin” to System
Variable named “Path”.
8. Open Command Prompt and run “mvn –version” to verify.
Joget Inc Internal Use Only
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.
3. E.g. “export JAVA_HOME=/usr/java/jdk1.6.0_27”
4. Set environment variable “M2_HOME” to the location of your
Apache Maven.
5. E.g. “export M2_HOME=/usr/apache-maven-2.2.1”
6. Run “export PATH=$PATH:$JAVA_HOME/bin:
$M2_HOME/bin” to add both into environment variable
named “PATH”.
7. Run “mvn –version” to verify.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter Review
• Install and set up required development tools.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter 3
Checking out source code
Joget Inc Internal Use Only
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/5.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/5.0-SNAPSHOT
to check out code from GitHub.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter 4
Prepare dependency libraries
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Install Third Party Libraries
• Unzip the “16-install-libraries.zip” or obtain it from
http://dev.joget.org/community/display/KBv5/Joget+Workflow+Source+Code
• In the exacted folder, run "install_linux.sh" for Linux and Mac or run
"install_win.bat" for Windows.
Joget Inc Internal Use Only
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
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Chapter 5
Building from source
Joget Inc Internal Use Only
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 re-use 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.
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Building from source
• Navigate to /wflow-app from your command
prompt/terminal and execute the following:-
mvn install
• A full build cycle may take up to 10 minutes to complete
depending on your machine’s performance and the
Internet connectivity.
Joget Inc Internal Use Only
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
Joget Inc Internal Use Only
All Rights Reserved © Joget Inc
Recommended Further Learning
• Extend the usability of Joget by building a plugin.
Joget Inc Internal Use Only
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
Joget Inc Internal Use Only

Weitere ähnliche Inhalte

Was ist angesagt?

Joget Workflow Training – Basic & Advance for v3.1 – Module 1 – Introduction
Joget Workflow Training – Basic & Advance for v3.1 – Module 1 – IntroductionJoget Workflow Training – Basic & Advance for v3.1 – Module 1 – Introduction
Joget Workflow Training – Basic & Advance for v3.1 – Module 1 – Introduction
Joget Workflow
 

Was ist angesagt? (20)

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 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 v4 Getting Started
Joget Workflow v4 Getting StartedJoget Workflow v4 Getting Started
Joget Workflow v4 Getting Started
 
Joget Workflow v6 Training Slides - 2 - Setting Up Joget Workflow
Joget Workflow v6 Training Slides - 2 - Setting Up Joget WorkflowJoget Workflow v6 Training Slides - 2 - Setting Up Joget Workflow
Joget Workflow v6 Training Slides - 2 - Setting Up Joget Workflow
 
Joget Workflow v5 Training Slides - Module 3 - Designing your first Process
Joget Workflow v5 Training Slides - Module 3 - Designing your first ProcessJoget Workflow v5 Training Slides - Module 3 - Designing your first Process
Joget Workflow v5 Training Slides - Module 3 - Designing your first Process
 
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 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 v6 Training Slides - 16 - Preparing Development Environment
Joget Workflow v6 Training Slides - 16 - Preparing Development EnvironmentJoget Workflow v6 Training Slides - 16 - Preparing Development Environment
Joget Workflow v6 Training Slides - 16 - Preparing Development Environment
 
Joget Workflow v5 Training Slides - Module 10 - Participant Mapping and Permi...
Joget Workflow v5 Training Slides - Module 10 - Participant Mapping and Permi...Joget Workflow v5 Training Slides - Module 10 - Participant Mapping and Permi...
Joget Workflow v5 Training Slides - Module 10 - Participant Mapping and Permi...
 
Joget Workflow v6 Training Slides - 21 - Userview Key
Joget Workflow v6 Training Slides - 21 - Userview KeyJoget Workflow v6 Training Slides - 21 - Userview Key
Joget Workflow v6 Training Slides - 21 - Userview Key
 
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 v6 Training Slides - 8 - Designing your First Userview
Joget Workflow v6 Training Slides - 8 - Designing your First UserviewJoget Workflow v6 Training Slides - 8 - Designing your First Userview
Joget Workflow v6 Training Slides - 8 - Designing your First Userview
 
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
 
Easy joget v3 for the absolute beginner
Easy joget v3 for the absolute beginnerEasy joget v3 for the absolute beginner
Easy joget v3 for the absolute beginner
 
Joget Workflow v6 Training Slides - 4 - Localizing your Joget Workflow
Joget Workflow v6 Training Slides - 4 - Localizing your Joget WorkflowJoget Workflow v6 Training Slides - 4 - Localizing your Joget Workflow
Joget Workflow v6 Training Slides - 4 - Localizing your Joget Workflow
 
Joget Workflow v4 Training - Module 4 - Localizing your Joget
Joget Workflow v4 Training - Module 4 - Localizing your JogetJoget Workflow v4 Training - Module 4 - Localizing your Joget
Joget Workflow v4 Training - Module 4 - Localizing your Joget
 
Joget Workflow v6 Training Slides - 6 - Using your First Process Tool
Joget Workflow v6 Training Slides - 6 - Using your First Process ToolJoget Workflow v6 Training Slides - 6 - Using your First Process Tool
Joget Workflow v6 Training Slides - 6 - Using your First Process Tool
 
Joget Workflow Training – Basic & Advance for v3.1 – Module 1 – Introduction
Joget Workflow Training – Basic & Advance for v3.1 – Module 1 – IntroductionJoget Workflow Training – Basic & Advance for v3.1 – Module 1 – Introduction
Joget Workflow Training – Basic & Advance for v3.1 – Module 1 – Introduction
 
Joget Workflow v4 Training - Module 13 -Improving your Form Design and Presen...
Joget Workflow v4 Training - Module 13 -Improving your Form Design and Presen...Joget Workflow v4 Training - Module 13 -Improving your Form Design and Presen...
Joget Workflow v4 Training - Module 13 -Improving your Form Design and Presen...
 
Joget Workflow v6 Training Slides - 18 - Integrating with External System
Joget Workflow v6 Training Slides - 18 - Integrating with External SystemJoget Workflow v6 Training Slides - 18 - Integrating with External System
Joget Workflow v6 Training Slides - 18 - Integrating with External System
 

Andere mochten auch

Joget Workflow Training – Basic & Advance for v3.1 – Module 10 – Hash Variables
Joget Workflow Training – Basic & Advance for v3.1 – Module 10 – Hash VariablesJoget Workflow Training – Basic & Advance for v3.1 – Module 10 – Hash Variables
Joget Workflow Training – Basic & Advance for v3.1 – Module 10 – Hash Variables
Joget Workflow
 
Screenshot of Desktop System Application Complete
Screenshot of Desktop System Application CompleteScreenshot of Desktop System Application Complete
Screenshot of Desktop System Application Complete
Hendrawan Hendrawan
 

Andere mochten auch (13)

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 v5 Training Slides - Module 6 - Using your first Process Tool
Joget Workflow v5 Training Slides - Module 6 - Using your first Process ToolJoget Workflow v5 Training Slides - Module 6 - Using your first Process Tool
Joget Workflow v5 Training Slides - Module 6 - Using your first Process Tool
 
Joget Workflow v5 Training Slides - Module 11 - SLA and Deadlines
Joget Workflow v5 Training Slides - Module 11 - SLA and DeadlinesJoget Workflow v5 Training Slides - Module 11 - SLA and Deadlines
Joget Workflow v5 Training Slides - Module 11 - SLA and Deadlines
 
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...
 
Joget Workflow v5 Training Slides - Module 5 - Designing your First Form
Joget Workflow v5 Training Slides - Module 5 - Designing your First FormJoget Workflow v5 Training Slides - Module 5 - Designing your First Form
Joget Workflow v5 Training Slides - Module 5 - Designing your First Form
 
Joget Workflow v4 Training - Module 7 - Designing your first Datalist
Joget Workflow v4 Training - Module 7 - Designing your first DatalistJoget Workflow v4 Training - Module 7 - Designing your first Datalist
Joget Workflow v4 Training - Module 7 - Designing your first Datalist
 
Joget Workflow v5 Training - Module 1 - Introduction to Joget Workflow
Joget Workflow v5 Training - Module 1 - Introduction to Joget WorkflowJoget Workflow v5 Training - Module 1 - Introduction to Joget Workflow
Joget Workflow v5 Training - Module 1 - Introduction to Joget Workflow
 
Joget Workflow Training – Basic & Advance for v3.1 – Module 10 – Hash Variables
Joget Workflow Training – Basic & Advance for v3.1 – Module 10 – Hash VariablesJoget Workflow Training – Basic & Advance for v3.1 – Module 10 – Hash Variables
Joget Workflow Training – Basic & Advance for v3.1 – Module 10 – Hash Variables
 
Joget v5 Getting Started Guide
Joget v5 Getting Started GuideJoget v5 Getting Started Guide
Joget v5 Getting Started Guide
 
12 installing eclipse
12   installing eclipse12   installing eclipse
12 installing eclipse
 
Screenshot of Desktop System Application Complete
Screenshot of Desktop System Application CompleteScreenshot of Desktop System Application Complete
Screenshot of Desktop System Application Complete
 
Web Applications and Deployment
Web Applications and DeploymentWeb Applications and Deployment
Web Applications and Deployment
 

Ähnlich wie Joget Workflow v5 Training Slides - Module 16 - Preparing Development Environment

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
 
Java build tools
Java build toolsJava build tools
Java build tools
Sujit Kumar
 
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
elliando dias
 

Ähnlich wie Joget Workflow v5 Training Slides - Module 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
 
Deep Dive into the AOSP
Deep Dive into the AOSPDeep Dive into the AOSP
Deep Dive into the AOSP
 
Maven
MavenMaven
Maven
 
(Re)-Introduction to Maven
(Re)-Introduction to Maven(Re)-Introduction to Maven
(Re)-Introduction to 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
 
Maven
MavenMaven
Maven
 
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
 
Maven
MavenMaven
Maven
 
GeoServer Developers Workshop
GeoServer Developers WorkshopGeoServer Developers Workshop
GeoServer Developers Workshop
 
Java build tools
Java build toolsJava build tools
Java build tools
 
Bamboo Hands on training 2016
Bamboo Hands on training 2016Bamboo Hands on training 2016
Bamboo Hands on training 2016
 
Alfresco DevCon 2018: SDK 3 Multi Module project using Nexus 3 for releases a...
Alfresco DevCon 2018: SDK 3 Multi Module project using Nexus 3 for releases a...Alfresco DevCon 2018: SDK 3 Multi Module project using Nexus 3 for releases a...
Alfresco DevCon 2018: SDK 3 Multi Module project using Nexus 3 for releases a...
 
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
 
A-Z_Maven.pdf
A-Z_Maven.pdfA-Z_Maven.pdf
A-Z_Maven.pdf
 
4 maven junit
4 maven junit4 maven junit
4 maven junit
 
What's new in p2 (2009)?
What's new in p2 (2009)?What's new in p2 (2009)?
What's new in p2 (2009)?
 
Yocto Project : Custom Embedded Linux Distribution
Yocto Project : Custom Embedded Linux DistributionYocto Project : Custom Embedded Linux Distribution
Yocto Project : Custom Embedded Linux Distribution
 
Maven and j unit introduction
Maven and j unit introductionMaven and j unit introduction
Maven and j unit introduction
 
Intelligent Projects with Maven - DevFest Istanbul
Intelligent Projects with Maven - DevFest IstanbulIntelligent Projects with Maven - DevFest Istanbul
Intelligent Projects with Maven - DevFest Istanbul
 

Mehr von Joget Workflow

Mehr von Joget Workflow (13)

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 - 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 - 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 - 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 - 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 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 - 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 - 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 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 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 - 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 v6 Training Slides - 19 - Doing More with your Process Design
Joget Workflow v6 Training Slides - 19 - Doing More with your Process DesignJoget Workflow v6 Training Slides - 19 - Doing More with your Process Design
Joget Workflow v6 Training Slides - 19 - Doing More with your Process Design
 

Kürzlich hochgeladen

%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
masabamasaba
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
VictoriaMetrics
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
masabamasaba
 

Kürzlich hochgeladen (20)

Announcing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK SoftwareAnnouncing Codolex 2.0 from GDK Software
Announcing Codolex 2.0 from GDK Software
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
%in Bahrain+277-882-255-28 abortion pills for sale in Bahrain
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
WSO2CON 2024 - Cloud Native Middleware: Domain-Driven Design, Cell-Based Arch...
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
%+27788225528 love spells in Colorado Springs Psychic Readings, Attraction sp...
 
%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park %in ivory park+277-882-255-28 abortion pills for sale in ivory park
%in ivory park+277-882-255-28 abortion pills for sale in ivory park
 

Joget Workflow v5 Training Slides - Module 16 - Preparing Development Environment

  • 1. All Rights Reserved © Joget Inc Joget Workflow v5 Preparing Development Environment http://facebook.com/jogetworkflow http://twitter.com/jogetworkflow Last Revised on May 2016Joget Inc Internal Use Only
  • 2. All Rights Reserved © Joget Inc Prerequisites 1. Basic application development management know- hows. (i.e. svn/versioning, Maven project etc) Joget Inc Internal Use Only
  • 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 Joget Inc Internal Use Only
  • 4. All Rights Reserved © Joget Inc Chapter 1 Introduction Joget Inc Internal Use Only
  • 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/KBv5/Joget+Workflow+Source+Code or YouTube https://www.youtube.com/watch?v=5k-mqaaT5RQ Joget Inc Internal Use Only
  • 6. All Rights Reserved © Joget Inc Chapter 2 Prepare development tools Joget Inc Internal Use Only
  • 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 Joget Inc Internal Use Only
  • 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. 4. E.g. “C:Program FilesJavajdk1.6.0_27” 5. Add new System Variable named “M2_HOME”, and set its value to Apache Maven 2 installation directory. 6. E.g. “C:Program Filesapache-maven-2.2.1” 7. Append “;%JAVA_HOME%bin;%M2_HOME%bin” to System Variable named “Path”. 8. Open Command Prompt and run “mvn –version” to verify. Joget Inc Internal Use Only
  • 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. 3. E.g. “export JAVA_HOME=/usr/java/jdk1.6.0_27” 4. Set environment variable “M2_HOME” to the location of your Apache Maven. 5. E.g. “export M2_HOME=/usr/apache-maven-2.2.1” 6. Run “export PATH=$PATH:$JAVA_HOME/bin: $M2_HOME/bin” to add both into environment variable named “PATH”. 7. Run “mvn –version” to verify. Joget Inc Internal Use Only
  • 10. All Rights Reserved © Joget Inc Chapter Review • Install and set up required development tools. Joget Inc Internal Use Only
  • 11. All Rights Reserved © Joget Inc Chapter 3 Checking out source code Joget Inc Internal Use Only
  • 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/5.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/5.0-SNAPSHOT to check out code from GitHub. Joget Inc Internal Use Only
  • 13. All Rights Reserved © Joget Inc Chapter 4 Prepare dependency libraries Joget Inc Internal Use Only
  • 14. All Rights Reserved © Joget Inc Install Third Party Libraries • Unzip the “16-install-libraries.zip” or obtain it from http://dev.joget.org/community/display/KBv5/Joget+Workflow+Source+Code • In the exacted folder, run "install_linux.sh" for Linux and Mac or run "install_win.bat" for Windows. Joget Inc Internal Use Only
  • 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 Joget Inc Internal Use Only
  • 16. All Rights Reserved © Joget Inc Chapter 5 Building from source Joget Inc Internal Use Only
  • 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 re-use 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. Joget Inc Internal Use Only
  • 18. All Rights Reserved © Joget Inc Building from source • Navigate to /wflow-app from your command prompt/terminal and execute the following:- mvn install • A full build cycle may take up to 10 minutes to complete depending on your machine’s performance and the Internet connectivity. Joget Inc Internal Use Only
  • 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 Joget Inc Internal Use Only
  • 20. All Rights Reserved © Joget Inc Recommended Further Learning • Extend the usability of Joget by building a plugin. Joget Inc Internal Use Only
  • 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 Joget Inc Internal Use Only