You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by fm...@apache.org on 2007/11/07 21:29:52 UTC

svn commit: r592879 - /incubator/sling/trunk/maven/maven-jcrocm-plugin/src/main/java/org/apache/sling/maven/jcrocm/JcrOcmMojo.java

Author: fmeschbe
Date: Wed Nov  7 12:29:51 2007
New Revision: 592879

URL: http://svn.apache.org/viewvc?rev=592879&view=rev
Log:
Rename XML root element to jackrabbit-ocm, which is the correct root element
of the Jackrabbit OCM.

Modified:
    incubator/sling/trunk/maven/maven-jcrocm-plugin/src/main/java/org/apache/sling/maven/jcrocm/JcrOcmMojo.java

Modified: incubator/sling/trunk/maven/maven-jcrocm-plugin/src/main/java/org/apache/sling/maven/jcrocm/JcrOcmMojo.java
URL: http://svn.apache.org/viewvc/incubator/sling/trunk/maven/maven-jcrocm-plugin/src/main/java/org/apache/sling/maven/jcrocm/JcrOcmMojo.java?rev=592879&r1=592878&r2=592879&view=diff
==============================================================================
--- incubator/sling/trunk/maven/maven-jcrocm-plugin/src/main/java/org/apache/sling/maven/jcrocm/JcrOcmMojo.java (original)
+++ incubator/sling/trunk/maven/maven-jcrocm-plugin/src/main/java/org/apache/sling/maven/jcrocm/JcrOcmMojo.java Wed Nov  7 12:29:51 2007
@@ -95,7 +95,7 @@
             } catch (OutOfMemoryError oome) {
                 // this may be the case for big sources and not enough VM mem
                 builder = null; // drop the builder to help GC now
-                
+
                 // fail with some explanation
                 throw new MojoFailureException(
                     "Failed analyzing source due to not enough memory, try setting Max Heap Size higher, e.g. using MAVEN_OPTS=-Xmx128m");
@@ -150,12 +150,12 @@
         try {
             descriptorStream = new FileOutputStream(descriptorFile);
             xw = new XMLWriter(descriptorStream, false);
-            xw.printElementStart("graffito-jcr", false);
+            xw.printElementStart("jackrabbit-ocm", false);
             for (Iterator di=descriptors.iterator(); di.hasNext(); ) {
                 ClassDescriptor sd = (ClassDescriptor) di.next();
                 sd.generate(xw);
             }
-            xw.printElementEnd("graffito-jcr");
+            xw.printElementEnd("jackrabbit-ocm");
 
         } catch (IOException ioe) {
             hasFailures = true;