随笔-10  评论-5  文章-0  trackbacks-0


1.下载eclipse,我下的是3.2.1
2.下载jbpm软件包,上jboss那个网站,去下jbpm-starters-kit-3.0.4.zip,其中包括了gpd软件包,主公作区,和相关数据库文件生成的目录。
3.要在eclipse下能够可视化编辑jbpm流程只需要将解压目录下的 \jbpm-starters-kit-3.1.2\jbpm-designer\jbpm-gpd-feature\eclipse的feature和plugins的内容考到eclipse目录下的对应目录下就可以了。重新启动eclipse可以发现能够建立jboss jbpm的project了。

另外一个问题就是生成数据库文件

将 jbpm-starters-kit-3.1.1 下的子目录 jbpm 改名为 jbpm.3 ,否则在执行下面的 ant 命令时会报如 jbpm.3 目录不存在的错误
 修改build.properties文件也行, 把jbpm.3那个地方改成你解压根目录下jbpm文件夹的路径

(注意:生成脚本后没有oracle的,要改一下build.xml文件才能生成oracle的:

找到下边内容

<target name="all.tests"  depends="daffodildb.test,derby.test,firebird.test,hsqldb.test,mssql.test,mysql.test,postgresql.test,sybase.test" description="test jBPM on all databases and produces html reports in the build directory"/>

  <target name="all.scripts"
    depends="prepare,daffodildb.scripts,derby.scripts,
    firebird.scripts,hsqldb.scripts,mssql.scripts,mysql.scripts,
    postgresql.scripts,sybase.scripts"
    description="generates all database scripts for all databases in the build directory"/>
   
    改成 <target name="all.tests"
   depends="daffodildb.test,derby.test,firebird.test,
    hsqldb.test,mssql.test,mysql.test,postgresql.test,oracle.test,sybase.test"
   description="test jBPM on all databases and produces html reports in the build directory"/>

   <target name="all.scripts"
    depends="prepare,daffodildb.scripts,derby.scripts,
    firebird.scripts,hsqldb.scripts,mssql.scripts,mysql.scripts,
    postgresql.scripts,oracle.scripts,sybase.scripts"
     相信我们也能看出来,这两段内容我们可以去掉那些你不想此次编译出来的脚本,比如不想编译出来 mysql的脚本那么就把 mysql.test? 和 mysql.scripts 去掉吧。别忘了逗号。

1.首先要有ant,并且在环境变量中进行配置;
2.配置方法如下:
  新建“ANT_HOME”里边加上ant的根目录
      "path"里边加上ANT_HOME 中的lib 和 bin目录。
3.进入cmd中,将目录确定在这个解压目录 打ant 就能生成一个build文件价里边有所有数据库脚本

posted on 2006-12-14 16:20 bismarck 阅读(5929) 评论(1)  编辑 收藏 引用 所属分类: jbpm

评论:
# re: 在eclipse中安装jbpm插件进行可视化编辑及生成数据库脚本 2006-12-15 18:54 | 我的求职信
已阅,飘过...已阅,飘过...已阅,飘过...已阅,飘过...已阅,飘过...已阅,飘过...已阅,飘过...已阅,飘过...已阅,飘过...已阅,飘过...已阅,飘过...已阅,飘过...  回复  更多评论
  
只有注册用户登录后才能发表评论。