Attaching sources for eclipse plugin - eclipse

I cannot inspect source code from eclipse plugin
Eclipse plugin:
What I do is this,
Attaching plugin as source:
What I do wrong, here is my eclipse info
Eclipse info:

The "Eclipse SDK" includes source code plug-ins for all the Eclipse plug-ins. If you are using a target platform you should include this in the target platform. If you are just using the "Running Platform" as your target platform install it as part of your main Eclipse.
In the Preferences in the "Plug-in Development" page check the "Include all plug-ins from target in Java workspace scope" option. You should now be able to open any Eclipse class using the normal methods of viewing a type (such as "Open Type")

Related

Which Eclipse Photon plugin provides a "JPA Tools" context menu entry?

I do not see a JPA Tools item in a context menu of my project in Eclipse Photon.
In my Eclipse Oxygen installation I have this item. It is provided by the "Eclipse Web Tools Platform" provider's "Dali Java Persistence Tools - JPA UI" plugin. I can verify that it is installed in my Eclipse Oxygen by going to Help → About Eclipse SDK → Installation Details → Plug-ins and searching for org.eclipse.jpt.jpa.ui.
The only JPA plugin that is not yet installed in my Eclipse Photon from the "Photon" repo is "Dali Java Persistence Tools - JPA Diagram Editor". But I do not have it in my Eclipse Oxygen installation as well.
Which plugin should I install in order to enable the JPA Tools entry?
I do not know the plugin name, but this comment worked for me:
Open the context menu of the project
Choose Properties
In the Project Facets section check the JPA checkbox

Eclipse: missing eclipse application launch configuration

I want to choose an Eclipse Application Launch configuration in the Run/Debug Configuration of eclipse, for running an eclipse plugin, but it doesnt exists.
How can I add the Eclipse Application Launch configurations in the run/debug configurations. I'm using Eclipse Luna IDE for Java Developers.
You are missing the Eclipse Project SDK, which is needed to create Eclipse Applications. Without it, you will notice for example these problems:
The Run/Debug configuration is missing a category "Eclipse Applications" (as you mentioned)
The Windows / Preferences dialog is missing a category "Plug-in Development"
Importing launch configurations for "Eclipse Applications" will have no effect.
You install the Eclipse Project SDK like this:
Help / Install New Software...
Choose the installation repository. In case of Eclipse Oxygen, it is "Oxygen - http://download.eclipse.org/releases/oxygen"
Filter for Eclipse Project SDK
Check it & press "Finish"

When setting the debug path eclipse says source not found

I use Eclipse Version: Luna Release (4.4.0) and i imported my projects as maven project. When i do remote debugging, it tries to look a class, and asking "Edit source lookup path". I tried both "workspace folder" and "java project" options and add them in the debug path. But eclipse says "Source not found." and again and again asking me to set the path for source.
I did same in my older eclipse versions(ganymade/galilio) and was ale to debug my project successfully.
What is the issue in the newer Luna version?

eclipse reference in buildpath that org.eclipse.pde.core.requiredplugins with no jar

I downloaded a eclipse plugin project that sharpen. It has a refence in buildpath org.eclipse.pde.core.requiredplugins but with no jar. I search throuhg the internet but could'n find any jar with this name. Now I'm gettig error due to lack of required jars. I put screenshoot below
Can anyone help please
To resolve the dependencies of this OSGi or Eclipse Plug-in project you need the Eclipse Plug-in Development Environment (PDE) tooling (which is obviously missing in your IDE):
Help > Install New Software
In Work with select --All Available Sites--
Select Eclipse Plugin Development Tools
Click Finish
Similar to Maven dependencies are specified by IDs/names with version ranges in a specific file (Maven: pom.xml; OSGi bundle / Eclipse plug-in: META-INF/MANIFEST.MF). Make sure all required plug-ins are in your target platform: Window > Preferences: Plug-in Development > Target Platform.

Eclipse cannot open java me perspective

I'd like to learn java me. I've gone to the following site to download what is needed. My Eclipse version is Juno.
I've done the following:
Eclipse Juno
The Oracle Java ME SDK requires the MTJ toolkit, but it is not bundled with Juno and it must be installed manually. Therefore, install MTJ toolkit first.
Go to Help > Install New Software.
In the "Work with" field, enter this URL: http://download.eclipse.org/releases/indigo
Click Add. When the plugins are discovered, open the Mobile and Device Development Tools hierarchy and check Mobile Tools for Java Examples, Mobile Tools for Java SDK, and Mobile Tools for Java Examples. Click Next. On the installation screen select all plugins and click Finish.
A Juno plugin named org.eclipse.jetty.server_(version).jar conflicts with the MTJ libraries when the plugin version is higher than 6. If it is you must prevent it from loading by changing its name so the Jar file is not parsed. For example, change it to: org.eclipse.jetty.server.old
To open the device selector, select Window > Open Perspective > Other and select Java ME.
The MTJ is installed along with the 3 packages that also need to be installed:
Mobile Tools for Java Examples
Mobile Tools for Java SDK
Mobile Tools
for Java Examples
When I choose: Window > Open Perspective > Other
there is no Java ME option. Does anyone know why that option is not shown?
I do not know exactly why, but MTJ does not run with Juno. If you like Eclipse try it with Indigo.
Have you considered using NetBeans?