[teiid-issues] [JBoss JIRA] (TEIID-3213) Getting error when running adminshell load {script}

Steven Hawkins (JIRA) issues at jboss.org
Wed Nov 12 18:22:29 EST 2014


    [ https://issues.jboss.org/browse/TEIID-3213?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13019582#comment-13019582 ] 

Steven Hawkins edited comment on TEIID-3213 at 11/12/14 6:22 PM:
-----------------------------------------------------------------

With the updated groovy they removed support for just 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.


was (Author: shawkins):
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)


More information about the teiid-issues mailing list