You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by Felix Meschberger <fm...@gmail.com> on 2008/04/30 08:23:27 UTC
Re: svn commit: r652286 - in /incubator/sling/trunk/sling/core:
pom.xml src/main/resources/SLING-INF/nodetypes/content.cnd
Hi Carsten,
Am Mittwoch, den 30.04.2008, 06:18 +0000 schrieb cziegeler@apache.org:
> Add sling:Folder nodetype.
What is the use case for this node type .... Just curious ;-)
Regards
Felix
PS: Am I picky today .... ;-)
>
> Added:
> incubator/sling/trunk/sling/core/src/main/resources/SLING-INF/nodetypes/content.cnd (with props)
> Modified:
> incubator/sling/trunk/sling/core/pom.xml
>
> Modified: incubator/sling/trunk/sling/core/pom.xml
> URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/core/pom.xml?rev=652286&r1=652285&r2=652286&view=diff
> ==============================================================================
> --- incubator/sling/trunk/sling/core/pom.xml (original)
> +++ incubator/sling/trunk/sling/core/pom.xml Tue Apr 29 23:18:56 2008
> @@ -100,7 +100,7 @@
> commons-fileupload
> </Embed-Dependency>
> <Sling-Nodetypes>
> - SLING-INF/nodetypes/selection.cnd,SLING-INF/nodetypes/references.cnd
> + SLING-INF/nodetypes/selection.cnd,SLING-INF/nodetypes/references.cnd,SLING-INF/nodetypes/content.cnd
> </Sling-Nodetypes>
> </instructions>
> </configuration>
>
> Added: incubator/sling/trunk/sling/core/src/main/resources/SLING-INF/nodetypes/content.cnd
> URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/core/src/main/resources/SLING-INF/nodetypes/content.cnd?rev=652286&view=auto
> ==============================================================================
> --- incubator/sling/trunk/sling/core/src/main/resources/SLING-INF/nodetypes/content.cnd (added)
> +++ incubator/sling/trunk/sling/core/src/main/resources/SLING-INF/nodetypes/content.cnd Tue Apr 29 23:18:56 2008
> @@ -0,0 +1,25 @@
> +//
> +// Licensed to the Apache Software Foundation (ASF) under one
> +// or more contributor license agreements. See the NOTICE file
> +// distributed with this work for additional information
> +// regarding copyright ownership. The ASF licenses this file
> +// to you under the Apache License, Version 2.0 (the
> +// "License"); you may not use this file except in compliance
> +// with the License. You may obtain a copy of the License at
> +//
> +// http://www.apache.org/licenses/LICENSE-2.0
> +//
> +// Unless required by applicable law or agreed to in writing,
> +// software distributed under the License is distributed on an
> +// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
> +// KIND, either express or implied. See the License for the
> +// specific language governing permissions and limitations
> +// under the License.
> +//
> +
> +<sling = 'http://sling.apache.org/jcr/sling/1.0'>
> +
> +[sling:Folder] > nt:hierarchyNode, nt:unstructured
> + orderable
> + + * (nt:base) = sling:Folder version
> +
>
> Propchange: incubator/sling/trunk/sling/core/src/main/resources/SLING-INF/nodetypes/content.cnd
> ------------------------------------------------------------------------------
> svn:eol-style = native
>
> Propchange: incubator/sling/trunk/sling/core/src/main/resources/SLING-INF/nodetypes/content.cnd
> ------------------------------------------------------------------------------
> svn:keywords = Id
>
>
Re: svn commit: r652286 - in /incubator/sling/trunk/sling/core: pom.xml
src/main/resources/SLING-INF/nodetypes/content.cnd
Posted by Carsten Ziegeler <cz...@apache.org>.
Felix Meschberger wrote:
> Hi Carsten,
>
> Am Mittwoch, den 30.04.2008, 06:18 +0000 schrieb cziegeler@apache.org:
>> Add sling:Folder nodetype.
>
> What is the use case for this node type .... Just curious ;-)
>
:) The use case is to create an nt:unstructured node as a child of an
nt:folder.
I'm putting stuff into /var/bla where something underneath bla is
unstructured. /var is usually an nt:folder.
Carsten
--
Carsten Ziegeler
cziegeler@apache.org