[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [linuxtools-dev] TMF, RCP and workspace
|
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 launching the RCP will change
the default root directory (= user.home) to the one specified by the
environment variable. This can be done easily using a start-up script.
/Bernd
On 04/02/2014 01:25 PM, Alexandre Montplaisir wrote:
(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, refreshing the other will show the
newly added trace, but the trace type won't be set in the second
instance. There's probably other bugs, that wasn't really tested.
Is it even worth supporting it? Could we just prevent a second
instance from launching if the worskpace is already in use? (which
normal Eclipse does if you try to open a workspace already in use. I
wonder why the RCP doesn't do that).
Cheers,
Alex
On 04/02/2014 01:16 PM, Alexandre Montplaisir wrote:
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 wrote:
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 one
(http://wiki.eclipse.org/Eclipse/OpenFileFeature) for traces?
Xavier
_______________________________________________
linuxtools-dev mailing list
linuxtools-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev
_______________________________________________
linuxtools-dev mailing list
linuxtools-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev
_______________________________________________
linuxtools-dev mailing list
linuxtools-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/linuxtools-dev