activiti学习

 

1.所需文件:
  activiti-5.9.zip
  activiti-modeler-5.6.zip
  apache-ant-1.8.3.zip
  apache-tomcat-7.0.20.zip
2.将activiti-5.9.zip加压到d:D:\Program Files\activiti_5_9
   在activiti-5.9下建文件夹downloads
   将apache-tomcat-7.0.20.zip拷贝到D:\Program Files\activiti_5_9\downloads下,
   修改D:\Program Files\activiti_5_9\setup\build.properties文件,原来为:
   tomcat.version=6.0.32修改为tomcat.version=7.0.20,原来为:
   downloads.dir=../../downloads修改为downloads.dir=../downloads
   打开D:\Program Files\activiti_5_9\setup\build.xml文件,将
   <antcall target="internal.tomcat.download" />
   注解掉,即改为:
   <!-- #<antcall target="internal.tomcat.download" />###### -->
  
   配置ant:首先设置系统环境变量ANT_HOME值为:D:\Program Files\apache-ant-1.8.3,在Path中
            添加D:\Program Files\apache-ant-1.8.3\bin;
   
   
 将tools.jar拷贝到jre/lib下。
 
 
 cmd进入:D:\Program Files\activiti_5_9\setup下,然后运行
 ant demo.start
 显示build successful,表示运行成功。
 将activiti-modeler-5.6.zip解压到D:\Program Files\activiti_5_9\apps\apache-tomcat-7.0.20\webapps下,
 文件夹名称为activiti-modeler。
 将这个tomcat配置到myeclipse中,然后在myeclipse中启动tomcat。
 可以访问两个东西:首先启动:再运行一次: ant demo.start 。
 After running this target H2 and Tomcat will be running in the background.
 To stop those processes run ant demo.stop.

 The other targets in that build script can also be called individually. Run ant -p for more details.

 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:

Table 2.2. The webapp tools

Webapp Name URL Description :
1.
Activiti Explorer
http://localhost:8080/activiti-explorer 
The process engine user console. Use this tool to start new processes, assign tasks,
 view and claim tasks, etc. This tool also allows to administrate the Activiti engine.  
2. Activiti Modeler powered by signavio
http://localhost:8080/activiti-modeler/p/explorer


遇到问题:
 1.firefox对 activiti-modeler的支持,在activiti-modeler下的WEB-INF/web.xml,
   在4后面加了个11(因为我的firefox是11.0),然后再重新启动,然后再打开,然后就成功了。。。


 <context-param>
  <description>Define a reg exp for all user agents which are supported for the editor</description>
  <param-name>supportedBrowserEditor</param-name>
  <param-value>Firefox[\/\s]((3|4|11)\.\d+)|AppleWebKit|Opera.9\.\d+</param-value>
 </context-param>
 
  2.activiti-modeler汉化问题,将i18n下的js文件使用notepad++,打开,然后以utf-8保存,
    修改按钮等元素对应的值为汉字。


 (未完待续)

评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值