Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Eclipse switch workspace
Eclipse switch workspace [message #501703] Thu, 03 December 2009 14:41 Go to next message
Cosmin is currently offline CosminFriend
Messages: 23
Registered: October 2009
Junior Member
I start eclipse with a few custom parameters . Based on those parameters an plugin will create projects on eclipse startup.
My problem is that when I go to File->Switch WorkSpace eclipse is restarted with the same parameters and projects get created again. Is there a way to restart eclipse without custom parameters?
Re: Eclipse switch workspace [message #501780 is a reply to message #501703] Thu, 03 December 2009 18:39 Go to previous message
Ankur Sharma is currently offline Ankur SharmaFriend
Messages: 68
Registered: July 2009
Member
Cosmin wrote:
> I start eclipse with a few custom parameters . Based on those parameters
> an plugin will create projects on eclipse startup. My problem is that
> when I go to File->Switch WorkSpace eclipse is restarted with the same
> parameters and projects get created again. Is there a way to restart
> eclipse without custom parameters?

use project.exists() to check if the projects are already there. or simply use
PluginRegistry.findModel(id) to check for existing plugins.

--
Ankur..
Eclipse PDE UI Committer | IBM India Software Lab, Bangalore
+91-99456-94011 | @ankur_sharma | http://blog.ankursharma.org
Previous Topic:PDE refactoring: plugin/bundle splitter?
Next Topic:Eclipse switch workspace
Goto Forum:
  


Current Time: Mon Nov 24 04:20:22 GMT 2014

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

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