Hi Richard,
I'm not sure what you're trying to achieve with the subversion servlet.
Are you trying to avoid using Apache with Subversion?
I'd be interested to know if reviki works well with Jetty. So far I've
only tested it with Tomcat - I wouldn't expect any difficulty though.
Cheers,
Matt.
Interesting. I just successfully checked it out
mth@newt:~/tmp$ svn co http://svn.reviki.org/svn/reviki
A reviki/trunk
A reviki/trunk/NOTICE
A reviki/trunk/plugins
...
I was playing with the apache configuration yesterday, is it possible
you were unlucky enough to try then?
If you're still having trouble I'll try to get to the bottom of it. Can
you view http://svn.reviki.org/svn/reviki/trunk/ in a web browser?
Matt.
I suspect there would be a lot of work involved to avoid using apache
for very little gain. svnkit is really a Java implementation the client
side of Subversion. It can do client access by file, svn+ssh and
http(s) protocols, each one a different implementation. I suppose you
would have to implement the server side of the http(s)/WebDAV protocol
by using the svnkit file implementation to access the repository that
would be local to you on the server side. Not a trivial task.
There was a similar question on the svnkit mailing list a while back
with a response I agree with. Unfortunately this is the best link I can
find - read from the bottom up!
http://article.gmane.org/gmane.comp.version-control.subversion.javasvn.user/2290
> Jetty works great with reviki, until I try to start it from a rc.d
> link. Then it stops being able to find the reviki-data directory. I am
> thinking of changing your code to put the reviki-data directory in
> the .war itself to get past this problem. I spent yesterday morning
> and evening trying to figure out what was different in the environment
> when my jetty start-up script was executed from a shell and when my
> machine was init 6'd.
>
By default the reviki-data is created in the home directory of the user
running the reviki. Usually when you use an init script the service
will be started as a specific user (e.g. a 'jetty' user).
I can't imagine the reviki-data directory working in a war - direct file
access is needed by the search engine which stores its index there.
You can override the location of the data directory if necessary by
passing a ServletContext init-parameter "reviki-data-dir". The
mechanism for doing this is specific to the web container used. I've
documented the tomcat method here
http://reviki.org/wiki/TomcatContextXmlConfiguration
Hope this helps,
Matt.