-
1. Re: Ant warning: file modified in the future
darranl Feb 26, 2005 1:30 PM (in response to beeby)Have you looked at the modified times of your files?
Are you using just one machine or have the files been modified on one machine and copied to another?
Has the clock been changed on your computer? Are you sure that the clock is working correctly? -
2. Re: Ant warning: file modified in the future
beeby Feb 26, 2005 1:49 PM (in response to beeby)Hi, thanks for replying.
I'm on one computer.
How do I find the modified time of my files?
One other thing, on my antu-virus software it says it was last run on 26 MARCH 2005 i.e. one month out. But its been one month out for a long time even though my computer's time and date is correct (unless there is another time and date on the computer apart from the visible one) .
Haven't changed anything else on my computer since last used. -
3. Re: Ant warning: file modified in the future
beeby Feb 26, 2005 5:29 PM (in response to beeby)It turns out my wife has been on my computer (gggrrrrrr) and I think the date was set to 26th March instead of 26th February. So even when I modify the JSP files it has no effect because ant is not running them. I created a new directory (with all the same file and sub-directory) names hoping that would fix it but it hasn't.
I don't want to wait until the 26th March before I can run my files again! And I don't fancy changing all my file names, is there a simpler alternative? -
4. Re: Ant warning: file modified in the future
darranl Feb 28, 2005 5:06 AM (in response to beeby)If you have a look at the ant documentation there is a task called 'touch', this can be used to update the modified time of all files specified by a fileset.
This could be used to specify a new modified time for all of your affected files.