zoukankan      html  css  js  c++  java
  • activiti总结

    1、activiti如何修改登录用户名?在哪个数据库里面添加。

    2、activiti的启动和部署在http://activiti.org/userguide/index.html#demo.setup.one.minute.version

    这里寻找。

    3、activiti如何表示当前流程到哪个结点了?如何加深显示某个结点?实现的方式是修改一个bpmn流程图,还是显示多个bpmn流程图(每个流程图加深的结点不一样)。

    4、如何访问项目的流程图?是直接通过url吗?

    5、数据库配置

    <property name="jdbcUrl" value="jdbc:mysql://localhost:3306/activiti" />
    <property name="jdbcDriver" value="com.mysql.jdbc.Driver" />
    <property name="jdbcUsername" value="root" />
    <property name="jdbcPassword" value="" />

     activiti.cfg.xml的目录是放在/activiti/src/main/resources/activiti.cfg.xml

    By extending ActivitiTestCase, you can annotate test methods with org.activiti.engine.test.Deployment. Before the test is run, a resource file of the form testClassName.testMethod.bpmn20.xml in the same package as the test class, will be deployed. At the end of the test, the deployment will be deleted, including all related process instances, tasks, etc. The Deployment annotation also supports setting the resource location explicitly. See the Javadoc for more details.

    当基于ActivitiTestCase进行单元测试时,可以使用org.activiti.engine.test.Deployment注释来指定要进行测试的方法。在测试运行前,流程引擎会先部署测试类所在目录下一个名称为testClassName.testMethod.bpmn20.xml 流程定义文件。当测试运行结束后,该部署将会被删除,同时也会删除相关的流程实例、任务等数据。Deployment 注释也可以明确的指定资源文件所在路径。详细信息可以查看javadoc.

  • 相关阅读:
    Linux中的阻塞机制
    Shellz中awk的简单用法
    实际项目开发过程中常用C语言函数的9大用法
    堆栈溢出一般是什么原因?
    哈夫曼算法原理
    7款易上手C语言编程软件推荐
    嵌入式系统分类介绍
    什么是字符串数组
    C语言中数组定义方式
    第三章课后习题P56解析
  • 原文地址:https://www.cnblogs.com/usual2013blog/p/3279245.html
Copyright © 2011-2022 走看看