I have identified a problem with the above. Basically, after a while the system starts overwriting the generation 000000 file regardless of how old any other file is. The problem is the code assumes that the oldest file is always 000000 (int oldest = 0) irrepsective of which generation is first returned. In my case, '000005' is returned which is the oldest file. So while the time in the code is set to the oldest time the actual generation is not! The below diff fixes the problem.
diff -r1.9 RevolvingFileStrategy.java 149c149 < int oldest = 0; --- > int oldest = rotations[ 0 ]; David Gray **************************************************************** NOTICE - This message is intended only for the use of the addressee named above and may contain privileged and confidential information. If you are not the intended recipient of this message you are hereby notified that you must not disseminate, copy or take any action based upon it. If you received this message in error please notify HIC immediately. Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of HIC. **************************************************************** -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
