dear list,
i was looking for a possibility to use u*ix command in an easier way in
groovysh.
thereby, i came across groosh and put its jar (version 0.3.5) in .groovy/lib
i tried a simple example from the groosh site but it did not work
groovy:000> import groosh.Groosh
===> [import groosh.Groosh]
groovy:000> import static groosh.Groosh.groosh
===> [import groosh.Groosh, import static groosh.Groosh.groosh]
groovy:000> import static org.codehaus.groovy.groosh.stream.DevNull.devnull
===> [import groosh.Groosh, import static groosh.Groosh.groosh, import
static org.codehaus.groovy.groosh.stream.DevNull.devnull]
groovy:000> ls() >> stdout
ERROR
groovy.lang.MissingMethodException: No signature of method:
groovysh_evaluate.ls() is applicable for argument types: () values: []
at groovysh_evaluate.run (groovysh_evaluate:5)
...
groovy:000> Groosh.withGroosh(this)
===> null
groovy:000> ls() >> stdout
ERROR
groovy.lang.MissingMethodException: No signature of method:
groovysh_evaluate.ls() is applicable for argument types: () values: []
at groovysh_evaluate.run (groovysh_evaluate:5)
...
groovy:000> ls() >> stdout
ERROR
groovy.lang.MissingMethodException: No signature of method:
groovysh_evaluate.ls() is applicable for argument types: () values: []
at groovysh_evaluate.run (groovysh_evaluate:5)
...
hence, i wanted to ask if one of you could tell me what i am doing wrong
with groosh or if there are other possibilities to get an
'groovy-enabled u*nix shell'?
cheers,
andreas
---------------------------------------------------------------------
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email