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

client side plugin workshop

Hi,
I want to write a client plugin but can't find any clear detailed guide for doing it.
On the Server side plugin,  I used the extenssion workshop.
Where can I find a workshop for deploying client plugin (like a new button that check compilation before deliver) ?
Thanks,
Yehiel 

0 votes



3 answers

Permanent link
Hi Yehiel,

there is a client side plug-in part in the Extensions workshop - the aspect editor is an Eclipse client plug-in. This should be enough to get you going. There are other topics covered in the Wiki, so you might be able to find something there. https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation has something as well as the SDK documentation for the various versions e.g. https://jazz.net/wiki/bin/view/Main/RtcSdk30


There are many books and there is a lot of online content about Extending Eclipse. If you want to find out how to create context menu extensions, wizards and the like I would start searching on www.eclipse.org.


0 votes

Comments

Hi,


I saw a good guide on https://jazz.net/library/article/118 but how can I have a list of objectClass like this: objectClass="com.ibm.team.repository.client.ITeamRepository"? 
I have another question: I want to enter a script that will check the bin directory before deliver action. Is it possible to enter my code under the deliver action in the eclipse (with client plugin) ?

Thanks,
Yehiel


Permanent link

get ITeamRepository through:


ProcessArea processArea = operation.getProcessArea();
IProjectArea projectArea = (IProjectArea) processArea; 
ITeamRepository repo = (ITeamRepository) projectArea.getOrigin();

0 votes


Permanent link
Yihel,

please see these posts:

http://rsjazz.wordpress.com/2013/02/28/setting-up-rational-team-concert-for-api-development/
https://jazz.net/library/article/1229
http://www.joshuabambrick.com/rational/
https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation

My blog at http://rsjazz.wordpress.com or at http://rsjazz.wordpress.com.nyud.net (Said to work for China/Hong Kong) contains several more client and server API's.

With respect to c jiamg's answer above, (ITeamRepository)object.getOrigin() should give you the team repository from each element in the repository. 

You have to login to the team repository as described in https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation in the Plain-Java Client section. Use the TeamPlatform to log in and get the ITeamRepository with the credentials from the TeamPlatform. Use ITeamRepository.getClientLibrary(Clientlibrary.class) to get the API's.


0 votes

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: Oct 02 '12, 2:57 p.m.

Question was seen: 4,642 times

Last updated: Mar 05 '13, 4:01 a.m.

Confirmation Cancel Confirm