2014-10-30 2 views
1

데모는 여기에 자원 AntTasks.properties에서 정의를로드 할 수 없습니다 : 나는 젠킨스에이 데모를 실행하려면 http://www.ibm.com/developerworks/cn/opensource/os-ecant/젠킨스는

하지만 실패 구축 할 수 있습니다.

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 
+0

당신은 pyANT 작업이 들어있는 항아리를 놓치고있어. 이것은 ANT가 시작할 때 (일반적으로 $ ANT_HOME/lib 또는 $ HOME/.ant/lib) –

+0

네가 맞다면 pyany 태스크를 추가 할 수있는 위치에 있어야한다. – Stella

답변

1

는에 pyAntTasks-1.3.3.jar를 추가 "아파치 개미 - 1.9.2 \ lib에"

관련 문제