[
https://jira.jboss.org/browse/TEIID-1355?page=com.atlassian.jira.plugin.s...
]
Ramesh Reddy commented on TEIID-1355:
-------------------------------------
Again, Groovy is NOT developed by JBoss nor Teiid. This is another community project.
Teiid uses as its shell environment because we feel that the features it provides is
sufficient *enough* for our uses. I still do not get what you are asking for. You can
execute
adminshell.bat print 'hello' --> to execute the the commands inline
or
adminshell.bat load test.txt
where the "test.txt" has the commands. The "load" command is
documented with Groovy, As per the instructions here they are documented
http://docs.jboss.org/teiid/7.2.0.Final/admin-guide/en-US/html_single/#d0... are these
not enough?
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.
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira