How to run Eclipse plugin in the same Workbench? - java

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?

Related

How I can debug the installed eclipse plugin

I have installed some JAVA plugin to the Eclipse. This plugin does not provides the source files (as this plugin contains only a set of JAR files). So, right now I want to "reverse engineering", to debug this plugin (to understand how it does work).
I know that I can run the Eclipse (which includes this plugin) in a "server" mode and then it will wait the remote 'GDB' connection.
Also, I have heard that I can use the Intellij IDEA as an IDE to remote debugging, to debug that Eclipse (with its plugin). But a main issue is that I have not a sources of that Eclipse plugin and I can't open it in Intellij IDEA.
So, my question is: is it possible to debug the eclipse JAVA plugin which has not a sources? And, if yes, then, how I can do it?
BR,
Denis
Using Intellij IDEA for this is nonsense--this is little different from debugging a plug-in when you do have the sources available, and plug-in developers have to do that all the time.
1) Install the Plug-in Development Environment. It's found in the Eclipse Project update site you should already have built-in.
2) Import the plug-in into a project in your workspace. Be sure to look for
3) Launch an Eclipse Application using a different workspace from the Debug menu.
This essentially takes what's in the Target Platform preference page, adds the plug-in from your workspace, and runs a copy of Eclipse with all of that mixed together. It's a different JVM process and should have its own workspace directory.

Eclipse Plugin not working in Juno

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.

Jmeter with Eclipse

I'm learning how to build Jmeter with Eclipse.
I followed some online steps and downloaded Jmeter binary and source files, unzipped them into the same directory, created a java project in eclipse and used ant build but when i build i got the following error
\workspace\apache-jmeter-2.11\build.xml:801: Class not found: javac1.8
I'm using JRE8, JDK1.8 and ant 1.9.4.
Saw some similar post with answers saying that this is an issue with ant version < 1.9 but i'm already using ant 1.9.4.
Help please.
As that is a problem encountered with versions of Ant which are not compliant with Java 8, I suggest you check your Ant configuration. Go to your Eclipse settings and check it. Then, check your project settings, maybe you have project-specific settings which override your general Eclipse settings.
In the settings, you can choose which Ant install you want to use. By default, Eclipse is using it's own, which is probably not the last available. If you have installed Ant 1.9.4, you should select "External installation" or something, with the version of Ant you installed.
More infos here: http://help.eclipse.org/juno/index.jsp?topic=%2Forg.eclipse.platform.doc.user%2Ftasks%2Ftasks-ant-version.htm

IntelliJ Plugin Dev - Cannot prepare plugin for deployment

I am trying to download the source of an IntelliJ IDEA Plugin (for JBehave integration) from a github repo, and basically build it into a jar, which I can distribute to my team (which they can then drop into their plugin directory for installation).
What I have done so far:
configured the IDEA SDK (I downloaded the source for latest version of the community edition and built it)
Downloaded the source from the repo via zip, as well as git clone
Created the project from scratch, as well as trying to "Import"
Ran mvn install in the command line, ran "Make Project"
Then I looked for the command (according to this tutorial) to
Build | Prepare Plugin Module for Deployment.
As you can see, the command is not there.
What am I doing wrong? I have tried fiddling with the project/module settings ad nauseum and I feel like I'm getting nowhere.
It seems like I was using an outdated version of IntelliJ (10.5). I ran IntelliJ Idea 12, and I created the project IntelliJ Platform Plugin (as #CrazyCoder suggested). From there I was able to build it.

Unable to install Google App Engine Plugin (Eclipse 3.6)

I've followed these instructions but I'm unable to install the GAE plugin on Eclipse 3.6 Helios.
Any ideas what could be wrong and how to fix it?
This is a clean install of Eclipse, the only added features are the Eclipse Web Developer Tools per instructions.
This is on Windows XP.
Don't make it more complex than needed. Use the PlugIn: GAE Plugin Instructions
I fixed it by installing Eclipse for Java EE Developers
The version for different types of eclipse is different for Google App Engine Plugin. Try to use different version of plugin as required by your eclipse . I Have used http://dl.google.com/eclipse/plugin/3.4 for my Hellios Version eclipse and it is working file after installation . Do not forgot to researt your eclipse in clean mode after installation of plugin.

Categories

Resources