It's all about the answers!

Ask a question

[closed] Access RTC sandbox programmatically


Atul Kumar (1872329) | asked Jun 05 '14, 8:54 a.m.
closed Jun 06 '14, 9:20 a.m. by Tim Mok (6.6k38)
I want to access RTC Sandbox programmatically, so that I can access local files from workspace.

Comments
Tim Mok commented Jun 05 '14, 10:02 a.m.
JAZZ DEVELOPER

Can you clarify what you want to do? Once you've loaded a workspace to your sandbox, you can access the files because you would know the location of the sandbox. Why do you need to access the files through the sandbox?


Atul Kumar commented Jun 06 '14, 3:25 a.m.

I wanted to open local files, that's why I wanted to have access to the Sandbox. I could achieve the same functionality by emulating the OpenLocalFileAction (ref question:- https://jazz.net/forum/questions/154116/emulate-open-local-file-action-of-changeexplorer).

Thanks,
Atul


Tim Mok commented Jun 06 '14, 9:22 a.m.
JAZZ DEVELOPER

If you know the local file path, you can always use the Eclipse OpenFileAction that uses IFile. I don't see the need to go through the RTC API for this.


Atul Kumar commented Jun 09 '14, 1:19 a.m.

Actually all I had was change-set info, from which I needed to access the sandbox. So had to go through this path.

The question has been closed for the following reason: "Duplicate Question See https://jazz.net/forum/questions/154116/emulate-open-local-file-action-of-changeexplorer" by tmok Jun 06 '14, 9:20 a.m.