jBPM4.4 Eclipse plug-in installation.

Source: Internet
Author: User
Tags manual zip jbpm
First, the tool download
JBPM graphical process designer using eclipse as a platform, we can first go to the JBPM official website under jBPM4.4, address: http://sourceforge.net/projects/jbpm/files/, After the downloaded file is jbpm-4.4.zip, the directory structure is as follows:
[Attach]271[/attach][attach]271[/attach]
Here bread contains jbpm-gdp-site.zip files, is the plugin we need, we may run ant build and manual installation, this article mainly describes the manual installation, ant is not detailed here, can be carried out by self-build.xml, manually installed, we need to download eclipse, in the eclipse Website download Eclipse Jave EE Galileo (3.5), download address: http://www.eclipse.org/downloads/packages/release/galileo/r, Here eclipse must be the Jave EE version.

Second, installation
The installation of the Eclipse upgrade mechanism is required here because the Jbpm-gdp-site.zip package is a compressed package for the update sites (archived update site), which is the file path:./jbpm-4.4/install/src/gpd/ Jbpm-gdp-site.zip, the installation steps are as follows:
Choose Eclipse's Menu
Help->install New software ..., the Install dialog box appears
Click Add ... Button
In the Add Site dialog box, click the "Archive" button
Select/jbpm-4.4/install/src/gpd/jbpm-gdp-site.zip, click the Open button, return to the Add Site dialog box, click the OK button, return to the Install dialog box
Select list of occurrences of JPDL 4 GPD Update site
Click Next ... Until "Finish" completes the installation
Restart Eclipse when installation is complete

Third, the configuration
The installation is complete and the JBPM run location needs to be configured as follows:
Choose Eclipse Menu: Window->references
Choose the Runtime Locations JBoss JBPM
Click Add ...
In the Add Location dialog box, enter a name,
In the Browse for Folder dialog box, select your jbpm4.4 directory
Click OK
Select the added content and click OK to complete



Iv. adding JBPM Development dependent libraries
To add a dependency package to your development, you can add a dependent library to eclipse as follows:
Choose Eclipse Menu: Window->references
Select Java-Build Path-User Libraries
Click Add ...
In the New User libernate dialog box, enter a name, such as: jBPM4.4 Library, click OK, close the dialog box
Click Add JARs, Open the dialog box, select your jbpm4.4 directory lib directory,/jbpm-4.4/lib
Select all the jar files in the Lib directory, click Open, Close the dialog box
Click on the Add JARs ..., open the dialog, select your jbpm4.4 jbpm.jar in the directory, click Open, Close the dialog box
If you need to be able to associate JBPM source code, select Jbpm.jar, select the following source attachment, double-click it, select the decompression directory under the/JBPM-4.4/SRC, OK.
Click OK to complete


V. Designation of JPDL4 Schema
The schema is specified in eclipse to facilitate direct editing of the XML source code, and when you edit the source of the process, you can better help you write.
Choose Eclipse Menu: Window->references
Select Xml->xml Catalog
Click Add ... to open the Add XML Catalog Entry dialog box, which defaults to the Catalog Entry tab
Click File System ... button, open the File selection box, select the/jbpm-4.4/src/jpdl-4.4.xsd file under the extracted directory
Click Open to close all dialog boxes.


Six. Import Sample Project

Open Eclipse, import the sample project:
Select File->import
Select General->existing Projects into Workspace)
Click Next, select the jbmp4.4 directory under examples, click OK
Sample project will load automatically, click Finish
After configuring the JBPM user-dependent library, the example shown can be run with the JUnit test. Right-click on a test class and select Run as, JUnit Test. Now you are free to learn jbpm4.
Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.