Which gradle plugin do I install on eclipse? - eclipse

I'm trying to follow a simple tutorial with an API called Twilio (https://www.twilio.com/docs/quickstart/java/sms#overview) and to do that I need to start a gradle project in eclipse.
My eclipse isn't working on my linux partition so I am starting from scratch in a virtual machine.
I tried to install the gradle plugin in eclipse using the source URL http://dist.springsource.com/release/TOOLS/update/e4.4 but I'm not sure which modules to include and which not to.
I tried installing "Gradle IDE" and "Eclipse Platform" but it does not give the option to create a new gradle project, only "Gradle (STS) Project" which when selected does not look the same as in the tutorial.
Can someone explain what I need to do? My eclipse version is 3.8.1
edit: This is what it looks like right now

I am on Eclipse Mars version and the best way to install Gradle or any external plugin is from Eclipse Marketplace.
Navigation : Help -> Eclipse Marketplace... (the last sub-menu)
There you can search for 'gradle' and install Buildship gradle integration 2.0. After install eclipse will ask for restart and plugin gets installed successfully. You can import gradle project into eclipse afterwards.
Hope this helps.

Related

How to install M2E in Eclipse Mars 2.0

I had Maven installed by default at my ECLIPSE MARS 2.0 . I wanted to take the latest version of M2E and i go to Help-->Install New Software--> and followed all the steps and it was installed . Now when I want to create a new project I do not anymore have the option to create a Maven project. I am really confused what is happening to my eclipse. Can anyone provide me an answer and a solution?
Remark: In my terminal when i type mvn --version the result is command not found

Building a groovy project in eclipse

I have imported a groovy project in my eclipse and I have installed the groovy plugins in my eclipse too. now, I want to build my project(which is a groovy-gradle plugin) in eclipse and use it further. I have gone through a link http://www.selikoff.net/2013/01/11/creating-a-groovy-project-with-gradle-in-eclipse/ but I don't understand how to build my project. I don't get build option.
Install the gradle plugins.
Some tasks will be available in the tasks Window.
Right click on build task and run it.

STS 3.6.4 Gradle tooling not available?

I've just downloaded Spring Tool Suite 3.6.4 (201503100339, Eclipse Luna SR1 (4.4.2)) on Windows 8. I'm attempting to import an existing Gradle project, but this option is not available within the import menu.
Playing a hunch that Gradle support may have been removed, I sought to install it from the Eclipse Marketplace. But when I found "Gradle Integration for Eclipse (4.4) 3.6.4.RELEASE" the only option available was "uninstall", implying that it was already installed.
Is there something I need to do to "Activate" the Gradle tooling?
The Gradle tooling is not installed by default if you download an STS distribution. You should be able to install it from the Eclipse marketplace or the dashboard.
If you are not sure whether this is installed or not, you can check that in the about dialog. There is an option to inspect the installation details.
#Martin - I repeated my last steps, and this time "Gradle Support" installed without incident. I have no clue what is different now, but the error about "connector not available" went away. I now have Gradle support. Thanks for your help! - k
I checked the issue with the Marketplace again and it looks like a limitation of the Eclipse Marketplace client at the moment.
More details:
The Gradle IDE contains three features that should be installed. One of these features is the dashboard - which comes with STS by default. It looks like the marketplace client checks the already installed features and whenever it finds one of the features of the item to be installed in the existing installation, it enables the "uninstall" button. This seems to be the reason why the Gradle IDE entry from the Marketplace is listed as "uninstall".
I filed a bug for this against the Eclipse Marketplace. Lets see that happens. As a workaround, you should be able to install the Gradle tooling from the dashboard or the STS update site directly.

Is there a Gradle plugin for Eclipse Luna?

I'm trying to integrate Eclipse Luna with Gradle.
Eclipse Integration Gradle GitHub page includes instructions for Installing Gradle Tooling from update site.
I followed the instructions for the release (stable) version.
After I selected all the components (as shown below) I proceeded with installation.
It didn't go as expected and brought me to the Install Remediation Page (below) that showed that only Gradle IDE component could be installed. ( Click here for larger image).
At this point I'm not sure what caused the problem and what to do about.
The plugin you are using is wrong. There is an update for Luna here.
You can alternatively install the plugin directly within eclipse with this integration link.
Gradleware now offers direct support for the Eclipse IDE. See http://www.vogella.com/tutorials/EclipseGradle/article.html for an introduction.
In addition to plugin memtioned by #Campiador. You must have supported project nature in your eclipse's .project file in order for your project to show up in "Gradle Tasks" view.
See following example:
Add one or more natures in build.gradle file:
eclipse.project {
natures 'org.springsource.ide.eclipse.gradle.core.nature', 'org.eclipse.jdt.core.javanature'
}
After this change, just run gradle eclipse command from your shell/command prompt. Newly generated .project will have proper natures in it. Just refresh your project in eclipse and now you will see your project in Gradle Tasks view.

Running the ZK essentials maven project from eclipse

I usually can run zk apps on the server but the essentials app is a maven project and I cant see that option in zk studio (in eclipse).
How do I run it in eclipse?
Install the m2e plugin from the marketplace. It will give you additional options in the Run menu like "Maven install".
Note that Maven is a build tool, not a run tool. Maven only manages the classpath for you. You can then use the normal "Run as ..." of Eclipse to start it.
EDIT When you have m2e, make sure you import the project using "Import Maven project". M2e will then configure all the aspects, facets and natures.
If you already have the project imported, try "Update Project..."
If that doesn't work, try to enable the "Web Project Facet". See this blog post for details: http://www.mkyong.com/java/how-to-convert-java-project-to-web-project-in-eclipse/
I have installed m2e plugin on Eclipse Juno without any problem.
Have you tried install m2e plugin before install other plugins? it
will give you maven install option .
first of all, goto help menu then eclipse marketplace search
m2e plugin in eclipse juno/ kepler version and install the m2e plugin