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

Workspace UUID missing from serialized change set file.

That's the TeamRepositoryException error message I get during a build when the build runs the workItemPublisher task in my -publish-changeset target as shown in the code excerpt below. I don't understand what could be wrong if the linkPublisher task works fine with the same buildResultUUID specification. (RTC 1.0.1)

<taskdef name="linkPublisher" classname="com.ibm.team.build.ant.task.LinkPublisherTask" />
<taskdef name="workItemPublisher" classname="com.ibm.team.build.ant.task.WorkItemPublisherTask" />

<target name="-publish-changeset" depends="-do-build-avail">
<touch file="${curbuild.dist.dir}/changesets.txt"/>
<workItemPublisher repositoryAddress="${repositoryAddress}"
userId="${ENGINE_ACCOUNT_ID}"
passwordFile="${password.file}"
buildResultUUID="${buildResultUUID}"
filePath="${curbuild.dist.dir}/changesets.txt"
/>
</target>

<target name="-make-link" depends="-do-build-avail">
<linkPublisher repositoryAddress="${repositoryAddress}"
userId="${ENGINE_ACCOUNT_ID}"
passwordFile="${password.file}"
buildResultUUID="${buildResultUUID}"
url="http://mylink"
label="linkname"
/>
</target>

0 votes



One answer

Permanent link
I hit this error. I tracked it down to the fact that the contents of the file pointed to by filePath was empty.

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

Question asked: Mar 18 '10, 12:05 p.m.

Question was seen: 5,024 times

Last updated: Mar 18 '10, 12:05 p.m.

Confirmation Cancel Confirm