Skip to main content



      Home
Home » Eclipse Projects » Plugin Development Environment (PDE) » Eclipse switch workspace
Eclipse switch workspace [message #501703] Thu, 03 December 2009 09:41 Go to next message
Eclipse UserFriend
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 13:39 Go to previous message
Eclipse UserFriend
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: Tue Jul 15 04:53:51 EDT 2025

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

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

Back to the top