gpt4 book ai didi

python - Jenkins 无法从资源 AntTasks.properties 加载定义

转载 作者:太空宇宙 更新时间:2023-11-03 18:07:13 24 4
gpt4 key购买 nike

演示在这里:http://www.ibm.com/developerworks/cn/opensource/os-ecant/

我想在 Jenkins 上运行此演示,但构建失败。

Started by user anonymous
Building on master in workspace C:\Users\IBM_ADMIN\.jenkins\workspace\antPythonTry1
Updating https://localhost/svn/test at revision '2014-10-30T11:06:06.839 +0800'
At revision 1
no change for https://localhost/svn/test since the previous build
[antPythonTry1] $ cmd.exe /C '"ant.bat && exit %%ERRORLEVEL%%"'
Buildfile: C:\Users\IBM_ADMIN\.jenkins\workspace\antPythonTry1\build.xml
[taskdef] Could not load definitions from resource pyAntTasks.properties. It could not be found.

compile:

BUILD FAILED
C:\Users\IBM_ADMIN\.jenkins\workspace\antPythonTry1\build.xml:37: Problem: failed to create task or type py-compile
Cause: The name is undefined.
Action: Check the spelling.
Action: Check that any custom tasks/types have been declared.
Action: Check that any <presetdef>/<macrodef> declarations have taken place.


Total time: 0 seconds
Build step 'Invoke Ant' marked build as failure
Finished: FAILURE

最佳答案

在“apache-ant-1.9.2\lib”中添加了 pyAntTasks-1.3.3.jar

关于python - Jenkins 无法从资源 AntTasks.properties 加载定义,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/26644423/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com