It's all about the answers!

Ask a question

Unable to use workItemPublisher ANT call


Sanjeev Kulkarni (331722) | asked Oct 28 '14, 9:37 a.m.
I am trying to publish work items in build result.
For this I am using Ant call workItemPublisher but with no success.

<taskdef name="workItemPublisher" classname="com.ibm.team.build.ant.task.WorkItemPublisher" />
<workItemPublisher repositoryAddress="${repositoryAddress}"
          userId="${userId}"
          passwordfile="${passwordfile}"
          buildResultUUID="${buildResultUUID}"
          inputFileType="WORKITEM"
          filePath="WorkItemID.txt" />

RTC Build toolkit Version: 4.0.5
IBM JDK version: 6.0.14.20130926 (32 bit)

Error occurs on running the above script:
{taskdef class com.ibm.team.build.ant.task.WorkItemPublisher cannot be found
 using the classloader AntClassLoader[]}

Any clue?

Accepted answer


permanent link
Sanjeev Kulkarni (331722) | answered Oct 28 '14, 9:52 a.m.
Sorry above stuff works.
It failed for first 2 times later upon switching to IBM JDK started to work fine.
Ralph Schoon selected this answer as the correct answer

Your answer


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.