[
https://jira.jboss.org/browse/TEIID-1355?page=com.atlassian.jira.plugin.s...
]
Ramesh Reddy edited comment on TEIID-1355 at 11/11/10 12:22 PM:
----------------------------------------------------------------
I am not sure what you want us do here, escaping is OS dependent. Executing the single
statement is the behaviour of the Groovy shell. If you want you can add your script to a
file then execute
adminshell.bat load file.groovy
was (Author: rareddy):
I am not sure what you us do here, escaping is OS dependent. Executing the single
statement is the behaviour of the Groovy shell. If you want you can add your script to a
file then execute
adminshell.bat load file.groovy
adminshell.bat cannot read script from stdin
--------------------------------------------
Key: TEIID-1355
URL:
https://jira.jboss.org/browse/TEIID-1355
Project: Teiid
Issue Type: Bug
Components: Tools
Affects Versions: 7.1
Environment: windows
Reporter: Aleksandar Kostadinov
On windows adminshell doesn't read script if supplied on stdin. It looks like it is
reading from terminal (unlike adminshell on linux). I see that one can supply expression
as first argument to adminshell but it seems to accept only a single expression and
additionally complex expressions are a hell to escape properly.
Assuming adminshell is intended to be used for automating administrative tasks, it needs
a straightforward way to execute scripts non-interactively so current behavior on windows
needs to be fixed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira