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
|
Accepted answer
Found it...
build.properties did not include plugin.xml... :|
Ralph Schoon selected this answer as the correct answer
Comments Has happened to me.......
Mike Brouwers
commented Sep 11 '14, 8:50 a.m.
Hey Ralph,
what do you mean with Jazz component definition?
MikeĀ
Ralph Schoon
commented Sep 11 '14, 9:33 a.m.
| edited Sep 11 '14, 9:34 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
If you just started with it, see https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/
|
One other answer
Ralph Schoon (63.1k●3●36●46)
| answered Sep 10 '14, 5:38 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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. |
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.