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

Plugin for rtc client API

 Hi,

I have created a plugin that adds a buildConfigurationElement.
I would like to know how I can access this when using the RTC client api.
Right now when I try to initialize my participant like I initialize my other configurationElements (standard rtc) I get an exception:
"at com.ibm.team.build.internal.common.model.impl.BuildDefinitionImpl.initializeConfiguration(BuildDefinitionImpl.java:1194)"

It fails on the last of the 2 lines:
bce = BuildConfigurationRegistry.getInstance().getBuildConfigurationElement("myBuildConfigurationElementId");
definition.initializeConfiguration(bce);

How do I set this up so the API can find that participant and initialize it?

Mike

0 votes


Accepted answer

Permanent link
Found it...
build.properties did not include plugin.xml... :|
Ralph Schoon selected this answer as the correct answer

0 votes

Comments

Has happened to me.......

I did not see a Jazz component definition either. That works for now, but might not in the future.

Hey Ralph,


what do you mean with Jazz component definition?

MikeĀ 

If you just started with it, see https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/
Especially see the linked article https://jazz.net/library/article/1000 which talks about Jazz components. I am not sure it applies to your scenario, but most RTC extensions have a Jazz component they belong to. Te component organizes extensions and is also supposed to give plugins access to Jazz services. It is a special extension point which defines a component ID which is used in plugin extensions.


One other answer

Permanent link
In the Server and client SDK, you will notice that model elements and API that is needed in both the server and the various clients, are deployed and available on both ends. Usually the name pattern is com.ibm.team.......common.

If you need access to this data on both ends, you might need to make the data available in both API's, including extensions to both.

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
× 10,938

Question asked: Sep 08 '14, 7:47 p.m.

Question was seen: 3,734 times

Last updated: Sep 11 '14, 9:34 a.m.

Confirmation Cancel Confirm