r/groovy • • Jul 14 '21

Anyone who is interested to do pair programming in groovy for solving one use-case?

0 Upvotes

Please do let me know so that we can start doing a pair programming.thank you!


r/groovy • • Jun 01 '19

Oh no!!! Oh yes!!!

Thumbnail
m.youtube.com
0 Upvotes

r/groovy • • Jun 16 '19

Future Funk Fubbs n’Chubbs (sexy mama)

Thumbnail
m.youtube.com
0 Upvotes

r/groovy • • Jul 23 '23

GroovyNewbie How to remove leading zeros in Groovy script?

Thumbnail
devhubby.com
0 Upvotes

r/groovy • • Dec 13 '24

Issue at work

0 Upvotes

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 • • Dec 05 '22

GroovyNewbie How to loop through json in Groovy?

Thumbnail
devhubby.com
0 Upvotes

r/groovy • • Oct 20 '17

What is wrong with Groovy? – Hacker Noon

Thumbnail
medium.com
0 Upvotes

r/groovy • • Jun 01 '19

Fubbs n’Chubbs (New Cadillac) Future Funk

Thumbnail
m.youtube.com
0 Upvotes

r/groovy • • Feb 16 '21

alternate to if else under switch case

Thumbnail
self.jenkinsci
0 Upvotes

r/groovy • • Apr 28 '16

Pro-tip: Oracle DDL in Groovy

Thumbnail universeofnumbers.blogspot.com
5 Upvotes

r/groovy • • Aug 28 '19

Groovy Script action to generate database (how to)?

1 Upvotes

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 • • Jul 16 '20

Nexss Programmer - Open Source tool for the programmers - Groovy included

1 Upvotes

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 • • Nov 01 '14

[Question] Groovykoans - Koan11 - Test03

1 Upvotes

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().LASTNAME

But 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 • • Feb 27 '14

Groovy's site is gone

0 Upvotes

I'm guessing someone forgot to pay the DNS bill and let it expire?


r/groovy • • Oct 31 '20

JSON Parsing In Groovy

4 Upvotes

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 • • Sep 10 '16

Geb to Grid : Geb+Spock to a Selenium Grid on Docker: Build it and Use it. - Boston Groovy Grails & Spring (Boston, MA)

Thumbnail
meetup.com
4 Upvotes

r/groovy • • Oct 12 '18

Groovy syntax question

2 Upvotes

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 • • Jan 08 '16

Which programming language is best for beginners in 2016?

Thumbnail
goo.gl
2 Upvotes

r/groovy • • Mar 16 '15

New Grails install on Ubuntu - ERROR jvm.JVM - Problems copying method. Incompatible JVM?

2 Upvotes

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 • • Jul 14 '22

GroovyNewbie How to get current year in Groovy?

Post image
2 Upvotes

r/groovy • • Dec 14 '14

Tips on how to better this code? Thanks

Thumbnail
github.com
2 Upvotes

r/groovy • • Dec 28 '14

Interesting issue here (new to groovy and am probably overlooking something obvious)

Thumbnail
imgur.com
2 Upvotes

r/groovy • • Apr 24 '13

JVM Languages Report [super] extended interview on Groovy

Thumbnail
zeroturnaround.com
6 Upvotes

r/groovy • • Aug 02 '19

Will Groovy ever have proper privacy?!

Thumbnail issues.apache.org
3 Upvotes

r/groovy • • Jan 30 '15

Learning groovy, would like some comments

3 Upvotes

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