Bug 23785 - [patch] Having <uptodate> execute a nested <sequential> if the target is out of date
Summary: [patch] Having <uptodate> execute a nested <sequential> if the target is out ...
Status: NEW
Alias: None
Product: Ant
Classification: Unclassified
Component: Core tasks (show other bugs)
Version: 1.7.0
Hardware: All All
: P3 enhancement with 1 vote (vote)
Target Milestone: ---
Assignee: Ant Notifications List
URL:
Keywords: PatchAvailable
Depends on:
Blocks:
 
Reported: 2003-10-13 16:05 UTC by Paul Mclachlan
Modified: 2009-07-31 03:42 UTC (History)
0 users



Attachments
uptodate suggested patch (3.05 KB, patch)
2003-10-13 16:06 UTC, Paul Mclachlan
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Paul Mclachlan 2003-10-13 16:05:29 UTC
Basically, I've added the capability for <uptodate> to have a nested
<sequential> task that only gets executed if the targets are out of date.  At
present I have to create a whole other <target> to do the dependency check so
that the primary target and have an unless="blah.uptodate".

This would make my ant script have fewer 'unnecessary' targets & seems like a
good idea.  (To me, anyway).

Apprently ant-contrib has this already.
Comment 1 Paul Mclachlan 2003-10-13 16:06:29 UTC
Created attachment 8558 [details]
uptodate suggested patch
Comment 2 Dominique Devienne 2003-10-13 16:07:30 UTC
Yes, Ant-Contrib has <outofdate>, and it works great for me. --DD