Return-Path: Delivered-To: apmail-jackrabbit-users-archive@minotaur.apache.org Received: (qmail 81350 invoked from network); 25 Feb 2009 11:05:36 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 25 Feb 2009 11:05:36 -0000 Received: (qmail 79820 invoked by uid 500); 25 Feb 2009 11:05:34 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 79805 invoked by uid 500); 25 Feb 2009 11:05:34 -0000 Mailing-List: contact users-help@jackrabbit.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: users@jackrabbit.apache.org Delivered-To: mailing list users@jackrabbit.apache.org Received: (qmail 79794 invoked by uid 99); 25 Feb 2009 11:05:34 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2009 03:05:34 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of jukka.zitting@gmail.com designates 209.85.218.170 as permitted sender) Received: from [209.85.218.170] (HELO mail-bw0-f170.google.com) (209.85.218.170) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 25 Feb 2009 11:05:27 +0000 Received: by bwz18 with SMTP id 18so8488163bwz.19 for ; Wed, 25 Feb 2009 03:05:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=/9WJztKc/Zd6spEsCkaLrXipHV0i62adXCe8L4dEbHY=; b=FBDmQ7Nanqwn75C7550eVDSIFuEvXsBdI8zoXSGxXOa6aJtrTVO1o/mroComIYZQiU hBQeJLsPlIP9mURZ8f1oIvjV1OufHAiSnZTHSPC/3E+Zi+ZTLT+qCazfjI9PIJxaecaL VVeXQKzeSmp87PVipVxN8CamUUmlumTQ3ztLk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=T0clgeCGdK25VbEFaP62m6wV1NG+ZzWfSGICJgf3aQzLJhsj3MxtK5/RCC+extD9fT Z+NMR3uOSW5z0/E60SC/YwDBUyTrC95k3X0vwG+VqZjMAUOJ+q5XeBVoruCRbT3rjaW2 9XD/7GMpIFFAbnOgyhEfk52BiNw3mt4iBc+/c= MIME-Version: 1.0 Received: by 10.181.145.7 with SMTP id x7mr289731bkn.177.1235559906333; Wed, 25 Feb 2009 03:05:06 -0800 (PST) In-Reply-To: <22200624.post@talk.nabble.com> References: <22200624.post@talk.nabble.com> Date: Wed, 25 Feb 2009 12:05:06 +0100 Message-ID: <510143ac0902250305q53a547b4he37b15f098f1d24a@mail.gmail.com> Subject: Re: From where transientRepository class get the repository.xml file? From: Jukka Zitting To: users@jackrabbit.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Hi, On Wed, Feb 25, 2009 at 11:57 AM, Akil Ali wrote: > I have set the org.apache.jackrabbit.repository.home property. also i know > that repository.xml is part of org.apache.jackrabbit.core package. but thing > is that i dont want to use indexing functionality given by jackrabbit. so i > have commented the indexing part and built the jar file. A perhaps easier alternative is to point the org.apache.jackrabbit.repository.conf system property to your custom configuration file. Or you could use the TransientRepository constructor that takes both the configuration file and the repository directory paths as explicit arguments. > finally when i run the program i can see that the indexes were created. Did you note that there are two configuration entries in the repository.xml? One is for the version store and one is for the workspace configuration template that's used as the default for all created workspaces. BR, Jukka Zitting