jackrabbit-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Marcel Reutegger <marcel.reuteg...@gmx.net>
Subject Re: Running Jackrabbit JCRTestSuite with a database
Date Wed, 30 May 2007 07:51:24 GMT
Hi Pablo,

Pablo Rios wrote:
> Why aren't the test namespace (among others) and custom node types of
> this test suite registered when using a DatabaseFileSystem ?
> How are the ns_reg.properties and custom_nodetypes.xml resource files
> processed ?

the jackrabbit checkout uses predefined namespaces and node type definitions, 
which are located here:
jackrabbit-core/applications/test/repository/namespaces/ns_reg.properties.install
jackrabbit-core/applications/test/repository/namespaces/custom_nodetypes.xml.install

if you use a DatabaseFileSystem you need to register the namespaces and node 
types manually before you run the tests.

the tck-candidate contribution already contains such a setup procedure. See: 
http://svn.apache.org/repos/asf/jackrabbit/trunk/contrib/tck-candidate

regards
  marcel

Mime
View raw message