Answer for no. 4
> The problem is it sometimes failed to do
> so and I get a dialog saying " 'Launching
> Saros_STF_Alice' has encountered a problem.
> Variables references empty selection:
> ${project_loc} ". Why does I get that dialog
> and how to fix it?
The variable mentioned in the error message is set by Eclipse according to the
currently selected project in your Package Explorer view. If no project is
selected the "failure" you observed occurs. Three solutions:
* Select the "Saros" project (or any resource within) before clicking on the
"Run As" button in the menu bar.
* Right-click on the launch configuration itself an click on "Run As > Eclipse
Application" - the variable "project_loc" will always be set then.
* Rewrite the launch configuration, e.g. use the "workspace_loc" variable plus
the relative path to your local Saros project. This solution is rather fragile
and must not be committed and pushed to the official repository because the
project's location relative to the workspace depends on your local setup and
may be different for other developers.
Best Regards,
Franz
From: Raydhitya Yoseph [mailto:raydhitya.yos...@gmail.com]
Sent: Thursday, August 15, 2013 9:33 AM
To: dpp-devel@lists.sourceforge.net
Subject: [DPP-Devel] Few Questions Again
Hi all. I haven't been active working for about a week. My country has just
through a long holiday. People used the long holiday to visit their families in
the village or small city and I've done the same.
Back to Saros I came up with 4 questions this time.
1. I've tried Saros using proxy and got an exception. I checked the bug tracker
and found out it is disabled for now. Why is it disabled? Is the problem big
enough for simple testing purpose? Just for sharing project and stop at that.
2. Regarding dpp.editor I found out EditorManager openEditor() is only invoked
by event. Does EditorManager provide a method to open the editor
programmatically?
3. I'm a little bit confused with EditorAPI.openEditor(IEditorPart). It is
called in AddProjectToSessionWizard.performFinish() when there exist editor
that relates to the shared project. So, when recipient has opened a file that
exist in the going to be shared project the method is called to make the editor
get focus. Is my explanation is the correct way of how it works?
4. As suggested to me in my previous email, I ran two Eclipse instance on same
computer. The problem is it sometimes failed to do so and I get a dialog saying
" 'Launching Saros_STF_Alice' has encountered a problem. Variables references
empty selection: ${project_loc} ". Why does I get that dialog and how to fix it?
Best regards,
Raydhitya
--
Raydhitya Yoseph
Informatics Engineering
Institut Teknologi Bandung
http://raydhityayoseph.blogspot.com
------------------------------------------------------------------------------
Get 100% visibility into Java/.NET code with AppDynamics Lite!
It's a free troubleshooting tool designed for production.
Get down to code-level detail for bottlenecks, with <2% overhead.
Download for free and get started troubleshooting in minutes.
http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk
_______________________________________________
DPP-Devel mailing list
DPP-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dpp-devel