Repository workspace wouldn't show LOADED inspite loading it programatically in RTC gui?
Hello,
I wrote an eclipse plugin to create and load a repository workspace from a RTC stream when a button is pressed from eclipse button bar (using java api's).
Everything works well, but after creating and loading the workspace, it doesn't show the components as loaded under Jazz administration perspective > My repository workspaces. > Newly created workspace.
In eclipse project view, pending changes view and on hard disk I can see the components properly loaded.
Under Team > Jazz Source Control > Sandboxes , I can also see the repository path added correctly.
Why is that missing in Jazz administration perspective ?
regards,
Ratheesh
I wrote an eclipse plugin to create and load a repository workspace from a RTC stream when a button is pressed from eclipse button bar (using java api's).
Everything works well, but after creating and loading the workspace, it doesn't show the components as loaded under Jazz administration perspective > My repository workspaces. > Newly created workspace.
In eclipse project view, pending changes view and on hard disk I can see the components properly loaded.
Under Team > Jazz Source Control > Sandboxes , I can also see the repository path added correctly.
Why is that missing in Jazz administration perspective ?
regards,
Ratheesh
Accepted answer
I took a look at the code that Ratheesh had attached to the work item and it had a typo. Load was being called on the parent stream used to create the workspace, not the new workspace created. Once he fixed that, things look good. Detailed discussions are in Repository workspace wouldn't show LOADED in spite loading it programmatically in RTC GUI (created via custom plugin, and not the existing Load Wizard) (289064).
Cheers
--Rupa
Cheers
--Rupa
2 other answers
Hi Ratheesh,
I've opened Repository workspace wouldn't show LOADED in spite loading it programmatically in RTC gui (289064) to track this - so we should continue this conversation there. Would you please attach screen shots to that work item?
Thanks
--Rupa
Hi Ratheesh,
I'm curious to know what you're trying to achieve here? The exact same thing can be done from the Team Artifacts Navigator, using context menus. Is it that you're trying to use a UI gesture via a button instead of a context menu?
The load API would just load the repository workspace, they will not call upon the TAN to refresh itself. That will be done by RTC UI code by listening in on events, just like Ralph says. That's the right way of doing it in any case - API gives you back some data from the server, how you render the data in the UI is out of scope for an API.
I don't know if that part of the UI code can be extended - I can find out, but I'd like to understand your use case and where it's coming from first.
I'm curious to know what happens if you restart the Eclipse Client on the same Eclipse workspace? Do the components/repository workspace show up as loaded now?
Cheers
--Rupa
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Sep 30 '13, 11:26 a.m.Ratheesh P
Sep 30 '13, 11:32 a.m.Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Sep 30 '13, 11:42 a.m.