Is there a way to check if EWM client user is loggedIn/connected to remmote repository.
Hi there,
I'd like to know if there is it possible to do the following programmatically (java, python or any API etc.) after running ewm client (rtc-eclipse-client).
-
To check the user is loggedIn or connected to the repository
-
get or set username to connect to repository
- Close ewm client gracefully without killing process
Thank you in advance
One answer
- See https://rsjazz.wordpress.com/2013/03/20/understanding-and-using-the-rtc-java-client-api/ section Getting the API in an Eclipse Plugin how to get the API, the repositories and the user ID. It would be possible to have multiple connections to different repositories with different passwords. Access to the passwords is most likely not available.
2. How to login is explained as well, there might be other ways, the code for that would be searchable in the SDK (perform lab 1 of the Extensions Workshop to have a development environment with source code). You also use TeamPlatform.getTeamRepositoryService().addTeamRepository(repository); to add the team repository.
3. How to end the Eclipse client would be a question for the Eclipse forums.
You would have to implement this as an Eclipse plugin, otherwise this does not make any sense at all.