It's all about the answers!

Ask a question

Error compiling Groovy "Build Engines" Script


Thomas Goeppel (111) | asked May 12 '15, 3:40 a.m.
converted to question May 12 '15, 3:53 a.m. by Ralph Schoon (63.7k33648)
I've been testing the 'build engines' script with RTC Build Toolkit 4.05, and 5.02 using Groovy 1.8.9, and unfortunately I get the following errors:

7 compilation errors:
	
	
	
unable to resolve class com.ibm.team.build.common.model.query.IBaseBuildResultQueryModel.IBuildResultQueryModel
	
	
	
 at line: 19, column: 1
	
	
	
unable to resolve class com.ibm.team.build.common.model.query.IBaseBuildEngineQueryModel.IBuildEngineQueryModel
	
	
	
 at line: 20, column: 1
	
	
	
unable to resolve class IItemQueryPage 
	
	
	
 at line: 80, column: 28
	
	
	
unable to resolve class ILoginHandler2 
	
	
	
 at line: 34, column: 5
	
	
	
unable to resolve class ITeamRepository 
	
	
	
 at line: 37, column: 35
	
	
	
unable to resolve class ILoginInfo2 
	
	
	
 at line: 37, column: 9
	
	
	
unable to resolve class UsernameAndPasswordLoginInfo 
	
	
	
 at line: 39, column: 13
	
	
	
The Build Toolkit jars are in the Groovy classpath, but obviously, dependencies that cause the errors are not there.

Question: is there something I missed, or am I using the wrong version of the BTK? Which would be the right version?


Be the first one to answer this question!


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.