Gandhirajan Natarajan wrote:
We are trying to create a repository in jackrabbit and to add some
workspace and documents in it.
Could you please provide us with some sample codes to achieve the same?
there's a JSP in jackrabbit-webapp that populates the workspace with documents
downloaded from the internet [1].
Simply download the WAR file [2], deploy it into tomcat and don't forget to also
put the jcr-1.0.jar [3] into tomcats shared classpath (shared/lib).
regards
marcel
[1]
https://svn.apache.org/repos/asf/jackrabbit/tags/1.4/jackrabbit-webapp/src/main/webapp/populate.jsp
[2]
http://www.apache.org/dyn/closer.cgi/jackrabbit/binaries/jackrabbit-webapp-1.4.war
[3] http://www.day.com/maven/javax.jcr/jars/jcr-1.0.jar