Just checked 0.5.5 in. The shutdown() method works as advertised -- thanks!
Also scrubbed the schema directory from the trunk, so the licensing question is all gone now. One thing I've noticed in recent Priha builds is that it checks for a lockfile to ensure exclusive use. That is a good idea, but it's meant I had to hunt down and kill a few stray WikiEngine references in unit tests that didn't call WikiEngine.shutdown(). Easily done once I knew what to look for. Andrew On Sun, Oct 25, 2009 at 3:39 PM, Janne Jalkanen <[email protected]> wrote: > > On Oct 25, 2009, at 18:40 , Andrew Jaquith wrote: > >> Hey Janne, >> >> Somewhere in the recent set of changes to Priha, we lost the ability >> to restart the repository. The ShutdownThread in RepositoryImpl seems >> to be the only way to restart the providers (and by extension the >> FileProvider). That breaks the "instant install" feature and >> necessitates a container restart. >> >> Any plans to provide a way to restart or re-init Priha? A shutdown() >> method in RepositoryImpl would do nicely... :) We could all this from >> inside ContentManager.shutdown(). >> >> I not fond of special-casing this kind of stuff, but still... > > Well, Jackrabbit offers this method as well for some repository types. It > can create a lot of problems in case the repository is shared across > multiple instances. However, in this case it makes sense... > > SVN trunk now has the shutdown() method. > > /Janne >
