Bug 32827 - Request for option to fail when filter tokens undefined
Summary: Request for option to fail when filter tokens undefined
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.6.1
Hardware: All All
: P3 enhancement (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-23 11:08 UTC by James Elson
Modified: 2008-02-22 12:18 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description James Elson 2004-12-23 11:08:29 UTC
Would it be possible to add a feature to the various tasks that use filtering to
fail when a token is recognised in the file being copied, but there is no value
defined for that token. e.g. a "failOnUndefToken='true'" attribute). The present
behaviour of passing the token through unmodified may be good in many
situations, but we've found it all too common for someone to add a new token to
the file but then people building the code forget to add the token to their
filtersfile - it would be good for this to fail at build time rather than runtime.