[overlord-issues] [JBoss JIRA] (SRAMP-216) CLI should fail on command error when in batch mode

Eric Wittmann (JIRA) jira-events at lists.jboss.org
Tue Aug 13 16:32:26 EDT 2013


     [ https://issues.jboss.org/browse/SRAMP-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Eric Wittmann resolved SRAMP-216.
---------------------------------

    Resolution: Done


Commands now return a boolean from "execute".  The command runner bails with a System.exit(1) if a command return false *and* the runner is in batch mode.
                
> CLI should fail on command error when in batch mode
> ---------------------------------------------------
>
>                 Key: SRAMP-216
>                 URL: https://issues.jboss.org/browse/SRAMP-216
>             Project: S-RAMP
>          Issue Type: Enhancement
>      Security Level: Public(Everyone can see) 
>          Components: Client
>    Affects Versions: 0.3.0 - JBPM6 Integration
>            Reporter: Eric Wittmann
>            Assignee: Eric Wittmann
>             Fix For: 0.3.1 - jBPM - bugfix 1
>
>
> The S-RAMP CLI should fail with an appropriate command-line error code if a command in the list fails.  This should only happen when running in batch mode.  In interactive mode it should just print out the error message and return to the prompt.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the overlord-issues mailing list