How to create a basic advisor in RTC 6.0.6.1
I am trying to follow Bartosz Chrabski video on youtube (from 2015) :
in which he describes how to create an advisor. I am trying to do this in a standalone Eclipse editor instead of the RTC Eclipse client like he does but I don't know if that matters.
I have imported the server SDK that I downloaded from jazz.net and I have followed the instructions on importing the package and adding the required plugins.
I am up to the step where I am "coding" the "AbstractService.java and the code is showing an error even before I make any modifications:
2 errors:
import com.ibm.team.repository.service.AbstractService; (The import conflicts with a type defined in the same file.)
AND
public class AbstractService extends AbstractService implements IOperationAdvisor
(Cycle detected: the type AbstractService cannot extend/implement itself or one of its own member types)
Any assistance would be appreciated.
Accepted answer
You can basically follow the extensions workshop setup and then create an extension analogue to the follow up action. The extension point com.ibm.team.process.service.operationAdvisors is slightly different from the one used in follow up actions/participants (com.ibm.team.process.client.operationParticipants). But there are enough similarities to consider the workshop.
Please also see:
I like to start with an example that works. Consider the code available for https://rsjazz.wordpress.com/?s=advisor&submit=Search
Comments
1 vote
1 vote
showing 5 of 14
show 9 more comments
One other answer
Hi Ryan,
Please make sure that OSGI version and all the plugin parameters and You should be fine.
As You have seen those videos were recorded some time ago and may be out of date.
I plan to record a new version of those videos with audio and EWM v7.
You can ping me next week about the status bart.chrabski@reqpro.com.