Reputation: 1693
When I try to import org.eclipse.core.resources.IFile for a Plug-in project in Eclipse I get the following error:
The type org.eclipse.core.resources.IFile cannot be resolved. It is indirectly referenced from required .class files
How do I add it to Plug-in Dependencies?
Upvotes: 1
Views: 2056
Reputation: 111142
Add org.eclipse.core.resources
to the 'Required Plug-ins' on the 'Dependencies' tab of the MANIFEST.MF editor for your plugin.
Upvotes: 1