SchemaExport (and other tools) return java code '0' on failure

Description

When any of the tools encounters a problem, the process returns a '0' instead of the more traditional non-zero return code for a failed process.

This makes it difficult to figure out if the process failed, as both success and failure will return the same code.

There are errors logged, so the simple inclusion of a System.exit(-1) does the trick.

Environment

2.1.5 (does not appear to be changed in current CVS)

Assignee

Unassigned

Reporter

Tim McNerney

Labels

None

Feedback Requested

None

Feedback Requested By

None

backPortable

None

Suitable for new contributors

None

Pull Request

None

backportDecision

None

backportReEvaluate

None

Time tracking

1h

Components

Affects versions

Priority

Minor
Configure