How to assign run configurations to icons at the top of Eclipse - eclipse

I used to use this plugin which let me add icons to the top of Eclipse. Each icon would correspond to a run configuration. http://sourceforge.net/projects/quicklaunch/
This project is old and doesn't work with the latest version of eclipse.
Is there an alternative way to do this or an alternative plugin that anyone knows about? I want to be able to start my server and then start my client with two clicks total.

Look at Eclipse Runner Plugin plugin. Check this eclipse market place link.
This will not run/debug configuration to toolbar but it has separate view.

Related

Dynamic web project missing in STS

I am facing one issue with Spring tool suite 4, I don't see "Dynamic web project" option. I want to create one dynamic web project but I do not find this option in my Spring tool suite. How to install those external tool in Spring tool suite, however I got few link i.e http://download.eclipse.org/releases/mars for eclipse, should I use this link for Spring tool suite as well?
Solve this issue in Spring Tool Suite 4
Tested with 4.15.1 RELEASE
Go to Help -> Install New Software..
Enter eclipse software repo link (https://download.eclipse.org/releases/latest) in Work with input box.
You will get the list of available software. Filter the list by searching for Java EE related software. Search something like "java ee" to make things easier.
Choose Eclipse Java EE Developer Tools from the filtered list and proceed further with installation.
You may need to restart the STS IDE to install the update properly.
To solve this on STS 4.x.x
Go to Install New Software.
Select the main Eclipse update site for 2019-03 ( if not added, you must click o add button and paste this URL: http://download.eclipse.org/releases/2019-03 on both fields)
search for m2e-wtp There are four extensions showing up and you should install the ones you prefer.
Restart your IDE
see https://github.com/spring-projects/sts4/issues/96#issuecomment-484522744 on martinlippert comment
https://github.com/spring-projects/sts4/issues/96#issuecomment-484522744
Short version: fixed in Spring Tools 4.2.2 (coming in late May 2019), workaround is to install the m2e-wtp features from the main Eclipse update repo into an existing Spring Tools 4 for Eclipse install.
If you dont see dynamic web project in File->New and also in other
Then go to help -> install new software
copy paste this http://download.eclipse.org/releases/mars/ and click enter
if it is the first time then it take lot of time to download depends upon the internet
Once it get started downloading a pop will appear as trust click on that
After downloading make sure to restart STS and check whether dynamic web project is showing or not
check in file->new or else check in Others

plugin doesn't show after deployment in the eclipse

I have created an eclipse plugin and it works fine when I'm running it using run as eclipse application.But when I deployed my plugin in the eclipse using File->Export->Deployable plugins and fragments, I cannot see it under new wizard.
I can see my plugin under installed plugins.
Any help why I cannot see it under new wizard list?
UPDATE:
My plugin shows under plugin registry view and when I'm diagnosing it says "no problems detected".
Can anyone help why it's not visible?
Quite often this is due to a missing dependency.
Check the "Plug-in Registry" View of your Eclipse installation for your Plug-In.
Right click on any plugin and check "Show Advanced Options".
Search your plugin, right click it and clcik on "Diagnose".
It should show you missing dependencies, if there are any.

Unable to debug Eclipse Application because of missing classes

I have written an DSL plug-in using Xtext 2.2.1. After upgrading to Xtext 2.3.0, I cannot debug the related Eclipse Application (i.e. I'm using a launch config which is labeled "Eclipse Application" to start an instance with my DSL plug-in from within Eclipse) because of this error:
Error instantiating builder 'org.eclipse.xtext.ui.shared.xtextBuilder'.
Plug-in org.eclipse.xtext.ui.shared was unable to load class org.eclipse.xtext.ui.shared.internal.ExecutableExtensionFactory.
org/eclipse/xtext/ui/guice/AbstractGuiceAwareExecutableExtensionFactory
What I tried:
I deselected all bundles from the target platform in the launch configuration, clicked "Add Required Plug-ins", tried again, same error.
I made sure that org.eclipse.xtext.ui and org.eclipse.xtext.ui.shared version 2.3.0 are available in the plug-ins list and both are enabled.
When I install the plug-in into my IDE, it works perfectly. I just can't launch an Eclipse Application from within the IDE.
"Validate Plug-ins" doesn't show any problems.
Any ideas how I can fix this?
While this is neither an answer to the question, why the launcher stopped working, nor a way to fix the existing launcher, you should at least be able to get back to work by creating a new launcher. To do this, just select Run As > Eclipse Application from the context menu of the XText project. This way, Eclipse should handle the creation and configuration of the launcher for you.
Be sure that Eclipse actually creates a new launcher! If Eclipse finds an existing Eclipse Application launcher, it might use that one instead. You should at least rename the old launcher, so you can tell which one is used (shown at the top of the Console View). The new launcher will by default have the name "Eclipse Application". If Eclipse still uses the old launcher you may have to remove that launcher first.
If you want to find out what was wrong with the old launcher, or if that launcher was specifically configured and you want to preserve that configuration, this may help: Eclipse stores the launcher configurations in the directory .metadata/.plugins/org.eclipse.debug.core/.launches/ located in the workspace, so you could back up the old launcher and then compare it to the newly created one using some diff tool.

What plug-in do I need to create a web application in Net Beans

I just installed NetBeans on my local system. I want to create a Web application but when I click on File->New Project-> The dialogue box that pops up does not give a Web option (I know one exists because I've seen it in text books). Instead I see Java, Maven, NetBeans Modules as my options. Is there a plug in that I need so that the Web option appears?
Thank you,
Elliott
It seems that you didn't download the correct download bundle.
The NetBeans download page shows an overview of all available bundles. From your description it seems that you have the JavaSE package. But you will need the JavaEE package.
As stated on the same page you can add modules:
You can add or remove packs later
using the IDE's Plugin Manager (Tools
| Plugins).

Can't finish Eclipse Plug-in Project Wizard when choosing RCP

I'm trying create a RCP Application with Eclipse, but I can't get past the 'Content' screen of the New Plug-in Project Wizard.
When I select 'yes' for "Rich Client Application, Would you like to create a rich client application" it disables the Next and the Finish Button.
I first thought it is due to my target platform which is Eclipse 3.2, but changing that doesn't make a difference.
On the top of the screen only one task is displayed (now warnings about missing or incompatible information): Enter the data required to generate the plug-in
My Eclipse Version is 3.5
Any ideas?
Since it was asked. A screenshot can be found here: http://www.flickr.com/photos/jensschauder/4535101973/
This is a longshot, but did you try running eclipse with the "-clean" command line argument? It sometimes solves wierd issues like this one.