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) <
[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]
> Sent: 07 October 2008 16:19
> To: [email protected]
> 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 <
> [EMAIL PROTECTED]> 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
> [EMAIL PROTECTED]
>
> REED ELSEVIER (UK) LIMITED - Registered office - 1-3 STRAND, LONDON WC2N
> 5JR
> Registered in England - Company No. 02746621
>
>


-- 
Forio Business Simulations

Will Glass-Husain
[EMAIL PROTECTED]
www.forio.com

Reply via email to