jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Julian Reschke (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JCR-534) RepositoryStub fails to load default properties file
Date Fri, 11 Aug 2006 10:06:18 GMT
    [ http://issues.apache.org/jira/browse/JCR-534?page=comments#action_12427489 ] 
            
Julian Reschke commented on JCR-534:
------------------------------------

Marcel,

I think you got that wrong. The conversion of "." to "/" is applied to the package name, not
the resource name. So with the change proposed by me, the file would be found in

  org/apache/jackrabbit/test/repositoryStubImpl.properties

...which seems to be right place to me. Right now, the file is found at

  repositoryStubImpl.properties

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


> 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