前提:JBK、Tomcat和Eclispe已经安装好
ANT安装
1、下载ant,并解压到C:\apache-ant-1.8.2
http://ant.apache.org/bindownload.cgi
2、配置环境变量
- ANT_HOME:C:\apache-ant-1.8.2 (这里为你自己解压缩的目录)
- PATH:%ANT_HOME%\bin(这个设置是为了方便在dos环境下操作)
3、检测是否安装成功
Activiti安装
1、下载activiti-5.5.zip,并解压到D:\activiti-5.5
http://www.activiti.org/download.html
2、运行脚本,设置 Activiti 环境
- 打开DOS窗口,cd到setup目录。
- 输入 ant demo.start,然后按 enter 键。
- 脚本完成后,会在浏览器内启动所有的 Activiti 的 web 应用。以 kermit/kermit 登陆。
引用
注意:在执行ant demo.start时,如果更换数据库,比如mysql(默认是H2),需要更新如下文件
1.build.properties
# The db property should refer to the type of database that
# you want to use. Currently h2, MySQL(mysql),
# Postgres SQL(postgres) and Oracle 10g (oracle) is supported.
#
# SQL Server(mssql) is also supported, but is an EXPERIMENTAL feature.
# IBM DB2(db2) is also supported, but is an EXPERIMENTAL feature.
#
# When using oracle, follow the instructions described in the userguide, chapter
# Configuration > Changing the database > Using Oracle in the demo setup
db=mysql
# The tx property refers to the transaction environment
# you want to use. Choose from {standalone}
tx=standalone
# Specify the version of Tomcat that you want to use.
# We only tested with the given Tomcat version but in
# theory any tomcat 6.0.x version should do fine.
tomcat.version=6.0.32
# If you have tomcat already downloaded, point the
# downloads.dir property to that directly. If tomcat is
# not found in the downloads.dir, it will be automatically
# downloaded there.
# The downloads directory should be outside of /target/
# to avoid re-downloading after a clean
downloads.dir=../../downloads
# Remove this property or set it to disabled if you're not using Activiti Cycle
feature.cycle=enabled
# Remove this property or set it to disabled if you're not using Activiti Modeler
feature.modeler=enabled
修改数据库类型为mysql
打开文件“setup\build.properties”修改db=mysql(默认为h2)
2、build.mysql.properties
db=mysql
jdbc.driver=com.mysql.jdbc.Driver
jdbc.url=jdbc:mysql://IP地址:3306/activiti?autoReconnect=true
jdbc.username=所用数据库的用户名
jdbc.password=所用数据库的密码
遇见问题
1、执行“ant demo.start”之前,需要创建数据库,否则会出现下边的问题:
2、执行“ant demo.start”完毕之后,自带的web应用访问不了,如下图:
原因:activiti-modeler-5.5.war不会自动发布,导致访问不了
- 大小: 6.5 KB
- 大小: 10.2 KB
- 大小: 18.3 KB
- 大小: 73.5 KB
分享到:
相关推荐
activiti5.14+spring4.0+srping Mvc4.0+mybatis3.0.5+maven环境搭建,可以跑起来,并且可以逆向生成相关的数据库表
springboot+activiti+vue 版本和springboot+activiti+thymleaf 工作流2个版本
前台完全基于 extjs mvc框架开发 想学习extjs mvc的可以看看 后台用了activiti工作流 写了一个简单的请假审批例子 想学习spring mvc的也可以下载看看
spring4+springMVC+mybatis+activiti+maven
基于 springboot+mybatis_+shiro + redis+activiti+quarts+quart
基于 springboot+mybatis_+shiro + redis+activiti+quarts+quart76
activiti+flex项目搭建。本人研究亲测可以,附件上有数据库sql文件
spring boot + shiro + cas + dubbo + zookeeper + activiti +
spring boot+activiti+shiro+layui+Mysql权限管理系统源码,系统经多次测试,运行无误,大家放心下载
使用rest风格整合了 activiti 5.20 spring 4.15 mybatis 3.3.0 是初学者入门的好素材
activiti + spring mvc 基础web项目.zip
activiti+ssh
myeclipse10的activiti插件+补丁+安装方法,亲自测试成功安装。
spring activiti slf4j mail
1.将压缩包内activiti文件夹放入Myeclipse\dropins文件夹内并修改activiti文件夹内Link文件指向自己的目录重启Myeclipse(这时打开bpmn文件仍会报错)。...注:patches夹与activiti文件夹同时放入dropins安装不会成功!
本附件是MyEclipse上创建Activiti工程,创建编辑Activiti流程图必备插件,附件中含有指导文档,按照文档非常快捷安装插件;并且能够告诉你怎么安装运行MyEclipse工具;比在线安装插件简单快捷;
一份比较好的Activiti5的文档,分享一下。 从事该方面开发的人请看。
是通过咖啡兔的demo整合出一个比较容易看得懂,可以运行的demo
Activiti 5.22.0数据库表结构添加中文注释MySQL脚本,内含3个脚本,分别是: 1、21张表全部表和字段中文注释和取值说明建表脚本(单SQL文件) 2、21张表全部表和字段中文注释和取值说明添加注释脚本(单SQL文件) 3...