Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 314393

Summary: xdc.tools.product.plugingen does not properly handle errors
Product: [Technology] RTSC Reporter: Dave Russo <d-russo>
Component: ToolsAssignee: David Friedland <dfriedland>
Status: ASSIGNED --- QA Contact:
Severity: major    
Priority: P3 CC: dfriedland
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

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