How the hell do I run a Groovy script?
Hello,
I am puzzled by the complexity of gettings things setup in Intellij.
It has always been way to complex, including in Eclipse.
I have the Groovy plugin installed. I have a Groovy script, in a java project ( who gives a shit ) ...
why can't I just run the script, like I would be able to using the console : groovy myscript
What the fuck!? Seriously, but this whole process needs to be seriously overlooked, because it is not easy.
I shouldn't have to add anything. I have the groovy plugin. The configuration should be done in settings, like groovy version and what not.
All these fucked up module windows, that I am sure no body understands needs to be refactored.
// Pissed off user
---
Original message URL: http://devnet.jetbrains.net/message/5469077#5469077
Please sign in to leave a comment.
Option 1:
Option 2:
Option 3:
Option 4:
Just right-click and select run. Simple.
Also, there are these steps:
-2. Install groovy
-1. Add the groovy SDK to the project
0. Add the JAXB dependency
Then, you're ready for step 1. :)
Just for others who follow this and see weird errors that don't seem to point to the problem. :(
Found help here: https://www.logicbig.com/tutorials/misc/groovy/intellij.html