Page 1 of 1

Touching directory date/time

Posted: Thu Mar 02, 2006 9:45 pm
by aiken
Hi -- I'm not sure if this is an Oxygen issue, or a Java issue, or what. But one way or another, when files are saved from within Oxygen, the last modified date/time on the containing diretory isn't updated. Saving the same files from dreamweaver, notepad, etc, works as expected, so it's not like something up with this machine.

Any chance of getting that updated? Our app uses that date/time to determine when its cache of xslt templates needs to be refreshed.

Thanks
-b

Posted: Fri Mar 03, 2006 9:53 am
by Radu
Hi Aiken,

The last modified date of the directory is changed when files are added or removed to that certain directory. This is an operating system feature so it also happens when you save a file from Oxygen to that particular directory (and the file was not there before).
But the modification time does not change for the directory if you only modify a file already added to it and then save (I tested and notepad does not do that).
So looking at the modification date for a directory is not a good idea if you want to check whether files have been modified in it.

Regards, Radu