alanl
2014-05-31 17:56:59 UTC
I've been trying to get a co-worker's linux build scripts for set of large
grails apps to work in windows (via cygwin). He uses a lot of 'here
documents' but I can reduce my problem down to a simple question - how, in
windows or cygwin, do I get grails to accept a series of commands from stdin
-- i.e. 'grails < cmds'. Every time I try this grails simply opens with the
'grails>' interactive prompt.
I have tried all variations of -Djline=jline.(Windows Linux
Unsupported)Terminal with -non-interactive and cygwin and cmd (Windows 7
64 bit, grails 2.3.5 by the way) but in all it seems to ignore the
redirection of stdin. I've even tried the variation 'cat cmds | grails
..... '
I've looked through the jiras but haven't found anything definitive. There
were some comments about moving to different windows consoles (e.g. conemu)
but that didn't solve anything for me.
Moving off windows is not an option :(
Anyone seen/solved this problem before or have any insights ? - Getting a
bit grey over this ..
Tnx
Alanl
--
View this message in context: http://grails.1312388.n4.nabble.com/Scripting-grails-stdin-in-windows-tp4657052.html
Sent from the Grails - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email
grails apps to work in windows (via cygwin). He uses a lot of 'here
documents' but I can reduce my problem down to a simple question - how, in
windows or cygwin, do I get grails to accept a series of commands from stdin
-- i.e. 'grails < cmds'. Every time I try this grails simply opens with the
'grails>' interactive prompt.
I have tried all variations of -Djline=jline.(Windows Linux
Unsupported)Terminal with -non-interactive and cygwin and cmd (Windows 7
64 bit, grails 2.3.5 by the way) but in all it seems to ignore the
redirection of stdin. I've even tried the variation 'cat cmds | grails
..... '
I've looked through the jiras but haven't found anything definitive. There
were some comments about moving to different windows consoles (e.g. conemu)
but that didn't solve anything for me.
Moving off windows is not an option :(
Anyone seen/solved this problem before or have any insights ? - Getting a
bit grey over this ..
Tnx
Alanl
--
View this message in context: http://grails.1312388.n4.nabble.com/Scripting-grails-stdin-in-windows-tp4657052.html
Sent from the Grails - user mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email