-
Enhancement
-
Resolution: Unresolved
-
Major
-
None
-
1.3.0.Beta7
when org.jberet.se.Main failed to start a job due to missing applicatino args, the exit status should be non-zero to indicate the failure.
This is how it currently shows:
/Users/cfang/dev/jsr352/jberet-se > java -cp "$HOME/jberet/lib/*:target/test-classes/" org.jberet.se.Main
Mar 19, 2018 9:49:23 AM org.jberet.se.Main usage
ERROR: JBERET050501: Usage:
java -classpath ... [other java options] org.jberet.se.Main jobXMLName [jobParameter1=value1 jobParameter2=value2 ...]
The following application args are invalid: []
/Users/cfang/dev/jsr352/jberet-se > echo $?
0