How to create a basic advisor in RTC 6.0.6.1
I am trying to follow Bartosz Chrabski video on youtube (from 2015) :
Accepted answer
Comments
Thank you Ralph. Please pardon my Java ignorance but when you say to create an "extension analogue" to the participant, I understand that you are referring to creating an advisor. You also mention the extension point, ...operationAdvisors which I have seen in the examples, including Bartosz's but I am uncertain as to how to modify/adapt the existing instructions for building a participant to those for building an advisor. I was hoping that I could simply follow Bartosz's example but given my limited Java knowledge I can't see how to extrapolate from his to my existing workshop environment. I do have the participant working.
Thank you Ralph. I will do my best to get it. Bartosz shows the advisor being developed in the RTC Eclipse client and so far I have been working in a standalone Eclipse client. Does it matter if I do this work in one or the other or are they not interchangeable? And so I am clear, Eclipse is the IDE and Java is the language and the building of the extension, participant or advisor, is done in, and relies on the features of Eclipse to accomplish. Is that correct? I have tried to work through Bartosz example also but it appears that the version of RTC, 6.0.6.1 vs 5.0, is displaying different behavior.
Here is the link again, in case it was not clear: https://jazz.net/library/article/1000
In case you have followed the workshop, I think you need any Eclipse and the RTC client installed into it e.g. using P2 (like in the workshop) or whatever other way you want to use. There are several possibilities, but you need the SDK to get the extension points.
WRT versions and different behavior, I have posted some findings on my blog (rsjazz.wordpress.com) but ingeneral they are pretty minor, pretty much unnoticeable, in the areas you ask about here, as far as I recall.
And finally, the extension concept is not Java, it is based on OSGI and Eclipse. This was one of the open questions, I think, Ryan.
Ralph,
Thank you very much Ralph,
1 vote
Thank you for all your help Ralph!
1 vote
One other answer
Comments
Hi Bartosz,
Hi Bartosz,