1. Required Software
Jbpm 2.0 is tested on a Windows XP Machine with following software packages installed:
1) 'j2se SDK v 1.4.2 _ 03', downloaded from http://java.sun.com/j2se/1.4.2/download.html
Note: I can also use 1.4.1.
2) 'apache ant version 1.6.1 ', downloaded from http://ant.apache.org/bindownload.cgi
Note: I can try it with versions earlier than 1.6.1.
3) optionally, you can deploy jbpm on the JBoss J2EE server. 'jboss 3.2.5 ', download from
Http://prdownloads.sourceforge.net/jboss/jboss-3.2.5.zip? Download,
Unzip and set the jboss_home environment variable
2. Obtain jbpm Source code Method
Connection Type: pserver
User: Anonymous
Password:
HOST: cvs.sourceforge.net
Port: 2401 (which is the default)
Repository path:/cvsroot/jbpm
Label: pserver: anonymous@cvs.sourceforge.net:/cvsroot/jbpm
Then checkout module jbpm2.
I don't want to talk about anything anymore, do I?
3. Deployment
1) installationunzip jbpm to a folder of your choice
Be consistent with the preceding parameters.
2) Update the configs in build. properties to your environment with your favorite text editor
This step is simple. You can modify the four parameters.
3) In directory $ {jbpm. Home} Run 'Ant Configure. jboss.3.2.3 + '. (The same task works for jboss-3.2.5)
That creates a jbpm configuration $ {JBoss. Home}/Server/jbpm which is basically a copy of The 'all'
Configuration. The only difference is that 2 files are added to the deploy directory:
Jbpm-db-service.xml and jbpm-ds.xml
In fact, this is to add a jbpm application under JBoss.
4) Start the jbpm configuration of JBoss with '% jboss_home %/bin/run. Bat-C jbpm '.
Start the jbpm application under JBoss
5) in directory $ {jbpm. Home}/Web run 'Ant deploy'. This will build and deploy the Web Application
To the JBoss configuration that we 've just created.
Publish our specific content to the jbpm Application
6) in directory $ {jbpm. Home}/Web run 'Ant deploy. process. Archives '.
This deploys the demo payraise process to the jbpm database in JBoss.
Since this is normally your first jbpm access to the database, this will also create the jbpm tables automatically.
Release process definition, including creating table Structures
7) surf to http: // localhost: 8080/jbpm
You can start learning.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.