jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Guggisberg <stefan.guggisb...@gmail.com>
Subject Re: Config file in http://incubator.apache.org/jackrabbit/firststeps.html wrong?
Date Sat, 13 Nov 2004 11:31:29 GMT
hi oliver,
you're right. the example in 'firststeps' is outdated and 
will be fixed asap. thanks for reporting it.

you can find a working repository.xml example in src/conf.

cheers
stefan

On Fri, 12 Nov 2004 23:27:31 +0100, Oliver Zeigermann
<oliver.zeigermann@gmail.com> wrote:
> Folks,
> 
> the config file in
> 
> http://incubator.apache.org/jackrabbit/firststeps.html
> 
> seems to be wrong as lines 131-135 either expect no SearchIndex
> element at all or a complete one including a file system. Uncommenting
> it out, seems to work, though:
> 
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <Repository>
>    <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>        <param name="path" value="${rep.home}/repository"/>
>    </FileSystem>
>    <Workspaces rootPath="${rep.home}/workspaces" defaultWorkspace="default" />
>    <Workspace name="${wsp.name}">
>        <FileSystem class="org.apache.jackrabbit.core.fs.local.LocalFileSystem">
>            <param name="path" value="${wsp.home}"/>
>        </FileSystem>
>        <PersistenceManager
> class="org.apache.jackrabbit.core.state.xml.XMLPersistenceManager" />
>        <!--SearchIndex path="/index"/-->
>    </Workspace>
> </Repository>
> 
> Or am I doing anything wrong?
> 
> Oliver
>

Mime
View raw message