Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » IProject instance for plugin is not getting created.
IProject instance for plugin is not getting created. [message #452295] Thu, 17 March 2005 04:06
Eclipse UserFriend
Originally posted by:

Dear All,

I have 3 plugins in my work space.
The name of the plugin project of which I want to create an IProject
instance is "com.nyse.mks.iis.casemanager.bluesheets2.ui"
I have included <import plugin="org.eclipse.core.resources"/> in the
runtime requirements for the afore mentioned project in plugin.xml.
The following statement -
final IProject project =
ResourcesPlugin.getWorkspace().getRoot().getProject("com.nyse.mks.iis.casemanager.bluesheets2.ui ");
generates the error -
org.eclipse.core.internal.resources.ResourceException: Resource
/com.nyse.mks.iis.casemanager.bluesheets2.ui does not exist.

The statement ResourcesPlugin.getWorkspace().getRoot().toString() has
returned the value R/.

Where am I going wrong?

Thanks in advance.

Ashish A.
Previous Topic:Fast way to delete TreeItems?
Next Topic:Creating a transparent image in Mac OS X
Goto Forum:

Current Time: Mon Mar 08 11:49:05 GMT 2021

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

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

Back to the top