Return-Path: Delivered-To: apmail-jackrabbit-dev-archive@www.apache.org Received: (qmail 11302 invoked from network); 27 Feb 2007 16:14:28 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 27 Feb 2007 16:14:28 -0000 Received: (qmail 37947 invoked by uid 500); 27 Feb 2007 16:14:35 -0000 Delivered-To: apmail-jackrabbit-dev-archive@jackrabbit.apache.org Received: (qmail 37912 invoked by uid 500); 27 Feb 2007 16:14:35 -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 37903 invoked by uid 99); 27 Feb 2007 16:14:35 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Feb 2007 08:14:35 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 27 Feb 2007 08:14:26 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id B40A9714044 for ; Tue, 27 Feb 2007 08:14:05 -0800 (PST) Message-ID: <23410420.1172592845734.JavaMail.jira@brutus> Date: Tue, 27 Feb 2007 08:14:05 -0800 (PST) From: "Tobias Bocanegra (JIRA)" To: dev@jackrabbit.apache.org Subject: [jira] Updated: (JCR-771) Make the CND files AUTOMATICALLY loaded from its natural place: /repository/nodetypes In-Reply-To: <30575665.1172589006044.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/JCR-771?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Tobias Bocanegra updated JCR-771: --------------------------------- Description: Currently there is no AUTOMATIC support for the predefined custom node type files in CND format. They have to be loaded manually, same as the fact as for every getSession() the namespaces are to be registered... I think these 2 issues could best be solved together: It would be a tremendous improvement if we could just put the cnd file inside /repository/nodetypes. Such file starts by declaring the namepsaces anyway so it would also make the tedious NS registration redundant. Both are currenlty boilerplate code and lot of newcomers (like myself :-) struggle with it. For more info, please have a look at this thread on the JR maling list: "Namespaces - questions" (posted by myself) Wolf was: Currently there is no AUTOMATIC support for the predefined custom node type files. They have to be loaded manually, same as the fact as for every getSession() the namespaces are to be registered... I think these 2 issues could best be solved together: It would be a tremendous improvement if we could just put the cnd file inside /repository/nodetypes. Such file starts by declaring the namepsaces anyway so it would also make the tedious NS registration redundant. Both are currenlty boilerplate code and lot of newcomers (like myself :-) struggle with it. For more info, please have a look at this thread on the JR maling list: "Namespaces - questions" (posted by myself) Wolf > Make the CND files AUTOMATICALLY loaded from its natural place: /repository/nodetypes > ------------------------------------------------------------------------------------- > > Key: JCR-771 > URL: https://issues.apache.org/jira/browse/JCR-771 > Project: Jackrabbit > Issue Type: Improvement > Components: nodetype > Affects Versions: 1.2.2 > Environment: any > Reporter: Wolf Benz > Fix For: 1.3 > > > Currently there is no AUTOMATIC support for the predefined custom node type files in CND format. > They have to be loaded manually, same as the fact as for every getSession() the namespaces are to be registered... > I think these 2 issues could best be solved together: > It would be a tremendous improvement if we could just put the cnd file inside /repository/nodetypes. Such file starts by declaring the namepsaces anyway so it would also make the tedious NS registration redundant. > Both are currenlty boilerplate code and lot of newcomers (like myself :-) struggle with it. > For more info, please have a look at this thread on the JR maling list: "Namespaces - questions" (posted by myself) > Wolf -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.