Installation and configuration of the Eclipse jbmp 4.4 plugin

Source: Internet
Author: User
Tags jbpm

Excerpt from: http://ashaochangfu.blog.163.com/blog/static/104251730201391112236635/

1. Download the JBPM toolkit, http://sourceforge.net/projects/jbpm/files/select 4 to download. You can also directly click on the http://nchc.dl.sourceforge.net/project/ Jbpm/jbpm%204/jbpm-4.4/jbpm-4.4.zip for download.

The toolkit name required for the 2.eclipse plugin is: jbpm-gpd-site.zip, location: Jbpm-4.4\install\src\gpd\jbpm-gpd-site.zip Other files are used to extend the development.  3.eclipse install plug-in. Elipse's Help menu installs the Now software option click on the OK button, then install it, click Next, and continue to finish. Wait for the eclipse installation to complete, which may take some time. 4. Detection is the successful installation of two methods, 1. View open with: Open a file in eclipse, using the Open with option, select others in the Pop-up dialog box to fry the rice cake Selection 2. View Eclipse Window menu, prefrences, 5. New A process 1. Create a new Java project and create a new Jbmp 4 process Definition2. Draw a start, a CEO approval, a reject approval, an end click on the source sub-leaf, you may find this is garbled.

You can view it by changing the encoding format for individual files. Every time you create a new one, it's a bit of a hassle, we can change the encoding format of Eclipse to modify the Eclipse.ini. xml file, add it at the end

-dfile. Encoding=UTF-8

The above file is open still garbled, we want to create a new file, open on OK. The above steps have completed the Eclipse jbmp plugin setup. 7. Configure the JBPM Runtime. 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 8. Add the development dependency jar package. To facilitate development, we create a new development-dependent library select 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 9. Specify 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/jbpm-4.4/src/in the Extract directoryjpdl-4.4.xsdFile Click Open to close all dialog boxes. 10. Import the 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.

Installation and configuration of the Eclipse jbmp 4.4 plugin

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.