0

I am currently trying to port an Eclipse RCP plugin to RAP (it is my first experience with RAP). I had a look at several sample applications and tutorials on how to port, but all information I have got says that the bundle org.eclipse.core.resources should be available (as long as I don't misinterpret them completely).

I have resolved all other Required-Bundle-errors, but 'Bundle 'org.eclipse.core.resources' cannot be resolved' resides. It seems that org.eclipse.core.resources is not included with the RAP target platform (I installed it via Eclipse and checked the settings).

Is org.eclipse.core.resources not included anymore and if yes, what can I use to replace it? Or how can I include it?

iHunter
  • 6,205
  • 3
  • 38
  • 56
sina
  • 1,817
  • 1
  • 18
  • 42

1 Answers1

1

The bundle org.eclipse.core.resources is not part of the RAP target platform, and it never was. The original bundle the Eclipse platform is not suitable for RAP.

To use the resources bundle with RAP, a RAP version would have to be created, that provides per-session workspaces in ResourcePlugin#getWorkspace(). It's technically feasible but probably a fair amount of work.

ralfstx
  • 3,893
  • 2
  • 25
  • 41
  • Is this available now ? I am working on workbench application and I need these to create IResources with Wizards. Can you suggest any alternatives? – Amrit Sep 03 '15 at 09:19
  • @ralfstx : Could you please let me know how to add org.eclipse.core.resources for RAP. – Obuli Sundar Dec 27 '18 at 10:16