Bug 23785

Summary: [patch] Having <uptodate> execute a nested <sequential> if the target is out of date
Product: Ant Reporter: Paul Mclachlan <pdmclach1>
Component: Core tasksAssignee: Ant Notifications List <notifications>
Status: NEW ---    
Severity: enhancement Keywords: PatchAvailable
Priority: P3    
Version: 1.7.0   
Target Milestone: ---   
Hardware: All   
OS: All   
Attachments: uptodate suggested patch

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