Re: [linuxtools-dev] TMF, RCP and workspace

2014-04-07 Thread Bernd Hufmann
Hi Xavier I pushed a patch to disallow opening the RCP with the same workspace multiple times. Please have a look and let me know if it's ok with you. https://git.eclipse.org/r/#/c/24544/ Thanks Bernd On 04/07/2014 08:37 AM, Bernd Hufmann wrote: Hi Xavier I wasn't aware that the workspace c

Re: [linuxtools-dev] TMF, RCP and workspace

2014-04-07 Thread Bernd Hufmann
Hi Xavier I wasn't aware that the workspace can be re-used in an RCP. I expected the same behaviour than Eclipse where a workspace can't be opened multiple times at the same time. I guess we need to implemented the behaviour manually to avoid the problem that you and your user faced. I'll in

Re: [linuxtools-dev] TMF, RCP and workspace

2014-04-04 Thread Xavier Raynaud
> Regarding multiple instances of the RCP running at the same time, I > guess we didn't really think about it... I just tried doing it, it opens > a separate instance, but the shared workspace makes it work weirdly. If > I open a trace in one, refreshing the other will show the newly added > t

Re: [linuxtools-dev] TMF, RCP and workspace

2014-04-03 Thread Bernd Hufmann
Hi Xavier there are 2 possibilities to change the default workspace of the RCP: 1) change the traceViewer.ini file In there replace @noDefault with an absolute path to the new workspace directory. 2) use the environment variable TRACING_RCP_ROOT Setting the environment variable before launchi

Re: [linuxtools-dev] TMF, RCP and workspace

2014-04-02 Thread Alexandre Montplaisir
(note to self: read emails completely before answering!) Regarding multiple instances of the RCP running at the same time, I guess we didn't really think about it... I just tried doing it, it opens a separate instance, but the shared workspace makes it work weirdly. If I open a trace in one, r

Re: [linuxtools-dev] TMF, RCP and workspace

2014-04-02 Thread Alexandre Montplaisir
Hi Xavier, Yes, we put the workspace in ~/.traceviewer. We also added a --open command line option, to do exactly what you describe ;) But I didn't know about the Open File feature you mentioned. I guess we could have saved some code! Cheers, Alex On 04/02/2014 06:01 AM, Xavier Raynaud wr

[linuxtools-dev] TMF, RCP and workspace

2014-04-02 Thread Xavier Raynaud
Hi, I've a question about TMF RCP: How do you manage the workspace? Do you let the user to choose it? Or do you provide a default location (something like $HOME/.tmf_workspace/) ? What's the expected behavior when user opens more that one instance of this RCP? What about a feature like this o