Bug 317582 - No resources created to represent build output files for non-primary outputTypes of target tools
Summary: No resources created to represent build output files for non-primary outputTy...
Status: NEW
Alias: None
Product: CDT
Classification: Tools
Component: cdt-build-managed (show other bugs)
Version: 7.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Jonah Graham CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-06-22 09:52 EDT by Matthew Fortune CLA
Modified: 2020-09-04 15:18 EDT (History)
1 user (show)

See Also:


Attachments
Search for outputs for all outputTypes for target tools (1.23 KB, patch)
2010-06-22 09:55 EDT, Matthew Fortune CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Matthew Fortune CLA 2010-06-22 09:52:45 EDT
Build Identifier: I20100312-1448

When a toolchain's target tool has multiple outputTypes defined only the file produced as the primary output type is found when calculating a build step's outputs.

The calculateOutputs function in BuildDescription only finds the primary output from a target tool and uses the artifact name+extension to locate the file. For non-target tools, all output types are taken in to account and all outputs are found.

Reproducible: Always

Steps to Reproduce:
1. Define a target tool that produces multiple outputs
2. Build a project
3. Only the primary output will appear in the resource tree
Comment 1 Matthew Fortune CLA 2010-06-22 09:55:48 EDT
Created attachment 172416 [details]
Search for outputs for all outputTypes for target tools

This fix allows the primary output of a target tool to continue being processed using the artifact name + extension as required but also allows other outputTypes for the target tool to be analysed to determine if the relevant output files have been created by the build step.

This allows a target tool to produce multiple outputs and for them all to appear in the resource tree.