incubator-sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cziege...@apache.org
Subject svn commit: r589695 - in /incubator/sling/trunk/event: pom.xml src/main/java/org/apache/sling/event/impl/EventHelper.java src/main/resources/SLING-INF/nodetypes/event.cnd
Date Mon, 29 Oct 2007 15:48:21 GMT
Author: cziegeler
Date: Mon Oct 29 08:48:20 2007
New Revision: 589695

URL: http://svn.apache.org/viewvc?rev=589695&view=rev
Log:
Do not use a hyphen for the prefix (jackrabbit is not able to parse the cnd file)

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

Modified: incubator/sling/trunk/event/pom.xml
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/event/pom.xml?rev=589695&r1=589694&r2=589695&view=diff
==============================================================================
--- incubator/sling/trunk/event/pom.xml (original)
+++ incubator/sling/trunk/event/pom.xml Mon Oct 29 08:48:20 2007
@@ -75,7 +75,7 @@
                             SLING-INF/nodetypes/event.cnd
                         </Sling-Nodetypes>
                         <Sling-Namespaces>
-                            sling-event=http://sling.apache.org/jcr/event/1.0
+                            slingevent=http://sling.apache.org/jcr/event/1.0
                         </Sling-Namespaces>
                     </instructions>
                 </configuration>

Modified: incubator/sling/trunk/event/src/main/java/org/apache/sling/event/impl/EventHelper.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/event/src/main/java/org/apache/sling/event/impl/EventHelper.java?rev=589695&r1=589694&r2=589695&view=diff
==============================================================================
--- incubator/sling/trunk/event/src/main/java/org/apache/sling/event/impl/EventHelper.java
(original)
+++ incubator/sling/trunk/event/src/main/java/org/apache/sling/event/impl/EventHelper.java
Mon Oct 29 08:48:20 2007
@@ -24,19 +24,19 @@
  */
 public abstract class EventHelper {
 
-    public static final String NODE_PROPERTY_TOPIC = "sling-event:topic";
-    public static final String NODE_PROPERTY_APPLICATION = "sling-event:application";
-    public static final String NODE_PROPERTY_CREATED = "sling-event:created";
-    public static final String NODE_PROPERTY_PROPERTIES = "sling-event:properties";
-    public static final String NODE_PROPERTY_PROCESSOR = "sling-event:processor";
-    public static final String NODE_PROPERTY_JOBID = "sling-event:id";
-    public static final String NODE_PROPERTY_ACTIVE = "sling-event:active";
-    public static final String NODE_PROPERTY_FINISHED = "sling-event:finished";
+    public static final String NODE_PROPERTY_TOPIC = "slingevent:topic";
+    public static final String NODE_PROPERTY_APPLICATION = "slingevent:application";
+    public static final String NODE_PROPERTY_CREATED = "slingevent:created";
+    public static final String NODE_PROPERTY_PROPERTIES = "slingevent:properties";
+    public static final String NODE_PROPERTY_PROCESSOR = "slingevent:processor";
+    public static final String NODE_PROPERTY_JOBID = "slingevent:id";
+    public static final String NODE_PROPERTY_ACTIVE = "slingevent:active";
+    public static final String NODE_PROPERTY_FINISHED = "slingevent:finished";
 
-    public static final String EVENTS_NODE_TYPE = "sling-event:Events";
-    public static final String EVENT_NODE_TYPE = "sling-event:Event";
-    public static final String JOBS_NODE_TYPE = "sling-event:Jobs";
-    public static final String JOB_NODE_TYPE = "sling-event:Job";
-    public static final String TIMED_EVENTS_NODE_TYPE = "sling-event:TimedEvents";
-    public static final String TIMED_EVENT_NODE_TYPE = "sling-event:TimedEvent";
+    public static final String EVENTS_NODE_TYPE = "slingevent:Events";
+    public static final String EVENT_NODE_TYPE = "slingevent:Event";
+    public static final String JOBS_NODE_TYPE = "slingevent:Jobs";
+    public static final String JOB_NODE_TYPE = "slingevent:Job";
+    public static final String TIMED_EVENTS_NODE_TYPE = "slingevent:TimedEvents";
+    public static final String TIMED_EVENT_NODE_TYPE = "slingevent:TimedEvent";
 }

Modified: incubator/sling/trunk/event/src/main/resources/SLING-INF/nodetypes/event.cnd
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/event/src/main/resources/SLING-INF/nodetypes/event.cnd?rev=589695&r1=589694&r2=589695&view=diff
==============================================================================
--- incubator/sling/trunk/event/src/main/resources/SLING-INF/nodetypes/event.cnd (original)
+++ incubator/sling/trunk/event/src/main/resources/SLING-INF/nodetypes/event.cnd Mon Oct 29
08:48:20 2007
@@ -17,33 +17,33 @@
 //  under the License.
 //
 
-<sling-event = 'http://sling.apache.org/jcr/event/1.0'>
+<slingevent='http://sling.apache.org/jcr/event/1.0'>
 <nt='http://www.jcp.org/jcr/nt/1.0'>
 <mix='http://www.jcp.org/jcr/mix/1.0'>
 
-[sling-event:Events] > nt:base, mix:lockable
-  + * (sling-event:Event)
+[slingevent:Events] > nt:base, mix:lockable
+  + * (slingevent:Event)
 
-[sling-event:Event] > nt:base
-  - sling-event:topic (string)
-  - sling-event:application (string)
-  - sling-event:created (date)
-  - sling-event:properties (binary)
+[slingevent:Event] > nt:base
+  - slingevent:topic (string)
+  - slingevent:application (string)
+  - slingevent:created (date)
+  - slingevent:properties (binary)
   
-[sling-event:Jobs] > sling-event:Events, mix:lockable
-  + * (sling-event:Job)
+[slingevent:Jobs] > slingevent:Events, mix:lockable
+  + * (slingevent:Job)
   
-[sling-event:Job] > sling-event:Event, mix:lockable
-  - sling-event:processor (string)
-  - sling-event:active (boolean)
-  - sling-event:id (string)
-  - sling-event:finished (date)
+[slingevent:Job] > slingevent:Event, mix:lockable
+  - slingevent:processor (string)
+  - slingevent:active (boolean)
+  - slingevent:id (string)
+  - slingevent:finished (date)
 
-[sling-event:TimedEvents] > sling-event:Events, mix:lockable
- + * (sling-event:TimedEvent)
+[slingevent:TimedEvents] > slingevent:Events, mix:lockable
+ + * (slingevent:TimedEvent)
  
-[sling-event:TimedEvent] > sling-event:Event
-  - sling-event:processor (string)
-  - sling-event:id (string)
+[slingevent:TimedEvent] > slingevent:Event
+  - slingevent:processor (string)
+  - slingevent:id (string)
 
   



Mime
View raw message