无法运行演示设置 [英] Unable to run the demo setup
问题描述
我已经下载了 Activity 5.10 zip 文件,然后我已经下载并配置了 Apache ANT 并对其进行了测试,它成功运行.但我无法运行此链接中指定的演示文件 http://activiti.org/userguide/#demo.setup
I have downloaded the Activity 5.10 zip file and then i have downloaded and configured the Apache ANT and i test it and it worked successfully. But i am unable to run the demo file as specified in this link http://activiti.org/userguide/#demo.setup
如果我使用 cmd 命令行键入以下内容:-
if i type the following using the cmd command line:-
C:\activiti-5.10\activiti-5.10\setup>ant demo.start
我会收到以下错误:-
'ant' is not recognized as an internal or external command, operable program or batch file.
谁能帮我找出问题所在?BR
Can anyone help me in identifying what is the problem? BR
:::UPDATE:::
感谢您的回复,我已将 ANT bin 文件复制到活动的 setup 目录中,然后再次运行 CMD 命令,但出现以下错误,我构建失败,,如下所述:-
thanks for the reply, i have copied the ANT bin files inside the setup directory for the activity,, then i run the CMD command again ,, but i got the following error that i build failed,, AS MENTIONED BELOW:-
C:\Users\Desktop\activiti-5.10\activiti-5.10\setup>ant demo.start
Buildfile: C:\Users\Desktop\activiti-5.10\activiti-5.10\setup\build.xml
demo.install:
internal.cfg.create:
[copy] Copying 1 file to C:\Users\Desktop\activiti-5.10\activiti-5.
10\setup\build\activiti-cfg
[zip] Building zip: C:\Users\Desktop\activiti-5.10\activiti-5.10\s
etup\build\activiti-cfg.jar
[echo] copying configuration to ../workspace/activiti-engine-examples/src/m
ain/config
[unzip] Expanding: C:\Users\Desktop\activiti-5.10\activiti-5.10\setu
p\build\activiti-cfg.jar into C:\Users\Desktop\activiti-5.10\activiti-5.
10\workspace\activiti-engine-examples\src\main\config
internal.classpath.libs:
internal.taskdef.launch:
h2.start:
[echo] starting H2 database...
[launch] launching cmd 'C:\Users\Desktop\activiti-5.10\activiti-5.10\
apps\h2\h2.start.bat ' in dir 'C:\Users\Desktop\activiti-5.10\activiti-5
.10\apps\h2'
[launch] waiting for launch completion msg 'TCP server running'...
[launch] 'java' is not recognized as an internal or external command,
[launch] operable program or batch file.
[launch] launched process completed
[echo] H2 database started
tomcat.start:
BUILD FAILED
C:\Users\Desktop\activiti-5.10\activiti-5.10\setup\build.xml:330: couldn
't find executable for script C:\Users\Desktop\activiti-5.10\activiti-5.
10\apps\apache-tomcat-6.0.32\bin\startup
Total time: 0 seconds
推荐答案
我输入了 tomcat.install
并且它解决了问题,因为我需要在 apps 目录中下载 tomcat.
I typed tomcat.install
and it solved the problem since I need to download the tomcat inside the apps directory.
这篇关于无法运行演示设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!