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.
|
2 answers
Ralph Schoon (63.5k●3●36●46)
| answered Mar 04 '13, 6:16 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER
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(). |
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.