https://issues.apache.org/bugzilla/show_bug.cgi?id=47821
Stefan Bodewig <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |WONTFIX --- Comment #1 from Stefan Bodewig <[email protected]> 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 File.setLoastModified(long). 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: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug.
