Creating an Advisor plugin for RTC version 5.0
Paul B (21●3●13)
| asked Aug 31 '15, 2:21 a.m.
edited Aug 31 '15, 5:26 a.m. by Ralph Schoon (63.5k●3●36●46)
Hi all,
I'm pretty knew to RTC development but I've found some doco that shows me how to create a plugin (link below). When I get up to the part to create the class, it says to change the superclass to com.ibm.team.repository.service.AbstractService. I don't have the repository.* namespace. It also says to inherit from the interface com.ibm.team.process.common.advice.runtime.IOperationAdvisor. I don't have that either. I'm running RTC version 5.0 and I followed the extension documentation Version 4.0 from the jazz website to download and configure Eclipse. Any help would be great. Thanks https://www.ibm.com/developerworks/community/blogs/extendingrtc/entry/checksummaryadvisor?lang=en |
Accepted answer
Hello Paul,
I think, somethings missing in ur link.
https://jazz.net/library/article/495 -> its a good sample for start, and Ralph's blog best guide in this job. and Sam's answer is correct answer for this questions, i think.
regards.
Paul B selected this answer as the correct answer
|
3 other answers
Ralph Schoon (63.5k●3●36●46)
| answered Aug 31 '15, 5:26 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Aug 31 '15, 5:26 a.m.
Start here: https://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/
Do the RTC Extensions Workshop. Once you have done that, look at the advisors published on https://rsjazz.wordpress.com/ and check the dependencies added to the plugin.xml metadata. |
Basically, this means you don't have the SDK libraries setup right in your project
|
Hi all,
Thanks for your replies they have helped me solve my issue. For others experiencing the same issue; I had added the RTC SDK into the plug-in development target platform. But I what I didn't do (which caused the issue) was also add the eclipse plugin folder to the same development target platform.
Hakki I went to the link which showed me how to create a plugin and I got it working so cheers. Though it works, I got a 'Requested resource is not available' when I when to the https://.../requestReset site. But the plug was still available in the Operational behavior section anyways.
The last one was I tried making the same plugin without the activator and it didn't work so I'm not sure if you always needs an activator or if it's because the requestReset site didn't work.
Thanks again for eveyones help :)
Comments Request Reset is only needed if you deploy to WAS or Tomcat. It is not needed if you debug on Jetty.
Hakki Bozkurt
commented Sep 02 '15, 3:16 a.m.
1) https://localhost:9443/jazz/admin/cmd/requestReset need admin perm.
what is ur user's group? must be in jazz admin group.
2) i think thats plugins(pre-conds. & follow up acts) need activator.java
3) u need restart request anyway. when u are restarting tomcat if u have request restart that application look to "$JAZZ-ROOT\server\conf\jazz\provision_profiles" ur .ini files and doing the add or remove
4) sorry may bad english :)
|
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.