Bug 398844 - Missing include/exclude file should cause task to fail
Summary: Missing include/exclude file should cause task to fail
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: API Tools (show other bugs)
Version: 4.2.1   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: 4.3 M5   Edit
Assignee: Curtis Windatt CLA
QA Contact:
URL:
Whiteboard:
Keywords: noteworthy
Depends on:
Blocks:
 
Reported: 2013-01-22 16:17 EST by Curtis Windatt CLA
Modified: 2013-01-28 16:46 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 Curtis Windatt CLA 2013-01-22 16:17:38 EST
1) Create an ant file that runs the analysis task
2) Use the include or exclude attribute to point somewhere that doesn't exist
3) Run the task
Result
Task runs successfully
Debug output lists 0 include/exclude matches

If I specify an include file that doesn't exist, the ant task should fail with explanation.
Comment 1 Curtis Windatt CLA 2013-01-22 17:27:35 EST
Fixed in master
http://git.eclipse.org/c/pde/eclipse.pde.ui.git/commit/?id=d27848be3abb2b602c36022a2b3878e143e6fe0f

Since the util method that opens the file is accessed through the CommonUtilsTask, fixing it in one place will correct it for all the tasks.