problems with the workspace handling in RCP/Eclipse [message #639916] |
Thu, 18 November 2010 12:16 |
Nico Stieler Messages: 13 Registered: November 2010 |
Junior Member |
|
|
Dear Eclipse RCP people,
we are developing a product based on RCP and eclipse. We have some problems with the workspace handling:
• When starting the product the first time: it doesn't ask the user to choose the workspace. Instead it takes a default workspace : ./workspace.
• When use the function "switch workspace", it does restart
eclipse and add the entered workspace to the workspaces I can select
on "switch workspace", but it does not switch the workspace
I tried a lot of things to solve this:
• -data @noDefault, to force the product to ask the user for a workspace, but it does not work (errorlog1)
( Dani (daniel_mergert@ch.ibm.com) said that, you should simply remove "-data", but that's no solution: in this case it is just creating a default workspace)
• Set the workspace when the product is starting (code2) this
is working, but it's not a nice solution
• Many other things without any positive result.
What to do?
• Maybe using a different application super class or
interface.
• ...
Thanks a lot,
Best regards,
Nico Stieler
|
|
|
|
|
Re: problems with the workspace handling in RCP/Eclipse [message #639939 is a reply to message #639916] |
Thu, 18 November 2010 13:25 |
Dani Megert Messages: 3802 Registered: July 2009 |
Senior Member |
|
|
Nico Stieler wrote:
> Dear Eclipse RCP people,
>
> we are developing a product based on RCP and eclipse. We have some
> problems with the workspace handling:
> • When starting the product the first time: it doesn't
> ask the user to choose the workspace. Instead it takes a default
> workspace : ./workspace.
> • When use the function "switch workspace", it does restart
> eclipse and add the entered workspace to the workspaces I can select
> on "switch workspace", but it does not switch the workspace :(
>
> I tried a lot of things to solve this:
> • -data @noDefault, to force the product to ask the user
> for a workspace, but it does not work (errorlog1)
> ( Dani (mailto:daniel_mergert@ch.ibm.com) said that, you should simply
> remove "-data", but that's no solution: in this case it is just
> creating a default workspace)
At least the default eclipse.exe asks for the workspace.
Dani
> • Set the workspace when the product is starting
> (code2) this
> is working, but it's not a nice solution
> • Many other things without any positive result.
>
> What to do?
> • Maybe using a different application super class or
> interface.
> • ...
>
> Thanks a lot,
>
> Best regards,
> Nico Stieler
>
>
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03082 seconds