Reload workspace into Eclipse
Hello,
Does any one have any suggestions about how to "reload" an RTC Repository Workspace into the Eclipse workspace.
Normally a "load" is used and you have to select the projects that you want loaded into the Eclipse workspace this is ok if the workspace is new, but if the workspace already exists we would like to "reload" the projects that were previously edited by the changesets within that Repository Workspace.
I suspect we will need to write a plugin to do this so any thoughts about that would be good as well :-)
Thanks
Adam
2 answers
Adam, I don't quite understand what you use case is. You can load, unload and replace with baseline or a stream from Eclipse. You typically flow with a stream and can accept others changes from there and deliver your changes to it for others to accept.
If this is not sufficient, I probably don't understand what you are trying to do.
If this is not sufficient, I probably don't understand what you are trying to do.
Comments
Hi Ralph,
Sorry I wasn't sure I'd explained it that well. I'll try and see whether I can explain in step by step:
1) Create a new Repository Workspace and load an Eclipse project from a component into the Eclipse workspace.
1) Create a new Repository Workspace and load an Eclipse project from a component into the Eclipse workspace.
2) Change a file within that and create a changeset.
3) Unload the Repository Workspace - (In Pending Changes view its just tracking the changes)
4) (The bit we need) Reload the workspace - So that the Eclipse project is reloaded into the Eclipse workspace (we know which one to load because there is a changeset in that project). Saves the user having to find the Eclipse projects (we have quite a few!)
This is the simple case but sometimes a change set might have change mulitple Eclipse projects / have mulitple changesets across components.
Hope that makes more sense
Thanks
Adam
Can you elaborate on step 3 where you unload the repository workspace? The default is to delete the loaded content from disk and the repository workspace will no longer be showing in Pending Changes.
When you "reload" you load as you did the load in the first step unless you need to load a different set of content.
Hi Tim,
Yep Step 3 would be delete all local content so there is nothing left from that workspace in your eclipse workspace.
At the moment we have to "reload" like the first step, but what I wanted is to be able to not have to go in and manually check the Eclipse projects I want. The RTC workspace knows which projects I've changed within the workspace because of the changesets I've created. So it would be ideal to "Reload" the eclipse workspace without manual click of projects (we have about 300 eclipse projects to look through to find the correct ones).
Thanks
Adam