Return-Path: Delivered-To: apmail-jackrabbit-users-archive@locus.apache.org Received: (qmail 97114 invoked from network); 18 Feb 2008 13:39:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Feb 2008 13:39:35 -0000 Received: (qmail 70104 invoked by uid 500); 18 Feb 2008 13:39:28 -0000 Delivered-To: apmail-jackrabbit-users-archive@jackrabbit.apache.org Received: (qmail 70082 invoked by uid 500); 18 Feb 2008 13:39:28 -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 70073 invoked by uid 99); 18 Feb 2008 13:39:28 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2008 05:39:28 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of stefan.guggisberg@gmail.com designates 209.85.146.176 as permitted sender) Received: from [209.85.146.176] (HELO wa-out-1112.google.com) (209.85.146.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Feb 2008 13:38:43 +0000 Received: by wa-out-1112.google.com with SMTP id m34so3073754wag.9 for ; Mon, 18 Feb 2008 05:39:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=wCB2JFYsRkNiGLSyq/XbPo65Ggup0jgbhpgfp/uB+nY=; b=eslyOg9HrvujHnh/CdDflD32W9Q43Om+RemdXJ0NujmAm5rj+F+DDC9jq33saquaJDrNPCPtEDguGrSDZSsqxX7LJ8j+C5VttbOuDrMGyjxrMRxXfM3M6I4jEcxAe8brh+AUhla4u0uUOp48ai3h1IWRcJfURMxVZ/gJ2eEHOL8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=GUc2gdqtinE/5zGETojMwu2Ds37sURgsHzLg665Fp9ip/gsHUNdx7VTJhOGTvgMskqtap0PO1G3hPZ2IQjDcpgmeLuTgvQX/BWVAx1RuW2X2GRw3b8bo/XaWgSnhuSFrQO8U2KN1Wn75IrsEdtAdT+eDL2+0JoFNgJ6YGuWRzZU= Received: by 10.115.77.1 with SMTP id e1mr1231921wal.103.1203341942771; Mon, 18 Feb 2008 05:39:02 -0800 (PST) Received: by 10.114.179.7 with HTTP; Mon, 18 Feb 2008 05:39:02 -0800 (PST) Message-ID: <90a8d1c00802180539k334809coa290695230cff9aa@mail.gmail.com> Date: Mon, 18 Feb 2008 14:39:02 +0100 From: "Stefan Guggisberg" To: users@jackrabbit.apache.org Subject: Re: Deploying custom node types in jackrabbit In-Reply-To: <82133d700802180426y6dc15c79x9b66eafc289c7a1f@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <82133d700802161410i22fd8598r2b5cf597c02caf77@mail.gmail.com> <90a8d1c00802180207j40d4cb84qa84e9dad8c110bb4@mail.gmail.com> <82133d700802180426y6dc15c79x9b66eafc289c7a1f@mail.gmail.com> X-Virus-Checked: Checked by ClamAV on apache.org On Feb 18, 2008 1:26 PM, Manolo Gomez Lopez wrote: > Hi Stefan > > 2008/2/18, Stefan Guggisberg : > > > > > > > > > there was a related feature request: > > > http://issues.apache.org/jira/browse/JCR-771 > > > > > cheers > > > stefan > > > > I must admit I dind't see that one before asking, sorry. > > I agree that maybe using the current internal serialization of custom node > types (in repository/nodetypes) is not the best solution for helping in the > deployment of custom node types (but certain not as hard as modifying an > Oracle tablespace ;)). > > But I also see that forcing an API method invocation as the *only* way of > registering node types maybe is not the best solution for all deployment > scenarios. > > I am thinking in large deployments of pre-configured jackrabbit registries > with lots of custom node types..., providing a way to give jackrabbit > representations of the custom node types in CND format in some way at start > time (other than via API) will certainly ease the deployment of those > repositories. > > I am sure that already having an independent representation of custom node > types and namespaces in CND (or its counterpart in XML) are solid > foundations for the implementation os this feature. > > Don't you think this feature is worth a try and will be a good improvement > for jackrabbit? while i agree it could be very convenient in certain scenarios i guess it can cause a lot of trouble (how do you handle removed types, illegal definitions, unsupported changes etc) if supported in core during bootstrapping. while editing a text based definition is certainly trivial, the effects of such changes might be dramatic. OTOH i think such a feature could be easily implemented as an external tool/service. WDYT? cheers stefan > > Greets, >