无法运行演示设置 [英] Unable to run the demo setup
问题描述
我已经下载了活动5.10 zip文件,然后我已经下载并配置了Apache Ant和我测试它,它成功合作。
但我无法运行演示文件在这个环节中指定 http://activiti.org/userguide/ #demo.setup
如果我使用键入cmd命令行: -
C:\\ Activiti的5.10 \\ Activiti的5.10 \\设置>蚂蚁demo.start
我会得到以下错误: -
蚁族不被识别为一个内部或外部命令,可操作的程序或批处理文件。
谁能帮我确定是什么问题?
BR
:::更新:::
感谢您的答复,我抄安装目录里面的ANT的bin文件为活动,,然后我再次运行CMD命令,,但我得到了我建立失败,下面的错误,,
AS下面提到: -
C:\\用户\\桌面\\ Activiti的5.10 \\ Activiti的5.10 \\设置>蚂蚁demo.start
构建文件:C:\\用户\\桌面\\ Activiti的5.10 \\ Activiti的5.10 \\ SETUP \\ build.xml文件demo.install:internal.cfg.create:
[复制]复制1个文件到C:\\用户\\桌面\\ Activiti的5.10 \\ Activiti的-5。
10 \\ SETUP \\建设\\ Activiti的-CFG
[拉链]大厦邮编:C:\\用户\\桌面\\ Activiti的5.10 \\ Activiti的5.10 \\ S
etup \\建设\\ Activiti的-cfg.jar
[回应]复制配置../workspace/activiti-engine-examples/src/m
AIN /配置
[解压缩]展开:C:\\用户\\桌面\\ Activiti的5.10 \\ Activiti的5.10 \\ SETU
p \\建设\\ Activiti的-cfg.jar到C:\\用户\\桌面\\ Activiti的5.10 \\ Activiti的-5。
10 \\工作区\\ Activiti的引擎,实例的\\ src \\主\\ CONFIGinternal.classpath.libs:internal.taskdef.launch:h2.start:
[回音]开始H2数据库...
[发射]启动CMDC:\\用户\\桌面\\ Activiti的5.10 \\ Activiti的5.10 \\
应用的dir'\\ H2 \\ h2.start.bat C:\\用户\\桌面\\ Activiti的5.10 \\ Activiti的-5
0.10 \\ APPS \\ H2
[发射]等待发射完成味精运行TCP服务器的...
[发射]'的java'不是内部或外部命令,
[启动]可操作的程序或批处理文件。
[发射]启动的过程完成
[回应] H2启动数据库tomcat.start:构建失败
C:\\用户\\桌面\\ Activiti的5.10 \\ Activiti的5.10 \\ SETUP \\的build.xml:330:couldn
找不到可执行脚本C:\\用户\\桌面\\ Activiti的5.10 \\ Activiti的-5。
10 \\ APPS \\ Apache的Tomcat的6.0.32 \\ BIN \\启动总时间:0秒
我键入 tomcat.install
并解决了这个问题,因为我需要下载的应用程序里面tomcat的。目录
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
if i type the following using the cmd command line:-
C:\activiti-5.10\activiti-5.10\setup>ant demo.start
I will get the following error:-
'ant' is not recognized as an internal or external command, operable program or batch file.
Can anyone help me in identifying what is the problem? BR
:::UPDATE:::
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
I typed tomcat.install
and it solved the problem since I need to download the tomcat inside the apps directory.
这篇关于无法运行演示设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!