Questions tagged [groovy]
18 questions
5
votes
5 answers
How can I find non-ASCII characters in text files?
Is there a tool that can scan a small text file and look for any character not in the simple ASCII character set?
A simple Java or Groovy script would also do.
Marcus Leon
- 2,955
- 8
- 35
- 38
5
votes
2 answers
How to install Java and Groovy in Ubuntu?
I'm a new user to Ubuntu! so I need your help. How do I install Java and Groovy in Ubuntu??
Please give step by step instructions.
Ant's
- 1,356
- 2
- 17
- 22
4
votes
1 answer
Groovy - Error: Groovy: Internal groovyc error: code 1
Everytime I try to run a groovy script I recive the error message I mentioned above. I don't really have a clue how to handle this error, I only can give you the entire error message.
Information:Groovyc: While compiling…
Tom Krebs
- 43
- 1
- 3
3
votes
2 answers
Specifying the groovy distribution in intelliJ when creating a new project
I've been following these directions to set up a project in IntelliJ with groovy support, but I get blocked at step 3 because the location of my groovy distribution is not specified, and IJ refuses to accept the copy of groovy that I pulled from…
estanford
- 133
- 1
- 5
3
votes
1 answer
Why groovy shows warning "An illegal reflective access operation has occurred" when I use JDK11
When I use JDK11, and then installed Groovy, some warning occurred like below:
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.codehaus.groovy.vmplugin.v7.Java7$1…
Mingyue Xie
- 33
- 1
- 5
2
votes
1 answer
Is there a 64-bit version of Groovy for Windows 10?
Is there a 64-bit version of Groovy? My OS is Windows 10.
I have been looking for days with no luck. The problem I have is that I need to use a 64-bit JVM with Groovy so that I can maximize the JVM heap size (I need more than 4G which is the maximum…
Yousef
- 123
- 4
2
votes
1 answer
Setting up groovy SDK on Intellij 2017.1
I'm trying to run Spock tests with my project in IntelliJ 2017.1 community ed. While editing my spec file I get the error msg "Cannot resolve spock" on the import line with a "Configure Groovy SDK" link. When I click on that link I get the "Setup…
Jacomoman
- 129
- 1
- 4
1
vote
5 answers
Groovy syntax not working with backslashes
I'm trying to use a backslash on the command bellow at groovy syntax:
find /path/folder-* -type f -iname "file*" -exec rm -f {} \;
When I try to build this command on a Jenkins pipeline give me an error about this syntax. Even before I do this…
Marlon
- 329
- 3
- 7
- 20
1
vote
2 answers
Groovy console won't load on Windows 7 x64
I've never worked with Groovy before.
I installed the executable and the latest JDK from the Java website.
I set my system ENV variables JAVA_HOME to C:\Program Files\Java\jdk1.8.0_77 and GROOVY_HOME to C:\Program Files…
user584002
- 11
- 1
- 2
0
votes
1 answer
Groovy performance on Linux machine
I have a problem when I start Groovy on one of my Linux machines - it takes about 30 seconds to execute very simple command:
groovy -e ""
if I run strace on it, here is what I see where it stops and waits:
mprotect(0x7fae284e0000, 4096, PROT_NONE)…
Roman Goyenko
- 153
- 7
0
votes
0 answers
STDOUT redirection to a file does not work if Groovy script run directly from command line (.groovy in PATHEXT)
I've updated the title, please see update below for the reason.
I have asked this question on Stackoverflow, but still didn't receive an answer.
Groovy: redirect stdout to a file does not work.
I've decided to ask here since I think it's may be not…
yuk
- 238
- 2
- 11
0
votes
1 answer
how do I install realvnc-vnc-server on Ubuntu linux Groovy?
Installing real-vnc-vncserver from deb file downloaded from Realvnc.com fails due to missing a dependency. This seems to be missing libgcc1 which is not available on Groovy (20.10)
There is a libgcc-s1. Is this the same thing and how do I tell the…
aardvark
- 1
0
votes
1 answer
How to fix sed command to work in groovy
I have the following code which works in gitlab (without the sh part):
sh '''
mkdir ./pylint
docker run --rm --entrypoint=/usr/local/bin/pylint ${IMAGE_NAME}:${IMAGE_VERSION} --rcfile=.pylintrc --exit-zero ${MODULE} >…
arielma
- 101
- 2
0
votes
0 answers
How to use groovy env. variable in Jenkins to pass through bat command in Jenkins pipeline
I want to concatenate the variable %dispatcher% = %region%COGAPP%env%:10000based on the Jenkins parameter selection. region is passed correctly but env is not. env has an additional loop so it returns a specific output (Example, if selected Dev in…
jgt05
- 13
- 1
- 5
0
votes
1 answer
Groovy SDK 2.5.7 on Win7 Pro w/Java JDK 8 update 211 - Groovy Console not launching
I installed the 64-bit Java SE 8 update 211 last week in preparation for installing Groovy. I attempted to install the Groovy 2.5.7 SDK earlier today. Initially, it recognized the 64-bit Java I previously installed then, displayed a message…