jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Jackrabbit Wiki] Update of "HowtoSpi2Dav" by ScottCytacki
Date Tue, 27 May 2008 16:53:53 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Jackrabbit Wiki" for change notification.

The following page has been changed by ScottCytacki:
http://wiki.apache.org/jackrabbit/HowtoSpi2Dav

------------------------------------------------------------------------------
  }}}
  
  == Get jcr-server running ==
+ 
+ === Instructions ===
  To use spi2dav you need to have the [http://jackrabbit.apache.org/jackrabbit-jcr-server.html
"jcr server component"] running.
   * Add the jcr-1.0.jar to your servlet containers global library folder. For example: cp
~/.m2/repository/javax/jcr/jcr/1.0/jcr-1.0.jar lib/ext/
   * Download the jcr-server war
@@ -30, +32 @@

        <param-value></param-value>
      </init-param>
  }}}
+ 
+ === Automated Script ===
+ This is a bash script for installing it into jetty.  If you want to use it for tomcat you
should change the {{{lib/ext}}} to {{{common/endorsed}}}
+ Here is what it does:
+  * download the jcr-1.0.jar from ibiblio maven repo into the lib/ext folder 
+  * download the latest jackrabbit-webapp war
+  * unzip this war into a jackrabbit-1.5 inside of webapps
+  * run a xslt file over the web.xml file of the jackrabbit-webapp to set the {{{missing-auth-mapping}}}
init-param
+ {{{
+ # start in the toplevel jetty folder
+ curl http://mirrors.ibiblio.org/pub/mirrors/maven2/javax/jcr/jcr/1.0/jcr-1.0.jar > lib/ext/jcr-1.0.jar
+ curl -O  http://people.apache.org/maven-snapshot-repository/org/apache/jackrabbit/jackrabbit-webapp/1.5-SNAPSHOT/jackrabbit-webapp-1.5-SNAPSHOT.war
+ mkdir webapps/jackrabbit-1.5
+ cd webapps/jackrabbit-1.5
+ unzip ../../jackrabbit-webapp-1.5-SNAPSHOT.war
+ curl http://wiki.apache.org/jackrabbit-data/attachments/HowtoSpi2Dav/attachments/dav-fixer.xslt
| xsltproc - WEB-INF/web.xml > fixed-web.xml
+ mv fixed-web.xml WEB-INF/web.xml
+ }}}
+ 
  
  == Access the remote server from a client ==
  

Mime
View raw message