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... :|
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
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.
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.