ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 47821] Touch task doesn't work on Solaris for a file which you do not own
Date Mon, 14 Sep 2009 10:05:47 GMT

Stefan Bodewig <> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #1 from Stefan Bodewig <> 2009-09-14 03:05:45 PDT ---
As you've found yourself, Ant is using the Java API and not the native Unix
touch command.  Inside the Java API there is no alternative to

Honestly I have no idea how that method is implemented inside the Java class
library.  It may be smart enough to recognize the current timestamp and then
invoke a different system call than it uses when asked for a different
timestamp, but I doubt it.

Anyway, if the Java class lib isn't doing the "correct" thing for you here,
there isn't anything we can do from the Ant side.

I'd recommend you use the exec task and explicitly invoke the touch command for
your case.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

View raw message