Jbpm4.4.zip: http://sourceforge.net/projects/jbpm/files/jBPM%204/
JDK 5 or later. I use JDK 6.
Database. I use MySQL or any other database supported by hibernate.
GPD (jbpm process designer in myeclipse), jbpm-gpd-site.zip in jbpm4.4 extracted jbpm-4.4 \ install \ SRC \ GPD
1. Install jbpm4.4 flow designer
1.decompress the jbpm-4.zip file, the author decompressed to D: \ programerfiles \ jbpm-4.4 directory.
2. Open myeclipse and expand the following menu:
Help> myeclipse configuration center> Software
3. Click Add site in the upper left corner.
4. Select Add from archive file, browse and select the jBPM-4.4 \ install \ SRC \ GPD \ jbpm-gpd-site.zip file, write a name and click OK
5. Now the personal sites on the left should have displayed jbpm4.4, expand it at the first level, and right-click the following eight items and select "add to profile"
6. The software updates available in the lower right corner will display the jbpm plug-in you want to install.
7. The network must be disconnected at this time! Click Apply 8 changes to start installation.
8. The installation is started ..
9. After successful installation, restart myeclipse.
2. Configure jbpm Runtime
1. open window --> preferences
2. Select JBoss jbpm --> jbpm 4 --> runtimelocations
3. Click Add...
4. In the Add location dialog box, enter a name, such as a jbpm-4.4 and then click search...
5. In the browse for folder dialog box, select your jbpm root directory and click OK.
6. Click OK. In the Add location dialog box
Third: configure the user Library
1. Click window --> Properties (windows --> preferences)
2. Select JAVA --> Create path --> User class library (Java --> build path --> userlibraries)
3. Click new)
4. type name: jbpmlibraries
5. Click Add jars (addjars ...)
6. Find the lib directory under the jbpm installer.
7. Select All jar files under lib and click open)
8. Select jbpmlibraries as the entry
9. Click Add jars (addjars) again)
10. Select the jbpm. jar file under the root directory of the jbpm installer.
11. Click Open)
12. Under jbpm. jar, select Source attachment as the entry
13. Click Edit)
14. In the source attachmentconfiguration dialog box, click
Directory (externalfolder ...)
15. Find the src directory under the jbpm Installer
16. Click Select (choose)
17. Click "OK" twice to close all the dialog boxes.
The above is the configured user-defined class library.
Fourth: add the jpdl4 mode to the directory
If you want to directly edit the XML source code, it is best to specify the schema in your xml directory, so that when you edit the process source code, you can better help you write code.
1. Click window --> Properties (windows --> preferences)
2. select XML --> directory (XML --> Catalog)
3. Click Add)
4. The window for adding an XML directory (add xmlcatalog entry) opens.
5. click the button under the map-icon and select File System)
6. In the displayed dialog box, select the jpdl. XSD file in the SRC folder under the jbpm installation directory.
7. Click Open and Close all the dialog boxes.