Eclipse Integration jbpm

Source: Internet
Author: User
Tags jboss jbpm



JBPM4.4 is a widely used workflow development framework and is also useful for JBPM4.4 in recent BSS projects. I use it in a framework that has been built, but I don't understand it in more detail. So take this opportunity to learn a bit.






The learning version is: jbpm 4.4, Eclipse 4.3 (note: It seems jbpm different versions of the Eclipse version, I began to try myeclipse6.6+ JBPM4.4, and eclipse4.2+ JBPM4.4 seems to be not good, and later got an Eclipse 4.3 + jbpm for 4.3 can, specific reasons not to delve into)





 step 1: Download the resources:



Eclipse4.3:http://mirror.neu.edu.cn/eclipse/technology/epp/downloads/release/kepler/r/eclipse-jee-kepler-r-win32.zip



Ant official: http://apache.fayea.com/apache-mirror//ant/binaries/apache-ant-1.9.2-bin.zip (Ant package compilation used, not detailed here)






Step 2: JBPM plug-in installation:



Install new software...->add...->archive ...



Pop-up Add repostory window:



Name: Name yourself, this can be named JBPM-4.4



Locations:jbpm-4.4.zip\jbpm-4.4\install\src\gpd






Otherwise, some features may not be available after the update)



Click Keep next until you have completed the reboot.






Step 3: Configure JBPM



Prefences will be a lot more after eclipse. JBoss JBPM Directory: Window->preferences->jboss JBPM (JBPM configuration)



Window-->preferences-->jboss Jbpm-->runtime Locations-->add






step 4: define JBPM User library:  



Under Eclipse, Window-->preferences-->java-->build path-->user Libraries Click New, enter the name, JBPM Libraries.



* Note that this must be written jbpm! Click Add JARS or add External JARS, find the Lib directory, that is, jbpm-4.4/lib Select all the jar files under Lib, click Open.



add JARS or Add External JARS, find the Jbpm.jar file, which is Jbpm-4.4/jbpm.jap, click Open.  


jbpm.jar visible), double-click source attachment ,


Source Attachment Configuration window, select External folder. Locate the SRC directory under the JBPM Setup program. Click OK, generally jbpm-4.4/src so ok!






add jPDL4 mode to the directory



 //this to tell the truth, do not know what to do under Eclipse, Window-->preferences-->xml--xml Catalog click add... 
Click on the button below the Map-icon icon and select File System in the Open dialog box, select the JBPM installation directory under the SRC folder jpdl.xsd file click to open ok 


 Step 5: import Example

Under Eclipse, file-->import--general--existing project into workspace select jbpm-4.4
OK, the whole folder will come in. A example project will appear, if there is an error. Because there's no jbpm bag.
Right-click Example Project, Properties-->java Build Path
Select the Libraries tag, Add Library, select Userlibrary,next to select JBPM Libraries. Finish
All examples can be run with JUnit.





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.