ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zach Garner <zachgar...@gmail.com>
Subject Get task doesn't always respect skipExisting - Patch included
Date Wed, 17 Apr 2013 19:35:38 GMT
Hi everyone, I am trying to use the <get> task with skipExisting=true.
Because of my particular situation, I usually have the target file
downloaded but sometimes it is owned by root, and so it is not writeable.

The checkAttributes() method of Get.java fails the build if the destination
file is not writeable, even when skipExisting is true.

I've attached the small patch to fix it. Let me know if I can help get this
committed, if there's interest

Mime
View raw message