Bug 60292 - Include task doesn't rewrite RunTarget or AntCall targets
Summary: Include task doesn't rewrite RunTarget or AntCall targets
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-21 14:48 UTC by Robert Flaherty
Modified: 2016-10-22 14:11 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Robert Flaherty 2016-10-21 14:48:50 UTC
Because this task only rewrites the target names and their occurrence in "depends", it violates the documentation of "This makes the included file self-contained."
Comment 1 Stefan Bodewig 2016-10-22 14:11:02 UTC
I'm afraid we need to update the documentation in that case. It might be possible to rewrite the target in <antcall> but things will become a whole lot more complex for <ant> or <subant>. And things don't stop there, there may be lots of other tasks that use targets as attributes - ant-contrib's <antcallback> or <runtarget> tasks, for example - and we can't promise to make the file self-contained in light of tasks we don't know.