Eclipse switch workspace [message #501703] |
Thu, 03 December 2009 09:41  |
Eclipse User |
|
|
|
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  |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.49094 seconds