It's all about the answers!

Ask a question

JBE reports an exit code of 1 but doesn't actually seem to return that


Spencer Murata (2.3k115870) | asked Jan 21 '13, 3:52 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
 I have a script that is executing the JBE, and JBE is reporting an error and a return code of 1, but the script does not pick up on a exit code of 1, rather is appears to return a 0.  What is happening here?

Accepted answer


permanent link
Spencer Murata (2.3k115870) | answered Jan 21 '13, 3:57 p.m.
FORUM MODERATOR / JAZZ DEVELOPER
 This is a defect that has been entered as:

The problem is JBE is built on Eclipse, and if Eclipse exits with a non-zero exit code, Eclipse will dump lots of diagnostic data, and it would clutter the log unnecessarily.  Making JBE always return a zero exit code makes it so the diagnostic data is withheld.  The defect will deal with making this exit code determination more sophisticated.

~Spencer
Spencer Murata selected this answer as the correct answer

Your answer


Register or to post your answer.