IProject instance for plugin is not getting created. [message #452295] |
Thu, 17 March 2005 04:06 |
Eclipse User |
|
|
|
Originally posted by: anunay.ashish.wipro.com
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.
Regards,
Ashish A.
|
|
|
Powered by
FUDForum. Page generated in 0.03437 seconds