Error during executing few commands with pipes
----------------------------------------------

                 Key: KARAF-1382
                 URL: https://issues.apache.org/jira/browse/KARAF-1382
             Project: Karaf
          Issue Type: Bug
          Components: karaf-shell
    Affects Versions: 2.2.6
         Environment: W7 x64
            Reporter: Pavel Vasilchenko


I trying create karaf script for starting Cellar like this:
tesb:start-cluster = { features:install cellar | cluster:group-create $args | 
cluster:group-set $args} ;
But when I execute this command I get exception at command cluster:group-create 
because, if I right understand, Karaf invoke pipes as parallel commands.
Line 187 
http://svn.apache.org/viewvc/karaf/tags/karaf-2.2.6/shell/console/src/main/java/org/apache/felix/gogo/runtime/Closure.java?view=markup
And in this case Karaf tries to run command cluster:group-create before cellar 
is successfully installed.
How can I run cluster:group-create in Karaf after Cellar feature will be 
successfully installed?

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to