当前位置: 首页 > 工具软件 > Tempo > 使用案例 >

Build Tempo

阳文轩
2023-12-01

Intalio公司有个开源的Tempo Workflow系统,可以从  http://tempo.intalio.org/ 获取。

从 (SVN)http://tempo.intalio.org/tempo 获取的源码,只包含source文件,并不是一个完整的工程,需要使用buildr进行编译。

我之前对Ruby几乎一无所知,所以compile tempo对我来说还是有点难度的。没办法,只能现装Ruby/Gem/Rake,以及Buildr。

但是Buildr没有现成的.gem文件,必须使用Rake进行现编译。从 (SVN)http://www.intalio.org/buildr 获取最新的Buildr源码,进行编译。

gem install rake 之后进行rake intall编译操作还需要依赖另外的gems,具体就不详细说了。

windows用户在执行“rake install”命令时,如果遇到tar命令无法运行的情况
(例如我就遇到了,出现类似“undefined method `exitstatus' for nil:NilClass”的提示),
请将rake库文件的lib/packagetask.rb第117行注释掉即可。即: 代码
#              sh %{#{@tar_command} #{flag}cvf #{file} #{package_name}}

gem install buildr之前,还需要依赖很多其他gems操作,具体也不详细说了。gem操作会有详细的提示和操作。

D:\WorkDir\tempo\intalio\buildr\trunk\pkg>gem install buildr
Successfully installed buildr, version 1.2.10
Installing ri documentation for buildr-1.2.10...
Installing RDoc documentation for buildr-1.2.10...

然后使用builr编译Temp工程,在编译的过程中,还是执行testcase操作。
D:\WorkDir\tempo\intalio\tempo\trunk>buildr
(in D:/WorkDir/tempo/intalio/tempo/trunk)
Building tempo
Downloading org.apache.axis2:axis2-adb:jar:1.3
Downloading http://repo1.maven.org/maven2/org/apache/axis2/axis2-adb/1.3/axis2-adb-1.3.jar
100% |.........................................| 158.9KB/158.9KB Time: 00:00:03
Downloading org.apache.axis2:axis2-adb:pom:1.3

.......

Compiling 3 source files in tempo:fds:test:compile
Running tests in tempo:fds
    [junit] Testsuite: org.intalio.tempo.workflow.fds.dispatchers.NotifyDispatcherTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.391 sec
    [junit] ------------- Standard Error -----------------
    [junit] log4j:WARN No appenders could be found for logger (org.intalio.tempo.workflow.fds.dispat
ches.Dispatchers).
    [junit] log4j:WARN Please initialize the log4j system properly.
    [junit] ------------- ---------------- ---------------
    [junit]
    [junit] Testcase: testNotifyDispatcher took 0.235 sec
    [junit] Testsuite: org.intalio.tempo.workflow.fds.tools.MessageConversionTest
    [junit] Tests run: 2, Failures: 0, Errors: 0, Time elapsed: 0.078 sec
    [junit] ------------- Standard Output ---------------
    [junit]
    [junit]
    [junit]
    [junit]
    [junit] ------------- ---------------- ---------------
    [junit]
    [junit] Testcase: testUserProcessMessageConversion took 0.032 sec
    [junit] Testcase: testWorkflowProcessesMessageConversion took 0.016 sec
    [junit] Testsuite: org.intalio.tempo.workflow.fds.tools.SoapToolsTest
    [junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.031 sec
    [junit]
    [junit] Testcase: testSoapTools took 0.016 sec
Testing tempo:processes
Testing tempo:processes:AbsenceRequest
Testing tempo:processes:Store
Testing tempo:processes:TaskManager
Testing tempo:processes:peopleActivity
Testing tempo:processes:xpath-extensions
Testing tempo:security

 类似资料:

相关阅读

相关文章

相关问答