I am trying to add a Groovy SDK to an IntelliJ Gradle project, but I am failing to to add the Groovy SDK. I am using SDKMAN but also downloaded and extracted the Groovy zip from the groovy website.
In the past it always worked without any problems but not now anymore.
This is the path I am providing to IntelliJ /Users/dev/code/libs/groovy-2.4.10/ its what you get when you extract the groovy .zip file from the website.
Edit:
As suggested I tried also other groovy version down to 2.4.6 all with the same result.
Groovy 2.4.10 is not recognized by intellij 2016.3.5 as well as intellij 2017.1
Groovy 2.4.8 works well with intellij 2017.1. I would guess that it works with intellij 2016.3.5 as well
Related
I have created a Intellij idea plugin with java and gradle by using intelli idea 2020.2.2 and its working fine in intellij 2020.2.2 and its higher version but while i am trying to use it in older versions like 2020.1.X or other older version its not working show "Incompatible with this installation" issue.
I want to use this custom plugin also with older verion.enter image description here
I'm using Geb 2.0 (http://gebish.org/) and have downloaded the Gradle sample (https://github.com/geb/geb-example-gradle).
All works just fine on my machine with all browsers (Chrome, Firefox, ChromeHeadless).
I have imported the project in IntelliJ (latest Ultimate edition) and all normal code editing functions are working fine.
What fails is attempting to run a spec. I get an exception with the helpful hint of the path to the driver executable must be set by the webdriver.chrome.driver system property.
However, I can't figure out what to point it at. I've tried pointing at the selenium-chrome-driver-3.6.0.jar but that results in failure also.
I'm using -Dgeb.env=chrome and -Dwebdriver.chrome.driver=SOMERANDOMEPATHSHERE
Help?
The Gradle example Geb project is set up to generate the appropriately configured IntelliJ project capable fo running the specs from the IDE. Simply run ./gradlew idea and load the project by opening the geb-example-gradle.ipr file in IntelliJ instead of loading the project by importing it's Gradle build the way you do.
I just made my first Griffon project, using lazybones. I chose griffon-lanterna-groovy for my template, and I then removed pom.xml and maven/ as I will be using Gradle. I then run gradle build test run and everything looked good. (it ran, build succeeded, etc.)
Next, I opened the project in IntelliJ and I've tried this in a variety of ways. No matter what I do, it IntelliJ doesn't recognize that this is a Griffon project.
I am using the latest stable version of all these library's, and I'm using IntelliJ Idea Ultimate Edition. I'm to to lazybones, Griffon, and lanterna, so any help is appreciated.
Griffon 2.x applications are either regular Gradle or Maven projects, you do not need an specific Griffon IDE plugin. IntelliJ ships with a Griffon plugin that's only compatible with Griffon 1.x projects. Do not use this plugin.
Refer to http://griffon-framework.org/tutorials/1_getting_started.html#_tutorial_1_4
I was tryi ng to install the freemarker plugin for eclipse Indigo on my machine which runs on Ubuntu 11. I tried to add http://www.freemarker.org/eclipse/update with the name FreeMarker to install new softwares option. But, it complained that there were no repositories. Then, IO manually tried to download the plugin file (freemarker-2.3.19.tar.gz) from http://sourceforge.net/projects/freemarker and tried to copy the contents to /usr/share/eclipse/plugins folder. But, it rejected it complaining that the format of the file contents were incompatible.
Can anyone please help me with this issue.
Thanks in advance.!
You should use the FreeMarker plugin in the JBoss Tools Project, as http://freemarker.org/editors.html says. Where did you get the link to the old plugin? (Also, freemarker-2.3.19.tar.gz is the FreeMarker distribution, and has nothing to do with Eclipse.)
What I finally did is, I downloaded Eclipse Indigo for Java EE from Eclipse official website. It had the market place from where I could easily install the JBoss plugin. All I had to do is install it from within Eclipse and could work on freemarker after that.
I know there is one for play1, but I don't find any for play2.
I hope the plugin can compile the templates to scala code automatically. It's not convenient now.
I just came across Scala IDE Play2 plugin for Eclipse Indigo/Juno and Scala IDE. The current features are
Syntax Highlighting (routes and templates)
Code completion (templates)
Formatter (routes)
Hyperlinking (routes and templates)
Note that hyperlinking to Java files is not supported for now. Also there are some limitations for the code completion feature, just take some time to read the doc. I didn't try it myself as I'm not working with Play2 right now, but thought it might be helpful for someone.
Edit: This answer is outdated. A Play Eclipse plugin has been written, as #Baztoune says.
There is no Play 2 plugin for Eclipse at the time I’m writing these lines. However, there is an eclipsify sbt command, provided by the Play 2 sbt plugin, which is able to generate an Eclipse project from a Play 2 application.
You won’t get syntax highlighting, contextual completion or code navigation inside Play 2 templates, but you can have them to be automatically compiled when saved by using the ~run sbt command (instead of just run). Check the Eclipse “General −> Workspace −> Refresh using native hooks or polling” option is enabled so it will take compiled templates changes into account.
Yes, here's how to get started:
Find the correct update site for your version of Eclipse from http://scala-ide.org/download/current.html.
In Eclipse go to Help->Install New Software. Use the update site from above to locate Scala related plugins.
Install both the Scala IDE for Eclipse plugin and the Play2 support in Scala IDE plugin. Note that the Play2 support in Scala IDE plugin is listed under the Scala IDE plugins checkbox.
I was unable to get this working at all starting from bare Eclipse, as many sources have suggested doing. The problem seems to be incompatible dependencies that only show up after much wasted time. The Scala IDE route eliminated this problem.
Yes. That's Scala IDE.
Update Site for Eclipse Juno and Kepler: http://download.scala-ide.org/sdk/e38/scala210/stable/site
Install with the following features:
Scala IDE for Eclipse
Scala IDE Plugins (incubation)
I use Scala IDE from http://scala-ide.org/ , then eclipsify my play2 project and import.
It works like a charm: it compiles my scala/java code.
You can get more details at this URL http://scala-ide.org/docs/tutorials/play20scalaide20/index.html