Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Eclipse switch workspace
Eclipse switch workspace [message #603765] Thu, 03 December 2009 09:41 Go to next message
Cosmin is currently offline Cosmin
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 #603769 is a reply to message #603765] Thu, 03 December 2009 13:39 Go to previous message
Ankur Sharma is currently offline Ankur Sharma
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:Eclipse switch workspace
Next Topic:Modify Export-Package header through IPluginModelBase
Goto Forum:
  


Current Time: Sun Apr 20 23:07:55 EDT 2014

Powered by FUDForum. Page generated in 0.03726 seconds