Eclipse 2020-09 fails to find plug-in sources on Linux [message #1833422] |
Mon, 12 October 2020 15:17  |
Eclipse User |
|
|
|
Hello,
I have installed the Eclipse IDE for Java Development (2020-09) on Linux and used the "Install New Software..." dialog to install some plug-ins (such as the Eclipse Modeling Framework SDK). Doing so did, for instance, add the following two files to my ~/.p2/pool/plugins directory:
- org.eclipse.emf.ecore_2.23.0.v20200630-0516.jar
- org.eclipse.emf.ecore.source_2.23.0.v20200630-0516.jar
In principle, all installed plug-ins work fine. However, if I try to take a look at the source code of a class provided by one of the installed plug-ins, Eclipse fails to find it.
For example, if I focus the EObject class in Java code and press F3, I am presented with the "Source not found" screen. Eclipse then asks me to attach the source myself. In this dialog, the "External location" defaults to "org.eclipse.emf.ecore_2.23.0.v20200630-0516.jar". Manually changing it to "org.eclipse.emf.ecore.source_2.23.0.v20200630-0516.jar" solves the issue, but is not persistent.
Interestingly, a comparable setup on Windows is not affected by this issue.
How can I solve this issue? Is there a way to make Eclipse aware of the "source" versions of all plug-ins?
Thanks!
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05774 seconds