r/groovy • u/DotSignificant304 • Jul 14 '21
Anyone who is interested to do pair programming in groovy for solving one use-case?
Please do let me know so that we can start doing a pair programming.thank you!
r/groovy • u/DotSignificant304 • Jul 14 '21
Please do let me know so that we can start doing a pair programming.thank you!
r/groovy • u/Fubbs-n-Chubbs • Jun 16 '19
r/groovy • u/stormosgmailcom • Jul 23 '23
r/groovy • u/mro2352 • Dec 13 '24
I’m having problems with a team at work. We use IntelliJ and they have a groovy job failing. It seems to me that the language is based on Java. In IntelliJ you can trace in debug mode. Is this feature available for groovy?
r/groovy • u/stormosgmailcom • Dec 05 '22
r/groovy • u/Fubbs-n-Chubbs • Jun 01 '19
r/groovy • u/luyseyal • Apr 28 '16
r/groovy • u/Condorul • Aug 28 '19
Does anyone have an example of an action for a groovy script that will generate a database?
I don't have the slightest idea how it should look or how to create one.
Basically in Application Insights I get this error :
The model backing the 'AuthDbContext' context has changed since the database was created. Consider using Code First Migrations to update the database (http://go.microsoft.com/fwlink/?LinkId=238269).
r/groovy • u/mapoart • Jul 16 '20
Hi guys,
We have made Open Source Tool for the Programmers - Nexss Programmer.
50 different programming languages together...
Groovy is included so you can combine it with other languages!
If you guys want to check it out here is the link for the video presentation: https://www.youtube.com/watch?v=7WbnYyEnBNk
It would be great if we can get more feedback on it.
Have a nice day!
r/groovy • u/[deleted] • Nov 01 '14
Hi, everyone. I'm learning groovy with the help of Groovykoans and it has been a great experience.
Today I was working on Koan11 and I tried this for test03
lastNameRose = db.dataSet('PERSON').findAll {
it.LASTNAME == 'Rose'
}.firstRow().LASTNAMEBut i got this error message, which I can't understand. Can anyone give me some light about what I'm doing wrong?
Thanks in advance.
r/groovy • u/geodebug • Feb 27 '14
I'm guessing someone forgot to pay the DNS bill and let it expire?
r/groovy • u/TestingTooling • Oct 31 '20
Learned basics of JSON Parsing in a groovy this week, tried creating Video covering what I learned so far.
The plan is to read and learn more and document it in the video for a summary so I can revise it fast and also can be helpful to others.
Do let me know your feedback, Also please change video speed to 1.25x to save the time.
Here is the youtube link - https://youtu.be/s87UbU8z6bg
Have a great day
r/groovy • u/virtualdogbert • Sep 10 '16
r/groovy • u/wetling • Oct 12 '18
I am a serious Groovy noob and have a script which accepts a list of Windows services and checks if they are installed on a server. The script seems to work well when I define the services in a string (e.g. "BITS,VSS"). Since we have a list of known services, the user needs to be able to enter "standardServices" as the string and I need to turn that into a list. I am having trouble detecting if the input string contains "standardServices". To add a little wrinkle, the string may contain "standardServices" and other services (e.g. "BITS,VSS")
Here is what I am trying:
def definedServices = "standardServices,BITS"
def List<String> services = definedServices.tokenize(',')
If (services.contains('standardServices')) {
// Replace the string 'standardServices', with the actual services.
services.remove('standardServices')
services.add('W32Time')
services.add('vds')
}
// Print the contents of the list "services"
for (String item : services) {
println item
}I am getting an error like this:
No signature of method: Script291.If() is applicable for argument types: (java.lang.Boolean, Script291$_run_closure1) values: [true, Script291$_run_closure1@13e9ed33]
Possible solutions: run(), run(), find(), any(), is(java.lang.Object), wait()So it seems that my problem is on line 4, but I don't know why.
r/groovy • u/divnorva • Jan 08 '16
r/groovy • u/Alstroph • Mar 16 '15
I installed the oracle JDK, GVMtools, then grails 2.4.4. Then I created a grails test project. When I run the project it goes through many errors like "ERROR jvm.JVM - Problems copying method. Incompatible JVM?" but when it finishes loading I am able to load up the test page fine.
How can I fix these errors? I can prove more information if needed.
EDIT: I downgraded to jdk-8u25 and there seem to be fewer errors, however when I run-app I get this at the bottom:
| Server running. Browse to http://localhost:8080/test
| Error 2015-03-16 13:42:48,286 [Thread-8] ERROR jvm.JVM - Problems copying constructor. Incompatible JVM?
Message: null
Line | Method
->> 745 | run in java.lang.Thread
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Caused by IllegalArgumentException: Can not copy a non-root Constructor
->> 745 | run in java.lang.Thread
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Edit 2:
The grails test app reports: JVM version: 1.8.0_40
While java -version reports: java version "1.8.0_25" Java(TM) SE Runtime Environment (build 1.8.0_25-b17)
Edit 3:
Rebooted and everything started working. I'll leave this here for any other newbies.
r/groovy • u/Zenai • Dec 28 '14
r/groovy • u/enkicoder • Apr 24 '13
r/groovy • u/nickbroon • Aug 02 '19
r/groovy • u/wilcecil • Jan 30 '15
https://github.com/wcecil/groovis/blob/master/groovis.groovy
I am just picking up groovy and figured I'd stick to what I know, redIs. I wrote a very simple set wrapper around a redis set and used a encapsulatifn bean to hold class and bean to write. I'm sure there is an easier way to hydrate pojos in groovy, and I'm sure I missed it.
Please look over my code and critique my code.
Fyi, code is in the public domain, feel free to steal it if you find anything of value