You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jackrabbit.apache.org by Hervé Agnoux <he...@diaam-informatique.com> on 2008/10/06 07:47:26 UTC
Create a Repository without file system
Hi
For testing purpose, I should want create a repository without file system. I
don't want xml config file, or jcr directory, or other. I have only memory.
There is a InMemPersistenceManager... but I don't understand how launch it in
a repository, and without a xml file config.
Thanks for your help.
Re: Create a Repository without file system
Posted by Will Glass-Husain <wg...@gmail.com>.
I'm using repository.xml lodaed from my classpath. Then it can be
distributed in your jar file. Would that help?
WILL
On Tue, Oct 7, 2008 at 8:39 AM, Connor, Brett (LNG-TWY) <
Brett.Connor@lexisnexis.co.uk> wrote:
> I'm sure (ish) that I've got test cases not using repository.xml - I think
> using RepositoryConfig.create(InputStream) with an InputStream created from
> a string. Does that help you?
>
>
> -----Original Message-----
> From: Alexander Klimetschek [mailto:aklimets@day.com]
> Sent: 07 October 2008 16:19
> To: users@jackrabbit.apache.org
> Subject: Re: Create a Repository without file system
>
> With the current stable Jackrabbit (1.4.5/6) the repository.xml is
> required. In the trunk, we are working on a pure Java-based configuration,
> please see
> http://issues.apache.org/jira/browse/JCR-1412 and
> http://issues.apache.org/jira/browse/JCR-1438
>
> Regards,
> Alex
>
> On Mon, Oct 6, 2008 at 6:47 AM, Hervé Agnoux <
> herve.agnoux@diaam-informatique.com> wrote:
> > Hi
> >
> > For testing purpose, I should want create a repository without file
> > system. I don't want xml config file, or jcr directory, or other. I have
> only memory.
> >
> > There is a InMemPersistenceManager... but I don't understand how
> > launch it in a repository, and without a xml file config.
> >
> > Thanks for your help.
> >
>
>
>
> --
> Alexander Klimetschek
> alexander.klimetschek@day.com
>
> REED ELSEVIER (UK) LIMITED - Registered office - 1-3 STRAND, LONDON WC2N
> 5JR
> Registered in England - Company No. 02746621
>
>
--
Forio Business Simulations
Will Glass-Husain
wglass@forio.com
www.forio.com
Re: Create a Repository without file system
Posted by Hervé Agnoux <he...@diaam-informatique.com>.
Le mardi 7 octobre 2008, Connor, Brett (LNG-TWY) a écrit :
> I'm sure (ish) that I've got test cases not using repository.xml - I think
> using RepositoryConfig.create(InputStream) with an InputStream created from
> a string. Does that help you?
>
Yes, thanks. And I'm going to see JCR-1412 and 1438.
RE: Create a Repository without file system
Posted by "Connor, Brett (LNG-TWY)" <Br...@lexisnexis.co.uk>.
I'm sure (ish) that I've got test cases not using repository.xml - I think using RepositoryConfig.create(InputStream) with an InputStream created from a string. Does that help you?
-----Original Message-----
From: Alexander Klimetschek [mailto:aklimets@day.com]
Sent: 07 October 2008 16:19
To: users@jackrabbit.apache.org
Subject: Re: Create a Repository without file system
With the current stable Jackrabbit (1.4.5/6) the repository.xml is required. In the trunk, we are working on a pure Java-based configuration, please see
http://issues.apache.org/jira/browse/JCR-1412 and
http://issues.apache.org/jira/browse/JCR-1438
Regards,
Alex
On Mon, Oct 6, 2008 at 6:47 AM, Hervé Agnoux <he...@diaam-informatique.com> wrote:
> Hi
>
> For testing purpose, I should want create a repository without file
> system. I don't want xml config file, or jcr directory, or other. I have only memory.
>
> There is a InMemPersistenceManager... but I don't understand how
> launch it in a repository, and without a xml file config.
>
> Thanks for your help.
>
--
Alexander Klimetschek
alexander.klimetschek@day.com
REED ELSEVIER (UK) LIMITED - Registered office - 1-3 STRAND, LONDON WC2N 5JR
Registered in England - Company No. 02746621
Re: Create a Repository without file system
Posted by Alexander Klimetschek <ak...@day.com>.
With the current stable Jackrabbit (1.4.5/6) the repository.xml is
required. In the trunk, we are working on a pure Java-based
configuration, please see
http://issues.apache.org/jira/browse/JCR-1412 and
http://issues.apache.org/jira/browse/JCR-1438
Regards,
Alex
On Mon, Oct 6, 2008 at 6:47 AM, Hervé Agnoux
<he...@diaam-informatique.com> wrote:
> Hi
>
> For testing purpose, I should want create a repository without file system. I
> don't want xml config file, or jcr directory, or other. I have only memory.
>
> There is a InMemPersistenceManager... but I don't understand how launch it in
> a repository, and without a xml file config.
>
> Thanks for your help.
>
--
Alexander Klimetschek
alexander.klimetschek@day.com