You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by sir�ne vip <si...@hotmail.com> on 2006/01/14 20:27:53 UTC

[beginner]file structure

hello,

Back to Second Hop, once more :-)
After executing the example, although the output is correct as indicated on 
the website, the content of the folders, generated by the repository.xml 
file, is still empty.

Shouldn't I have the new created nodes ("testnode") saved somehwere in one 
of the subfolders of repository folder?

Regards,
CC

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today it's FREE! 
http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/


Re: [beginner]file structure

Posted by Jukka Zitting <ju...@gmail.com>.
Hi,

On 1/14/06, sirène vip <si...@hotmail.com> wrote:
> Back to Second Hop, once more :-)
> After executing the example, although the output is correct as indicated on
> the website, the content of the folders, generated by the repository.xml
> file, is still empty.
>
> Shouldn't I have the new created nodes ("testnode") saved somehwere in one
> of the subfolders of repository folder?

How and where the created nodes are actually stored is determined by
the persistence manager and file system settings in the repository
configuration. The example configuration file on the First Hops page
uses the LocalFileSystem and XMLPersistenceManager components, which
taken together will store the node contents as XML files within the
"data" subdirectory of the workspace directory. You may have missed
the node files as they are named ".node.xml" and are thus hidden by
default in normal directory listings.

BR,

Jukka Zitting

--
Yukatan - http://yukatan.fi/ - info@yukatan.fi
Software craftmanship, JCR consulting, and Java development