trying to use ant and RTC
I have a sample ant script to extract code from RTC
I am trying to run it from command line.
I am getting the following error.
C:\build.xml:160: taskdef A class needed by class com.ibm.team.build.ant.task.St
artBuildTask cannot be found: com/ibm/team/repository/common/TeamRepositoryExcep
tion
Earlier i got the error:
taskdef class com.ibm.team.build.ant.task.StartBuildTask cannot be found
Then i added
C:\Program Files\IBM\TeamConcertBuild\buildsystem\buildtoolkit\com.ibm.team.build.client_0.6.1.I200810082303.jar;C:\Program Files\IBM\TeamConcertBuild\buildsystem\bu
ildtoolkit\com.ibm.team.build.common_0.6.1.I200810082303.jar;C:\Program Files\IBM\TeamConcertBuild\buildsystem\buildtoolkit\com.ibm.team.build.toolkit_0.6.1.I200810082303.jar;
to get the more recent error.
I am not sure what other jars i need to get a command line Ant to work.
Any help would be greatly appreciated. Thanks.
I am trying to run it from command line.
I am getting the following error.
C:\build.xml:160: taskdef A class needed by class com.ibm.team.build.ant.task.St
artBuildTask cannot be found: com/ibm/team/repository/common/TeamRepositoryExcep
tion
Earlier i got the error:
taskdef class com.ibm.team.build.ant.task.StartBuildTask cannot be found
Then i added
C:\Program Files\IBM\TeamConcertBuild\buildsystem\buildtoolkit\com.ibm.team.build.client_0.6.1.I200810082303.jar;C:\Program Files\IBM\TeamConcertBuild\buildsystem\bu
ildtoolkit\com.ibm.team.build.common_0.6.1.I200810082303.jar;C:\Program Files\IBM\TeamConcertBuild\buildsystem\buildtoolkit\com.ibm.team.build.toolkit_0.6.1.I200810082303.jar;
to get the more recent error.
I am not sure what other jars i need to get a command line Ant to work.
Any help would be greatly appreciated. Thanks.
One answer
I have a sample ant script to extract code from RTC
I am trying to run it from command line.
I am getting the following error.
C:\build.xml:160: taskdef A class needed by class com.ibm.team.build.ant.task.St
artBuildTask cannot be found: com/ibm/team/repository/common/TeamRepositoryExcep
tion
Earlier i got the error:
taskdef class com.ibm.team.build.ant.task.StartBuildTask cannot be found
Then i added
C:\Program Files\IBM\TeamConcertBuild\buildsystem\buildtoolkit\com.ibm.team.build.client_0.6.1.I200810082303.jar;C:\Program Files\IBM\TeamConcertBuild\buildsystem\bu
ildtoolkit\com.ibm.team.build.common_0.6.1.I200810082303.jar;C:\Program Files\IBM\TeamConcertBuild\buildsystem\buildtoolkit\com.ibm.team.build.toolkit_0.6.1.I200810082303.jar;
to get the more recent error.
I am not sure what other jars i need to get a command line Ant to work.
Any help would be greatly appreciated. Thanks.
Hi,
You may need to add the location of the buildtoolkit directory to the Ant library path when invoking Ant. Typically, you perform this task by using the -lib argument to Ant.
An example Ant invocation would like the line below.
ant -f build.xml -lib installdir/buildsystem/buildtoolkit
Brent Ulbricht
Developer/Lead - RTC Build