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

Problem with completeBuildActivity task

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.

0 votes



2 answers

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

0 votes


Permanent link
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. :)

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: Dec 15 '08, 3:10 p.m.

Question was seen: 5,633 times

Last updated: Dec 15 '08, 3:10 p.m.

Confirmation Cancel Confirm