- 浏览: 129176 次
- 性别:
文章分类
最新评论
-
cultivator129:
匿名用户没办法下载,也没找到登陆的地方,大家是怎么登陆的?
signavio-core-components编译初体验 -
511039003:
...
如何使用Guava的缓存管理 -
string2020:
activiti如何整合OSGI
Activiti User Guide -- Activit 用户指南 Part06 -
刺客8882010:
楼主可否给我份Demo,谢谢,控制部分代码在哪里写我不是很清楚 ...
利用Spring动态对Quartz定时任务管理 -
yu120:
有源码吗?
利用Spring动态对Quartz定时任务管理
终于告一个段落了,前一段时间忙着开发一个流转引擎,所以这一段时间也没有跟踪Activiti的进展,直到前几天才开始重新研究,觉得先把用户指南好好看看,顺便也进行了翻译,不敢独享,所以发表出来和大家一起分享。
还是采用以前的方式同时把中英文发布出来,由于本人英语不是很好,所以翻译过程中肯定有很多值得商榷的地方,请大家多多包涵。
后面我会逐渐把整个用户指南发布,现在还没有全部翻译完,所以只能一部分一部分的发布出来,希望大家了解。
Chapter 1. Introduction
第一章 简介
Table of Contents
许可
Activiti is distributed under the Apache V2 license.
Activiti是依据the Apache V2 license进行发布的。
下载
http://activiti.org/download.html
源码
The distribution contains most of the sources as jar files. To find and build the full source codebase, please read the 'Building the distribution' wiki page
Activiti的发布包中以jar的方式包含了大部分的源码。在 'Building the distribution' wiki page 找到全部代码和如何进行编译。
运行环境
- JVM 5+
- Ant 1.7.1+
报告问题
Every self respecting developer should have read How to ask questions the smart way
每一个开发人员都应该阅读How to ask questions the smart way
After you've done that you can post questions and comments on the Users forum and create issues in our JIRA issue tracker
当你阅读后你就可以在 the Users forum中发布你的问题和意见,同时可以在our JIRA issue tracker中创建相应的报告。
第二章 启航
Table of Contents
安装示例
Setup is an ant script located in directory setup that helps you get up and running with Activiti quickly.
Activiti的安装是一个ant脚本,存放在setup目录下,它可以帮助你快速将Activiti运行起来。
To run the script, you'll need a working Java runtime and Ant installation. Also make sure that the JAVA_HOME and ANT_HOME system variables are correctly set. The way to do this depends on your operating system, but the manual of ant gives a description on how to do this. The demo setup script is tested with Ant 1.7.1.
为了运行该脚本,你必须正确安装了Java和Ant运行环境。同时你也必须确认JAVA_HOME和ANT_HOME系统变量设置正确。具体如何进行设置依赖于你的操作系统,具体可以参考manual of ant 。本示例脚本在Ant1.7.1下测试通过。
To configure setup for your environment, update property files build.properties and build.{your-database}.properties . Check those files for more information on configurable properties and potential values.
然后修改 build.properties 和 build.{your-database}.properties 属性文件。检查这些属性配置文件的属性项及相应的配置的值。
The easiest target to get started is demo.setup. That target will
启动Activiti的最简单的target是demo.setup。该target将
- Fetch the library dependencies for the examples
- 获取示例所依赖的包
- Install the H2 in ${activiti.home}/apps/h2
- 安装H2到${activiti.home}/apps/h2目录
- Start the H2 database
- 启动H2数据库
- Create the Activiti tables in the database
- 在数据库中创建Activiti的表
- Download Tomcat if not available in the ${downloads.dir}
- 如果在${downloads.dir}目录不存在Tomcat安装文件,则进行下载
- Install Tomcat in ${activiti.home}/apps/apache-tomcat-${tomcat.version}
- 安装Tomcat到${activiti.home}/apps/apache-tomcat-${tomcat.version}目录
- Create an Activiti configuration jar
- 创建Activiti配置jar
- Install Activiti Engine into Tomcat, which includes libraries and configurations
- 安装Activiti引擎到Tomcat,包含了相应的包机配置信息
- Insert the demo users and groups in the Activiti identity tables (see below)
- 在Activiti identity表中插入示例用户和岗位(参考下面)
- Deploy the example processes to the Activiti Engine DB
- 部署示例流程到Activiti 引擎数据库
- Deploy the REST interface webapp into tomcat
- 部署REST应用接口到tomcat中
- Download the Activiti Modeler webapp to ${activiti.home}/webapps
- 下载Activiti建模工具到${activiti.home}/webapps中
- Deploy the Probe, Explorer and Modeler webapps into tomcat.
- 部署Probe、Explorer和Modeler应用到tomcat中
- Start tomcat
- 启动tomcat
After running this target H2 and Tomcat will be running in the background. To stop those processes run ant demo.teardown. Note that if you start Tomcat manually with the startup and shutdown scripts in tomcats bin directory, on some platforms Activiti Cycle will currently store configuration files in the working directory (which is the directory you start the script in).
当运行该target后,H2和Tomcat将会在后台运行。你可以通过运行ant demo.teardown来停止。注意,如果你是通过手工启动tomcat bin目录下的startup和shutdown时,在某些平台中Activiti Cycle将会把配置文件存放在相应的工作目录下(也就是你启动脚本的那个目录)。
The other targets in that build script can also be called individually and they will take the configurable properties into account. Run ant -pfor more details.
构建脚本中的其它target可以单独的调用,它们将获取相应的配置文件信息。运行ant –p 来查看详细的信息。
These are the demo users:
示例用户如下:
UserId |
Password |
Security roles |
kermit |
Kermit |
admin |
gonzo |
Gonzo |
manager |
fozzie |
Fozzie |
user |
Now you can access following web applications:
现在你可以通过下面的链接来访问应用了:
Webapp Name |
URL |
Description |
Activiti Probe |
The admin management console. Use this tool to see if the configured process engine is correctly initialized, DB tables contents. 管理控制台。通过该工具可以查看流程引擎配置是否正确被安装,数据库中表的内容。 |
|
Activiti Explorer |
The process engine user console. Use this tool to view your personal and candidate task lists and to complete tasks. 用户控制台。使用该工具可以查看个人任务、待确定任务列表,也可以完成任务。 |
|
Activiti Cycle |
The process cycle layer. Use this to browse repositories, execute transformations between model formats. 流程循环层。使用该工具可以查看流程定义?? |
|
Activiti Modeler powered by Signavio |
The web based process designer tool. Use this tool to graphically author BPMN 2.0 compliant process definitions files. 基于Web的流程定义工具。使用该工具可以生成符合BPMN2.0的流程定义文件。 |
示例
The distribution contains example source code that show different types of usages of Activiti and their library dependencies. The examples are grouped according to their dependencies.
发行包中所包含的示例源文件展示了Activiti的不同应用方式以及这些应用方式的依赖包。示例已经对它们依赖的包进行了有效的分组。
The distribution doesn't contain the library dependencies out-of-the-box, but the next section shows how the setup script can automatically download and organize the library dependencies. The examples directory in the root of the distribution contains these types of examples:
发行包中不包含额外的依赖包,在下一节中将展示安装脚本如何自动的下载和组织所依赖的包。发行包的examples目录下包含了以下示例:
- activiti-engine: This set of examples show the most common usage of Activiti: BPMN process definitions and process executions are stored in a DB and the examples make use of the persistent API.
- activiti-engine: 该系列的示例展示了Activiti:BPMN的常规用法,流程定义和流程实例都将存储在数据库中。示例还使用了持久化API。
- activiti-spring: These examples show how you can use the Activiti Engine in a Spring environment.
- activiti-spring: 该示例展示了如何在Spring环境中使用Activiti引擎。
- activiti-pvm These examples show the bare bones Process Virtual Machine. No persistence, no process language. This is the basis for building your own process language and engine.
- activiti-pvm : 该示例展示了最核心的流程虚拟机。没有持久化,没有流程语言。使用该基础你可以构建自己的流程语言和引擎。
依赖包
Activiti takes great care in minimizing library dependencies. The 3rd party library dependencies are not included in the Activiti download to reduce the download size, but the setup script can download and organize the library dependencies for those examples that you want to explore.
Activiti尽量缩小对其它的依赖。为了减少下载的大小Activiti发行包中不包含第三方依赖包,但是在示例安装脚本中可以自动下载和组织相应的依赖包。
Fetching the library dependencies is included in the demo.setup
依赖包的获取已经包含在demo.setup target中。
To download the library dependencies, use one of these targets in the ant setup/build.xml file:
你可以通过setup/build.xml以下target获取相应的依赖包:
- examples.get.libs.all
- examples.get.libs.engine
- examples.get.libs.spring
- exam
发表评论
-
signavio-core-components编译初体验
2012-03-28 11:17 4695最近又开始研究Acti ... -
Activiti User Guide -- Activit 用户指南 Part11
2010-10-31 10:24 4681User task 用户任务 Descript ... -
Activiti User Guide -- Activit 用户指南 Part10
2010-10-31 10:15 7244Gateways 网关 A gateway is u ... -
Activiti User Guide -- Activit 用户指南 Part09
2010-10-31 10:08 4004Sequence flow 顺序流 Descript ... -
Activiti User Guide -- Activit 用户指南 Part08
2010-10-30 15:04 4575BPMN 2.0 constructs BPMN 2. ... -
Activiti User Guide -- Activit 用户指南 Part07
2010-10-30 14:53 3221Now we can start a new proce ... -
Activiti User Guide -- Activit 用户指南 Part06
2010-10-30 14:46 6983Chapter 7. BPMN 第七章 BPMN T ... -
Activiti User Guide -- Activit 用户指南 Part05
2010-10-24 17:09 3113Chapter 6. Deployment 第六章 部 ... -
Activiti User Guide -- Activit 用户指南 Part04
2010-10-24 17:07 3663Chapter 5. API 第五章 API Tab ... -
Activiti User Guide -- Activit 用户指南 Part03
2010-10-19 22:04 3461Chapter 4. Spring integratio ... -
Activiti User Guide -- Activit 用户指南 Part02
2010-10-17 18:36 3535Chapter 3. Configuration ...
相关推荐
赠送jar包:activiti-json-converter-5.21.0.jar; 赠送原API文档:activiti-json-converter-5.21.0-javadoc.jar; 赠送源代码:activiti-json-converter-5.21.0-sources.jar; 赠送Maven依赖信息文件:activiti-...
这个“activiti-userguide-5-16”压缩包文件包含了 Activiti 5.16 版本的用户指南,帮助我们深入理解并有效使用这个流程管理工具。 1. **BPMN 2.0 规范**:Business Process Model and Notation 2.0(业务流程模型...
赠送jar包:activiti-engine-5.21.0.jar; 赠送原API文档:activiti-engine-5.21.0-javadoc.jar; 赠送源代码:activiti-engine-5.21.0-sources.jar; 赠送Maven依赖信息文件:activiti-engine-5.21.0.pom; 包含...
赠送jar包:activiti-json-converter-5.21.0.jar; 赠送原API文档:activiti-json-converter-5.21.0-javadoc.jar; 赠送源代码:activiti-json-converter-5.21.0-sources.jar; 赠送Maven依赖信息文件:activiti-...
赠送jar包:activiti-image-generator-5.21.0.jar; 赠送原API文档:activiti-image-generator-5.21.0-javadoc.jar; 赠送源代码:activiti-image-generator-5.21.0-sources.jar; 赠送Maven依赖信息文件:activiti-...
赠送jar包:activiti-common-rest-5.21.0.jar; 赠送原API文档:activiti-common-rest-5.21.0-javadoc.jar; 赠送源代码:activiti-common-rest-5.21.0-sources.jar; 赠送Maven依赖信息文件:activiti-common-rest-...
赠送jar包:activiti-bpmn-model-5.21.0.jar; 赠送原API文档:activiti-bpmn-model-5.21.0-javadoc.jar; 赠送源代码:activiti-bpmn-model-5.21.0-sources.jar; 赠送Maven依赖信息文件:activiti-bpmn-model-...
activiti-spring-boot-starter-7.1.0.M1
赠送jar包:activiti-image-generator-5.21.0.jar; 赠送原API文档:activiti-image-generator-5.21.0-javadoc.jar; 赠送源代码:activiti-image-generator-5.21.0-sources.jar; 赠送Maven依赖信息文件:activiti-...
activiti-spring-boot-starter-basic-6.0.0适配springboot2.1.2
activiti-bpmn-converter-5.18.0-sources.jar
赠送jar包:activiti-process-validation-5.21.0.jar; 赠送原API文档:activiti-process-validation-5.21.0-javadoc.jar; 赠送源代码:activiti-process-validation-5.21.0-sources.jar; 赠送Maven依赖信息文件:...
赠送jar包:activiti-bpmn-converter-5.21.0.jar; 赠送原API文档:activiti-bpmn-converter-5.21.0-javadoc.jar; 赠送源代码:activiti-bpmn-converter-5.21.0-sources.jar; 赠送Maven依赖信息文件:activiti-...
activiti-bpmn-converter-5.16.4.jar
本文将详细介绍如何在SpringBoot项目中整合Activiti,并通过提供的"springboot-activiti-test-master.zip"压缩包进行实战演练。 首先,我们需要了解SpringBoot与Activiti的基本概念。SpringBoot旨在简化Spring应用...
1、将以下四个文件(见附件Activiti Designer 5.18.1插件补丁)拷贝到自己的eclipse的plugin文件夹下面,重启eclipse ...2、将activiti-designer-5.18.0文件夹copy到eclipse\dropins目录下; 3、重启eclipse即可
eclipse 安装activiti activiti-designer-5.18.0.zip 附带eclipse 以及activiti-designer-5.18.0.zip 安装包 eclipse下载链接https://www.eclipse.org/downloads/packages/release/luna/sr2
【 activiti-explorer-eclipse项目 】是一个基于Activiti工作流引擎的Eclipse插件项目。 Activiti 是一个开源的业务流程管理系统(BPMN 2.0)和工作流引擎,它允许开发者轻松地在应用程序中集成业务流程管理功能。这...
Activiti的Eclipse插件activiti-designer安装资料包,包含activiti-designer-5.18.0.zip、org.eclipse.emf.transaction_1.4.0.201306111400.jar、org.eclipse.emf.validation.ui_1.7.0.201403111711.jar、org....
1. **流程建模**: Activiti Designer 提供了一个图形化用户界面,通过拖放方式可以轻松创建和配置各种流程元素,如开始事件、结束事件、任务、网关和泳道等。这使得非技术背景的业务人员也能参与到流程设计中,提升...