0
votes

I am writing an Eclipse plug-in and trying to package and export it. In Eclipse, I used File -> Export... -> Deployable plug-ins ans fragments -> Select my plug-in and set the Directory. But it shows the following error:

'Export Plug-ins' has encountered a problem.
An internal error occurred during: "Export Plug-ins".
Unable to get workspace root

This error has been shown every time even when I try to export an hello world plug-in. What causes this error and what is the correct step to configure and export the plug-in?

Thanks!

1

1 Answers

0
votes

Getting workspace root errors are mostly related to resources plugin, try adding org.eclipse.core.resources plugin as a dependency and try exporting again. If you can give more detail about the problem we can be more helpful.