Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Unable to use workItemPublisher ANT call

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?

0 votes


Accepted answer

Permanent link
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

0 votes

Your answer

Register or log in 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 12,025
× 1,700

Question asked: Oct 28 '14, 9:37 a.m.

Question was seen: 4,236 times

Last updated: Oct 28 '14, 9:52 a.m.

Confirmation Cancel Confirm