Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 33604 invoked from network); 16 Apr 2009 10:53:37 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 16 Apr 2009 10:53:37 -0000 Received: (qmail 36761 invoked by uid 500); 16 Apr 2009 10:53:36 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 36683 invoked by uid 500); 16 Apr 2009 10:53:36 -0000 Mailing-List: contact dev-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jackrabbit.apache.org Delivered-To: mailing list dev@jackrabbit.apache.org Received: (qmail 36594 invoked by uid 99); 16 Apr 2009 10:53:36 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Apr 2009 10:53:36 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 16 Apr 2009 10:53:35 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 326B5234C045 for ; Thu, 16 Apr 2009 03:53:15 -0700 (PDT) Message-ID: <1308006320.1239879195205.JavaMail.jira@brutus> Date: Thu, 16 Apr 2009 03:53:15 -0700 (PDT) From: "Jukka Zitting (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Commented: (JCR-2055) RepositoryStub implementation in jackrabbit-core In-Reply-To: <1250058984.1239027793172.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-2055?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12699635#action_12699635 ] Jukka Zitting commented on JCR-2055: ------------------------------------ > The changes introduced a compile time dependency from jackrabbit-core to jackrabbit-jcr-tests. It's an optional dependency, so it doesn't affect downstream projects. This change achieves a notable level of code and configuration reuse in that it avoids having to duplicate all the test settings wherever we want to run the TCK on Jackrabbit. If the extra optional dependency is not acceptable, we have two alternatives for keeping this level of reuse: 1) Make a new component like "jackrabbit-test-stub" that contains the JackrabbitRepositoryStub class and depends on both jackrabbit-core and jackrabbit-jcr-tests. IMHO we already have too many components, so adding a new one for just a single class feels overkill. 2) Move the JackrabbitRepositoryStub class to jackrabbit-jcr-tests, with an optional dependency to jackrabbit-core. > RepositoryStub implementation in jackrabbit-core > ------------------------------------------------ > > Key: JCR-2055 > URL: https://issues.apache.org/jira/browse/JCR-2055 > Project: Jackrabbit Content Repository > Issue Type: New Feature > Components: jackrabbit-core, jackrabbit-spi2jcr > Reporter: Jukka Zitting > Assignee: Jukka Zitting > Priority: Minor > Fix For: 1.6.0 > > > Currently setting up a Jackrabbit repository for use with the TCK is a relatively complex operation with a large repositoryStubImpl.properties file and lots of specially crafted test content and settings to worry about. This makes it hard to set up new TCK test instances with the various JCR and SPI layers we now have. > To simplify things I'd like to introduce a RepositoryStubImpl class and related configuration files inside src/main/java in jackrabbit-core. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.