Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Clear workspace problem
Clear workspace problem [message #559049] Wed, 15 September 2010 12:51 Go to next message
Giovanni De Sossi is currently offline Giovanni De SossiFriend
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

Hi,

I've a GMF-generated RCP application; for my needs, I want to start every time with a fresh workspace (no projects inside); I tried with "-clean" option, but it's not enough....any suggestion about?

Thanks,

Giovanni.
Re: Clear workspace problem [message #559362 is a reply to message #559049] Thu, 16 September 2010 13:16 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3801
Registered: July 2009
Senior Member
Giovanni wrote:
> Hi,
>
> I've a GMF-generated RCP application; for my needs, I want to start
> every time with a fresh workspace (no projects inside); I tried with
> "-clean" option, but it's not enough....any suggestion about?
-clean does not delete the workspace. You have two options:
1. delete the workspace by a script or your RCP code (either on start up
or shutdown)
2. each time point -data to a new location (this keeps the old workspaces)

Dani
>
> Thanks,
>
> Giovanni.
Re: Clear workspace problem [message #559375 is a reply to message #559362] Thu, 16 September 2010 13:40 Go to previous message
Giovanni De Sossi is currently offline Giovanni De SossiFriend
Messages: 161
Registered: October 2009
Location: Rome, Italy
Senior Member

Hi Dani,

thanks for your answer; could you post a snippet about the "delete the workspace by ... your RCP code (either on start up
or shutdown)" ? I've not found any example code about this.

Regards,

Giovanni.
Previous Topic:Save dirty workbench in the background?
Next Topic:Tool for making sketches and mockups in Eclipse
Goto Forum:
  


Current Time: Fri Dec 19 21:11:54 GMT 2014

Powered by FUDForum. Page generated in 0.05723 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software