Bug 30145 - Sync/Copy task - add option to set property if something changed
Summary: Sync/Copy task - add option to set property if something changed
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
Depends on:
Reported: 2004-07-16 10:51 UTC by Tomasz Bech
Modified: 2008-02-22 12:18 UTC (History)
0 users


Note You need to log in before you can comment on or make changes to this bug.
Description Tomasz Bech 2004-07-16 10:51:32 UTC
There is often a need to do some post copy/sync operation when copy/sync task
did (copied) something. So one parameter with property to set in Sync/Copy task
would be very helpfull. It eliminates to add special uptodate before copy it
check manualy if something is to be done. In case of Sync I have no idea how to
write such detection. So puting this functionality inside Sync/Copy is the most
Comment 1 Alexey Solofnenko 2004-07-16 16:06:35 UTC
There was already a similar discussion on a list, but "on-update" property
proposal have a flaw - a previous build could execute <sync> and then fail
before the result is checked and the modification will be forgotten. Without bug
17973 (<final> task) that could persist the properties, "on-update" property
will not make a difference. On a side note I would rather have a property on a
target than on on a task, but I see when both could be useful.