I seem to be hitting the same problem. MSDN indicates that you should
not make any assumptions about the order of files returned under any
filesystem :-

http://msdn.microsoft.com/en-us/library/4cyf24ss.aspx

"If there are no files in the DirectoryInfo, this method returns an
empty array.
The order of the returned file names is not guaranteed; use the Sort()
()() method if a specific sort order is required."



On Dec 3, 6:47 pm, TomD <[email protected]> wrote:
> I think the problem is that I'm using a Linux based NAS Server to
> store our artifacts and build logs.
>
> On Windows filesystems, I believe the DirectoryInfo.GetFiles retrieves
> a sorted list, but does not on Linux based filesystem.
>
> I modified my copy of the source code to sort the filenames array 
> inLogFile::GetLogFileNames and that solves the problem for me.
>
> This should probably go into the source.
>
> On Dec 2, 7:05 pm, TomD <[email protected]> wrote:
>
>
>
> > Running CCNet 1.5.0.6237
>
> > The recent build list is not sorted properly by date.
>
> > When I click the link to get the most recent build report, it always
> > gives me the build report for the build listed at the top of the
> > recent build list. Unfortunately this list is not sorted at all. A
> > build from months ago appears at the top of the list. Whenever I want
> > to see the results from the last build, I have to click link to search
> > all builds, then search by date/time.- Hide quoted text -
>
> - Show quoted text -

Reply via email to