It's all about the answers!

Ask a question

Workspace UUID missing from serialized change set file.


Gene Ratzlaff (1112) | asked Mar 18 '10, 12:05 p.m.
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>

One answer



permanent link
John Scott (11) | answered Mar 09 '12, 8:07 a.m.
I hit this error. I tracked it down to the fact that the contents of the file pointed to by filePath was empty.

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.