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

Get connection data from Client for Eclipse IDE usin Java APIs RTC 4.0

It is possible to get login, password and repository URI that are stored in Client for Eclipse IDE? I'm writing plugin for Eclipse that uses API's and I want to get this data to connect with repository. It will be very helpfull to get this data from Client and not doing this separately.

0 votes



2 answers

Permanent link
Piotr,

you can not get the password as far as I can tell. However, if you work in Eclipse and that is connected, dependent on what data you have, you can use the current connection. See https://jazz.net/wiki/bin/view/Main/ProgrammaticWorkItemCreation

In the first and second example you get data from a view and can act on that without having to log in again. In  example 2 they get a handle and can get at the ITeamrepository by using (ITeamRepository) hanlge.getOrigin().



0 votes


Permanent link
Unfortunately, the examples do not help me too much because I do not have access to the elements of which I could get handlle and thus to the repository.
Is it possible to get from Client list of repositories and use existing current connection with repository?

0 votes

Comments

I am pretty sure you can't get at the password of the user. I am pretty sure it is possible to get the connection if you live in Eclipse, but I haven't tried to find out how.

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,929

Question asked: Mar 04 '13, 5:45 a.m.

Question was seen: 3,838 times

Last updated: Mar 05 '13, 7:05 a.m.

Confirmation Cancel Confirm