Skip to main content


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 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 #603769 is a reply to message #603765] 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:Eclipse switch workspace
Next Topic:Modify Export-Package header through IPluginModelBase
Goto Forum:
  


Current Time: Sat Apr 20 04:21:29 GMT 2024

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

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

Back to the top