[
https://issues.jboss.org/browse/TEIID-3213?page=com.atlassian.jira.plugin...
]
Steven Hawkins commented on TEIID-3213:
---------------------------------------
With the updated groovy the removed support for load.
http://groovy.codehaus.org/Groovy+Shell
.
:l
:load
can be used instead. I'm not sure why the change or if it would be easy for us to put
in an alias. If not we'll just make sure any examples are updated.
Getting error when running adminshell load {script}
---------------------------------------------------
Key: TEIID-3213
URL:
https://issues.jboss.org/browse/TEIID-3213
Project: Teiid
Issue Type: Bug
Components: Tools
Affects Versions: 8.10
Reporter: Van Halbert
Assignee: Steven Hawkins
Running the 8.10 beta adminshell and getting the following error when running one of the
examples:
./adminshell.sh load ./examples/PrintAllVDBAndDatasources.groovy
===> static org.teiid.adminshell.AdminShell.*
===> static org.teiid.adminshell.AdminShell.*, static
org.teiid.adminshell.GroovySqlExtensions.*
===> static org.teiid.adminshell.AdminShell.*, static
org.teiid.adminshell.GroovySqlExtensions.*, org.teiid.adminapi.*
FATAL: groovy.lang.MissingPropertyException: No such property: load for class:
groovysh_evaluate
groovy.lang.MissingPropertyException: No such property: load for class:
groovysh_evaluate
at
org.codehaus.groovy.runtime.ScriptBytecodeAdapter.unwrap(ScriptBytecodeAdapter.java:50)
at
org.codehaus.groovy.runtime.callsite.PogoGetPropertySite.getProperty(PogoGetPropertySite.java:49)
at
org.codehaus.groovy.runtime.callsite.AbstractCallSite.callGroovyObjectGetProperty(AbstractCallSite.java:231)
at groovysh_evaluate.run(groovysh_evaluate:3)
at groovysh_evaluate$run.call(Unknown Source)
--
This message was sent by Atlassian JIRA
(v6.3.8#6338)