注册 登录  
 加关注
   显示下一条  |  关闭
温馨提示!由于新浪微博认证机制调整,您的新浪微博帐号绑定已过期,请重新绑定!立即重新绑定新浪微博》  |  关闭

我的博客

 
 
 

日志

 
 
关于我

风流茶说合,酒是色媒人,古往今来,浪涛依旧,我辈今朝,叱咤风云,

网易考拉推荐

配置jbpm4的步骤  

2009-12-04 17:41:45|  分类: jbpm |  标签: |举报 |字号 订阅

  下载LOFTER 我的照片书  |

 

配置jbpm4的步骤 - 大将军 - 我的博客        

Figure聽2.2.聽Defining jBPM Libraries

 

2.9.4.聽Define the jBPM User Library

This section shows how to define a user library for your workspace that is a placeholder for the jBPM library as well as its dependencies. If you create a new Java project, it will be sufficient to add this user library to the build path.

配置jbpm4的步骤 - 大将军 - 我的博客       Click Window --> Preferences

配置jbpm4的步骤 - 大将军 - 我的博客       Select Java --> Build Path --> User Libraries

配置jbpm4的步骤 - 大将军 - 我的博客       Click New...

配置jbpm4的步骤 - 大将军 - 我的博客       Type name jBPM Libraries

配置jbpm4的步骤 - 大将军 - 我的博客       Click Add JARs...

配置jbpm4的步骤 - 大将军 - 我的博客       Navigate to the 'lib' folder of your jBPM installation

配置jbpm4的步骤 - 大将军 - 我的博客       Select all jar files and click Open

配置jbpm4的步骤 - 大将军 - 我的博客       Select the jBPM Libraries entry

配置jbpm4的步骤 - 大将军 - 我的博客       Click Add JARs... again

配置jbpm4的步骤 - 大将军 - 我的博客       Select the jbpm.jar file in the root of your jBPM installation

配置jbpm4的步骤 - 大将军 - 我的博客       Click Open

配置jbpm4的步骤 - 大将军 - 我的博客       Select entry Source attachment under jbpm.jar

配置jbpm4的步骤 - 大将军 - 我的博客       Click Edit

配置jbpm4的步骤 - 大将军 - 我的博客       In dialog Source Attachment Configuration, click External Folder...

配置jbpm4的步骤 - 大将军 - 我的博客       Navigate to the src folder in your jBPM installation

配置jbpm4的步骤 - 大将军 - 我的博客       Click Choose

配置jbpm4的步骤 - 大将军 - 我的博客       Click OK twice to close all the open dialogs

Figure聽2.3.聽Defining jBPM Libraries

 

2.9.5.聽Adding jPDL 4 schema to the catalog

In case you want to edit the process XML sources directly, it is best to specify your schema in the XML catalog. This will give you better code completion while editing the process sources.

配置jbpm4的步骤 - 大将军 - 我的博客       Click Window --> Preferences

配置jbpm4的步骤 - 大将军 - 我的博客       Select XML --> XML Catalog

配置jbpm4的步骤 - 大将军 - 我的博客       Click 'Add...'

配置jbpm4的步骤 - 大将军 - 我的博客       The 'Add XML Catalog Entry' dialog opens

配置jbpm4的步骤 - 大将军 - 我的博客       Click the button with the map-icon next to location and select 'File System...'

配置jbpm4的步骤 - 大将军 - 我的博客       In the dialog that opens, select file jpdl-4.0.xsd in the src directory of the jBPM installation root.

配置jbpm4的步骤 - 大将军 - 我的博客       Click 'Open' and close all the dialogs

Figure聽2.4.聽Adding jPDL 4 schema to the Catalog

 

2.9.6.聽Importing the Examples

In this section we will import the examples project in the installation in Eclipse

配置jbpm4的步骤 - 大将军 - 我的博客       Select File --> Import...

配置jbpm4的步骤 - 大将军 - 我的博客       Select General --> Existing Projects into Workspace

配置jbpm4的步骤 - 大将军 - 我的博客       Click Next

配置jbpm4的步骤 - 大将军 - 我的博客       Click Browse... to select a root directory

配置jbpm4的步骤 - 大将军 - 我的博客       Navigate to the jBPM root installation directory

配置jbpm4的步骤 - 大将军 - 我的博客       Click OK

配置jbpm4的步骤 - 大将军 - 我的博客       The examples project is automatically found and selected

配置jbpm4的步骤 - 大将军 - 我的博客       Click Finish

After setting the jBPM User Libraries and importing the examples, all the examples can be run as JUnit tests. Right click on a test and select 'Run As' --> 'JUnit Test'.

You're all set to start playing with the coolest Java process technology!

2.9.7.聽Adding deployment with ant

You can leverage the eclipse ant integration to ease deployment of processes. We'll show you how it works with the examples. Then you can copy this practice in your own project. First, open up the Ant view.

配置jbpm4的步骤 - 大将军 - 我的博客       Select Window --> Show View --> Other... --> Ant --> Ant

配置jbpm4的步骤 - 大将军 - 我的博客       Then drag the build file build.xml in the examples project from the package explorer to the Ant view

Chapter聽3.聽Graphical Process Designer (GPD)

3.1. Creating a new process file

3.2. Editing the process source

This chapter will explain how to work with the Graphical Process Designer. After installing the GPD and setting up the examples, you'll see that the jPDL process files will get a special icon. Double clicking such a file in the package view will open up the jPDL process in the GPD.

Figure聽3.1.聽The GPD

 

3.1.聽Creating a new process file

CRTL+N will open up the wizard selector.

Figure聽3.2.聽Select wizard dialog

 

Select jBPM --> jPDL 4 File. Click 'Next >'. Then the 'New jPDL 4 File' wizard opens.

Figure聽3.3.聽Create a new process dialog

 

Select the parent directory, enter a file name and click 'Finish'. Voila, you've created your first jPDL process file.

3.2.聽Editing the process source

The GPD contains a 'Source' tab with the XML sources. These are directly editable in this tab and the graphical view will reflect the changes when you switch back to the diagram.

Figure聽3.4.聽Editing jPDL using the source view

 

Chapter聽4.聽Deploying business archives

4.1. Deploying process files and process resources

4.2. Deploying classes

  评论这张
 
阅读(241)| 评论(0)
推荐 转载

历史上的今天

评论

<#--最新日志,群博日志--> <#--推荐日志--> <#--引用记录--> <#--博主推荐--> <#--随机阅读--> <#--首页推荐--> <#--历史上的今天--> <#--被推荐日志--> <#--上一篇,下一篇--> <#-- 热度 --> <#-- 网易新闻广告 --> <#--右边模块结构--> <#--评论模块结构--> <#--引用模块结构--> <#--博主发起的投票-->
 
 
 
 
 
 
 
 
 
 
 
 
 
 

页脚

网易公司版权所有 ©1997-2017