It's all about the answers!

Ask a question

Problem with completeBuildActivity task


Patrick Renaud (106143) | asked Dec 15 '08, 3:10 p.m.
I am starting to experiment with the RTC build engine. I am having problems with the completeBuildActivity task. Somehow, it fails to recognize the activityId that has started earlier with the startBuildActivity.

<startBuildActivity ...

activityIdProperty="EAF"
label="Building EAF"
[DO MY STUFF]
<completeBuildActivity ...
activityId="EAF"


Yes, I get this error from the completeBuildActivity:

[completeBuildActivity] com.ibm.team.build.common.TeamBuildException: The build activity with id "EAF" does not exist in the build result.



What am I doing wrong? Any help will be appreciated.

2 answers



permanent link
Patrick Renaud (106143) | answered Dec 23 '08, 3:01 p.m.
Tx Geoff.

I also found this interesting information on the Jazz team wiki: https://jazz.net/wiki/bin/view/Main/BuildActivities.

Would be a nice addition to the on-line documentation set. :)

permanent link
Geoffrey Clemm (30.1k33035) | answered Dec 23 '08, 9:18 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
A good Wiki page for this is:
<https>

I believe the problem is that the second reference for the activityID
must be as a property name, i.e. "${EAF}", and not simply "EAF".
In particular:


<target>
<target>
<echo>Property is_fromRTC : ${is_fromRTC}</echo>
<echo>Property eaf_dir : ${eaf_dir}</echo>

<During>
<In>
<startBuildActivity>
<ant>

<Later>
<In>
<So>
<completeBuildActivity>
</target>

Cheers,
Geoff

patrick.renaud wrote:
I am starting to experiment with the RTC build engine. I am having
problems with the completeBuildActivity
task. Somehow, it fails to recognize the activityId that has started
earlier with the startBuildActivity.

startBuildActivity ...
activityIdProperty="EAF"
label="Building EAF"

completeBuildActivity ...
activityId="EAF"


Yes, I get this error from the completeBuildActivity:


com.ibm.team.build.common.TeamBuildException: The build activity
with id "EAF" does not exist in the build result.


What am I doing wrong? Any help will be appreciated.

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.