elCapitano
elCapitano

Reputation: 1841

No console output available on linux when executing grails/groovy

When a groovy script or a grails app is executed, there is no output/input available -> just a clear console screen. Even without starting the X-Window-System, the output is not visible.

I tried also:

How can the output made visible?

Thank you

Upvotes: 0

Views: 2168

Answers (1)

V H
V H

Reputation: 8587

What version of grails?

env|grep JAVA_HOME
JAVA_HOME=/usr/lib/jvm/java-6-openjdk-amd64/

env|grep GRAILS
GRAILS_HOME=/home/vahid/ggts-bundle/grails-2.3.7/

which grails
grails is aliased to `/home/vahid/ggts-bundle/grails-2.3.7/bin/grails'

alias|grep grails
alias grails='/home/vahid/ggts-bundle/grails-2.3.7/bin/grails'

Do you see anything actually being done, or is it after completion that it does not show up?

grails refresh-dependencies --plain-output 2>&1 > /tmp/vh.txt

The above redirected all output to /tmp/vh.txt

cat /tmp/vh.txt 
|Loading Grails 2.3.7
|Configuring classpath
.
|Environment set to development
....
|Dependencies refreshed.

Upvotes: 3

Related Questions