incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r644714 - in /incubator/sling/trunk/sling/event/src/main: java/org/apache/sling/event/impl/AbstractRepositoryEventHandler.java resources/SLING-INF/nodetypes/event.cnd
Date Fri, 04 Apr 2008 13:53:07 GMT
Author: cziegeler
Date: Fri Apr  4 06:53:04 2008
New Revision: 644714

URL: http://svn.apache.org/viewvc?rev=644714&view=rev
Log:
Use nt:folder as base type and not nt:unstructured.

Modified:
    incubator/sling/trunk/sling/event/src/main/java/org/apache/sling/event/impl/AbstractRepositoryEventHandler.java
    incubator/sling/trunk/sling/event/src/main/resources/SLING-INF/nodetypes/event.cnd

Modified: incubator/sling/trunk/sling/event/src/main/java/org/apache/sling/event/impl/AbstractRepositoryEventHandler.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/event/src/main/java/org/apache/sling/event/impl/AbstractRepositoryEventHandler.java?rev=644714&r1=644713&r2=644714&view=diff
==============================================================================
--- incubator/sling/trunk/sling/event/src/main/java/org/apache/sling/event/impl/AbstractRepositoryEventHandler.java
(original)
+++ incubator/sling/trunk/sling/event/src/main/java/org/apache/sling/event/impl/AbstractRepositoryEventHandler.java
Fri Apr  4 06:53:04 2008
@@ -235,7 +235,7 @@
                 while ( st.hasMoreTokens() ) {
                     final String token = st.nextToken();
                     if ( !node.hasNode(token) ) {
-                        node.addNode(token, "nt:unstructured");
+                        node.addNode(token, "nt:folder");
                         node.save();
                     }
                     node = node.getNode(token);

Modified: incubator/sling/trunk/sling/event/src/main/resources/SLING-INF/nodetypes/event.cnd
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/sling/event/src/main/resources/SLING-INF/nodetypes/event.cnd?rev=644714&r1=644713&r2=644714&view=diff
==============================================================================
--- incubator/sling/trunk/sling/event/src/main/resources/SLING-INF/nodetypes/event.cnd (original)
+++ incubator/sling/trunk/sling/event/src/main/resources/SLING-INF/nodetypes/event.cnd Fri
Apr  4 06:53:04 2008
@@ -21,13 +21,13 @@
 <nt='http://www.jcp.org/jcr/nt/1.0'>
 <mix='http://www.jcp.org/jcr/mix/1.0'>
 
-[slingevent:Events] > nt:base, mix:lockable
+[slingevent:Events] > nt:folder, mix:lockable
   + * (slingevent:Event)
 
-[slingevent:TimedEvents] > nt:base, mix:lockable
+[slingevent:TimedEvents] > nt:folder, mix:lockable
  + * (slingevent:TimedEvent)
 
-[slingevent:Jobs] > nt:base, mix:lockable
+[slingevent:Jobs] > nt:folder, mix:lockable
   + * (slingevent:Job)
   
 [slingevent:Event] > nt:base



Mime
View raw message