Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

Creating an Advisor plugin for RTC version 5.0

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


0 votes


Accepted answer

Permanent link
 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

0 votes


3 other answers

Permanent link
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.

0 votes


Permanent link
Basically, this means you don't have the SDK libraries setup right in your project

0 votes


Permanent link
 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 :)

0 votes

Comments

Request Reset is only needed if you deploy to WAS or Tomcat. It is not needed if you debug on Jetty.
I have never used an activator for operational behavior.

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

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,938

Question asked: Aug 31 '15, 2:21 a.m.

Question was seen: 3,732 times

Last updated: Sep 02 '15, 3:16 a.m.

Confirmation Cancel Confirm