You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by "Marcel Reutegger (JIRA)" <ji...@apache.org> on 2006/08/14 13:54:16 UTC

[jira] Resolved: (JCR-534) RepositoryStub fails to load default properties file

     [ http://issues.apache.org/jira/browse/JCR-534?page=all ]

Marcel Reutegger resolved JCR-534.
----------------------------------

    Resolution: Won't Fix

> I think you got that wrong. The conversion of "." to "/" is applied to the package name,
> not the resource name.

Ah, you are right. That JavaDoc is quite confusing, it doesn't really say that all but the last '.' is replaced.

But anyway...

> I can live with that, but is this really the intent?

Yes it is. This makes it easier to provide a repositoryStubImpl.properties file by simply placing it into a classes folder without having to care in what package it should be.

Please note that you can also indicate to the TCK which property file it should use by specifying a JVM system property:

-Djavax.jcr.tck.properties=/home/me/myrepo.properties

> RepositoryStub fails to load default properties file
> ----------------------------------------------------
>
>                 Key: JCR-534
>                 URL: http://issues.apache.org/jira/browse/JCR-534
>             Project: Jackrabbit
>          Issue Type: Bug
>          Components: JCR TCK
>            Reporter: Julian Reschke
>            Priority: Minor
>
> In org.apache.jackrabbit.test.getInstance(), the code tries to load the default config file using
>   RepositoryStub.class.getClassLoader().getResourceAsStream(...)
> I think this needs to be
>   RepositoryStub.class.getResourceAsStream(...)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira