Questions tagged [groovy]

a dynamic language for the Java Virtual Machine

3
votes
2answers
2k views

Jenkins list user ids using script console

I want to list all users in jenkins, via the console script that jenkins has. So far i managed to list all the users using this: import hudson.model.User User.getAll().each { user -> ...
4
votes
2answers
6k views

How do I install Groovy 2.5 on Ubuntu 16.04?

sudo apt-get install groovy provides me with: groovy -v Groovy Version: 1.8.6 JVM: 1.8.0_131 Vendor: Oracle Corporation OS: Linux However, this version of Groovy is very old. How do I get the ...
0
votes
1answer
157 views

libdbus-java - CreateInterface fails with [Fatal Error] introspect.dtd:1:3:

I am looking to write some utility script with groovy that make use of dbus. According to the documentation on CreateInterface the following command should generate a java source file for the ...
2
votes
2answers
7k views

How can I prevent the output of ps -ef to be cut off? [duplicate]

I have to check numbers of scripts currently executing in Linux based on which I have to decide whether to run the script again or not. The issue is that the classpath is too long so while executing ...
2
votes
2answers
480 views

Couldn't google apt-get update 404 error for groovy

I got a warning W Failed to fetch http://ppa.launchpad.net/groovy-dev/groovy/ubuntu/dists/trusty/main/binary-amd64/Packages What is wrong with my /etc/apt/sources.list ? # See http://help.ubuntu....
0
votes
1answer
602 views

How to call gmaven plugin from maven release:perform

I am working on a requirement to run groovy script when release:perform is executed. For this i had defined 2 plugins in pom.xml, please refer below for plugin definitions. ..... <plugin> ...
1
vote
0answers
397 views

Apport is not creating .crash file for java crashes

I am having issues on production server, It is groovy/grails application and I am using quartz to run many crons. There is one cron which is when enabled crashes the JVM. I have no idea why. I can't ...
0
votes
1answer
186 views

ppa: Grails installation error [duplicate]

I have tried installing Grails using: sudo add-apt-repository ppa:groovy-dev/grails sudo apt-get update sudo apt-get install grails-ppa The first command returns without errors: $ sudo add-apt-...
15
votes
2answers
29k views

How Do I Install Groovy?

When I try to run this : sudo apt-get install groovy I get this big error : Setting up oracle-java7-installer (7u3-0~eugenesan~precise4) ... Downloading... --2012-04-28 18:43:39-- http://...
1
vote
1answer
2k views

Where will be my Grails default installation location?

I installed Grails using this command : sudo apt-get install grails-2.0 It installs and it works fine. Now where I can find my installation files? Since I'm newbie to Ubuntu I couldn't able to ...
0
votes
1answer
95 views

How to do i put all my files where the paste function have been disabled?

I'm new to Ubuntu and I need to install Groovy graphics builder. I downloaded from here. The site says to do two things : Drop all jar files into $GROOVY_HOME/lib Drop the scripts into $GROOVY_HOME/...
1
vote
1answer
2k views

How to install Groovy in Ubuntu? [duplicate]

Possible Duplicate: How to install Groovy? I need to install Groovy 1.8.2 in my Ubuntu 10.04. Here is the site download link. There are two options available binary download and source download. ...
0
votes
1answer
345 views

Locating Groovy installed via STS

I have installed the groovy plugin for eclipse as part of the Springsource Tool Suite Groovy and Grails support. This works well. I now want to set my GROOVY_HOME environment variable so I can use ...
8
votes
4answers
8k views

How to install the latest version of Groovy?

I have already installed Groovy in my Ubuntu 10.10 desktop version. Now the language have been released its latest version of Groovy 1.8. When I try to install using the same command that have been ...
4
votes
4answers
5k views

How to enable the Code/Syntax highlighting for groovy in VI?

i was using Fedora for about six months. Recently I have been changed to Ubuntu. And here in Ubuntu, there is no Code/Syntax for groovy in VI editor, which was actually there in Fedora VI. How to ...
11
votes
2answers
9k views

How do I install Groovy in Ubuntu?

I don't know how to install files to Ubuntu. Kindly explain to me how to install Groovy.