jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcel Reutegger (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (JCR-534) RepositoryStub fails to load default properties file
Date Mon, 14 Aug 2006 11:54:16 GMT
     [ 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

        

Mime
View raw message