Eclipse Plugin not working in Juno - java

I had developed an eclipse plugin in eclipse luna.
It is absolutely working fine as expected in eclipse luna.
But now when i am copying this plugin jar to the plugins folder of eclipse juno and restarting my eclipse it is not working.
It doesn't even display the plugin in the installed plugins list.
Also when i am starting the console (juno) in osgi view , and typing the command ss command my plugin is not listed there.
Is there any version compatibility issue among the eclipse versions ?
UPDATE :
As per Gilbert's suggestion I created the same plugin in eclipse JUNO , and I am able to run it successfully in the runtime workbench.
Now when I am exporting this jar file and manually copying it into my plugins directory it is not working. I ran the ss command where the plugin is listed and it is in the STARTING state.
Still I am not sure why on exporting the jar it is not working ??
Please help , how to fix this.

Related

Exporting Eclipse plugin not able to see project as plugin project

I am working on Eclipse plugin. At the beginning exporting of it worked fine but I guess that after updating Eclipse it broke down. Eclipse started to mentioned that I have uninstalled some equinox packages. It took time till I understood that version of Eclipse made a problems and I reinstalled older version of Eclipse. Now I am again able to run sample environment with plugin but I still am not able to export plugin. In export form where I need to select deployable plugin and/or fragments I don't have listed anything. From what I found I understand that it might be problem with importing project in Eclipse as it might not remove information that project is external and thus not listing as project that could be exported. But I did not find any way to prove this case.
Is there anybody having any idea how to solve this kind of issue?

Maven project couldn't created(Web application) in Netbeans 8.2 JDK8u231

I tried to create one project on Netbeans. I tried in my personal laptop so Netbeans was fresh install. after installation I opened the IDE and Tried to create new project NewProject->Maven->WebApplication but it shows one error that cmd command failed. the build wasn't even started.is there anything to do with maven in netbeans tools->java->maven.
Netbeans 8.2
JDK 8u231
This image contain the error
Why don't you use newer NetBeans version? Newest version is NetBeans 11.2: https://netbeans.apache.org/ NetBeans IDE 8.2 was released on 3 October 2016!
I've got a similar problem, but an error, I've got some weird characters.
I have a new version of Maven 3.6.0, so I've changed it to "bundled" in option->Java->Maven then Netbeans took his own version (3.0.5) and problem was resolved. Hope it would help maven version

Eclipse Neon for Eclipse Committers can't resolve org.eclipse

I recently upgraded to Eclipse Neon. I had a plugin project that built fine in Eclipse Luna, but now in neon, everywhere that I imported "org.eclipse."something I get an error:
The import org.eclipse cannot be resolved.
The plugin.xml has errors etc.
The Project build path has "Plugin Dependencies" on the build path.
My version of Eclipse is
Eclipse IDE for Eclipse Committers
Version: Neon.3 Release (4.6.3)
Build id: 20170314-1500
I'm running on MacOSX High Sierra.
It's probably something very simple.
I have a similar problem every time I upgrade my eclipse installation.
For me the problem can be solved by adjusting the Target platform (can be found in the settings - just search for it) to match the currently running one. For that in most cases I simply add a target platform with default configuration and set that one active.
After a rebuild (normally performed automatically) all those errors are gone.

Problems integrating Maven with Eclipse Kepler

I am totally new to working with Maven in Eclipse. I am using the latest verion of Eclipse (Kepler). According other posts, as well as Eclipse's help page http://help.eclipse.org/kepler/index.jsp?topic=//org.eclipse.platform.doc.user/tasks/tasks-127.htm , I am supposed to try to install new software within Eclipse IDE.
However, when I try to Add Eclipse's recommended m2e release, Eclipse gives me an error:
Unable to read repository at http://download.eclipse.org/technology/m2e/releases.
download.eclipse[...]releases is not a valid repository location.
Essentially I run into the same problem no matter which approach I take outlined on the Eclipse help page. Is there some other/better way to integrate Maven with Eclipse? Are there steps I should have taken before this? All I have done so far is install Eclipse. How can I successfully get Maven running?
EDIT: Now I am using Java EE and still run into problems when making a Maven project. I get a "Could not resolve archetype error" could this be because I'm behind a proxy?
Most convenient option:
The reason you're getting that error is because that repo is deprecated, and it has been moved. Example of how the new repo looks:
http://download.eclipse.org/technology/m2e/releases/1.0/1.0.0.20110607-2117
Copy that in the Install New Software view, and you will see that it works.
Other options:
Install the Maven Integration from Eclipse Marketplace (Help -> Eclipse Marketplace)
Download the EE version of Kepler (comes with m2e)
Choose your own release (bottom of the page) and use the Install New Software view.
I had the same issue here and the above answer didnt work for me. Although Maven is installed I cane update my dependencies on my folder the way I used to be able to do on Juno. What I did was used the pom.xml from my current project and pasted it into the pom of my new project I created specifically in Eclipse using new project->Maven.
This was eclipse knows its a Maven project and allows my all the benefits of being one.
To install maven properly for eclipse you should set the correct repos as follow:
Help=>install=>
then work with
http://download.eclipse.org/releases/
example of eclipse version : mars or kepler ..

How to run Eclipse plugin in the same Workbench?

I have created simple Eclipse plugin, by wizard, Hello, World Command, but it runs in separate Eclipse.
Is it possible to run plugin in the same Eclipse I work in?
I want to write some helpers for design process.
UPDATE
My Eclipse version is Juno
My OS version is Windows Prof 7 x64
Eclipse runs under C:/Program Files/Java/jdk1.7.0/bin/javaw.exe according to eclipse.ini
Run configuration of Eclipse Application refers the same location.
I think you need to install your plugin in your Eclipse to run it with-in the Eclipse as other plugins.
FAQ on Eclipse Plugin Installation can be found here: FAQ How do I install new plug-ins?

Categories

Resources