Stephen McConnell wrote:
That's it?
Let's just fix it in Avalon.
Steve.
This isn't a "fix" in Avalon. The behavior was intentionally changed in Avalon about a year ago (to number repository instances) to allow you to have multiple file repositories in the same directory. James doesn't need that functionality and creates separate directories for each repository. It becomes a problem for James though because with the way James works, the renumbering causes messages to disappear between restarts.

It's not so much of a fix as a change someone made in Avalon without consulting anybody who used it, and for that exact reason I don't think it's wise to switch it back. So rather than again changing the behavior, if you were to fix this in Avalon, you would figure out a way to reliably calculate the numbers for these repositories. I don't know how you would do that, but that's really what you want... or recognize these file repositories are not appropriate across JVM instances (like maybe short-term caching).

This is just the trivial work-around for James to have the behavior of file repositories we want. What I'm working on is a file repository that doesn't number AND will read messages with a numbered repository name in the same directory. It's not really that hard... making an extension file name filter be a bit more relaxed in what it will return. Anyway, hope to have it soon... finally sorted out CVS w/ssh on this box.

--
Serge Knystautas
Loki Technologies
http://www.lokitech.com/


--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>



Reply via email to