Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 314393 - xdc.tools.product.plugingen does not properly handle errors
Summary: xdc.tools.product.plugingen does not properly handle errors
Status: ASSIGNED
Alias: None
Product: RTSC
Classification: Technology
Component: Tools (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: David Friedland CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-26 01:01 EDT by Dave Russo CLA
Modified: 2011-11-24 12:59 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Russo CLA 2010-05-26 01:01:04 EDT
If plugingen fails, the exit status of xs is zero (rather than non-zero).  As a result, errors are not easily detectable in makefiles where this command is almost always used.

Like _all_ other ICmd commands, plugingen should use cmdr.error() to flag errors.
Comment 1 Dave Russo CLA 2010-05-26 01:04:44 EDT
see also:
    295746  need test for proper exit status for all command line tools
    289229  When xs xdc.tools.repoman fails it should exit with non-zero exit
            status