Java Mailing List Archive

http://www.gg3721.com/

Home » user.groovy »

[groovy-user] Probably a simple question

gmurph03

2010-03-16

Replies: Find Java Web Hosting

Author LoginPost Reply

Basically I'm writing Groovy programs in IntelliJ, but when I navigate to the
Groovy source files in the output folder and run them, they run, then exit
almost straight away.

Even when I use while loops such as the classic

boolean running = true
while(true){
}

Or Input prompts such as

def s = new Scanner(system.in).nextLine()

which should both keep the files open at the very least, the programs exit
almost immediately. The frustrating thing is that in IntelliJ they function
perfectly, yet the actual source files are exiting almost immediately after
running them.
--
Sent from the groovy - user mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email


©2008 gg3721.com - Jax Systems, LLC, U.S.A.