RTC 4 how to get IContributorService?
Hi
I am trying to get IContributorService to get a Contributor,
I using the following code:
IContributorService service=getService(IContributorService.class);
But i m getting a runtime error that says that he cant find the service.
I m using this method in an class that extends from AbstractService and implements OperationParticipant.
what i m doing wrong?
Accepted answer
3 other answers
Hi Sam
I modified the plugin.xml and add a prerequisite com.ibm.team.repository.common.service.IContributorService to my service, but still I have the same error.
in the Extensions tab i have:
com.ibm.team.process.service.operationParticipants
-Add Subscriptor(operation Participant)
-com.ibm.team.rtc.plugins.AddSubscriptor(extensionService)
-(prerequisites)
- com.ibm.team.repository.common.service.IContributorService(requieredService).
Is there something that i am missing?