directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fel...@apache.org
Subject svn commit: r596128 - in /directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema: AttributeTypes.template ObjectClasses.template Schema.template typeless.template
Date Sun, 18 Nov 2007 20:44:03 GMT
Author: felixk
Date: Sun Nov 18 12:44:02 2007
New Revision: 596128

URL: http://svn.apache.org/viewvc?rev=596128&view=rev
Log:
Fix syntax for comments (See http://velocity.apache.org/engine/releases/velocity-1.5/user-guide.html#comments).
This will avoid Log messages during build like
Nov 18, 2007 9:30:19 PM org.apache.velocity.runtime.log.JdkLogChute log
INFO: Null reference [template 'LOG', line 35, column 13] : $Rev cannot be resolved.

Modified:
    directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema/AttributeTypes.template
    directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema/ObjectClasses.template
    directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema/Schema.template
    directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema/typeless.template

Modified: directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema/AttributeTypes.template
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema/AttributeTypes.template?rev=596128&r1=596127&r2=596128&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema/AttributeTypes.template
(original)
+++ directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema/AttributeTypes.template
Sun Nov 18 12:44:02 2007
@@ -1,4 +1,4 @@
-/*
+#*
  *  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
@@ -16,7 +16,7 @@
  *  specific language governing permissions and limitations
  *  under the License. 
  *  
- */
+ *#
 package $package;
 
 
@@ -30,7 +30,7 @@
 import org.apache.directory.server.schema.bootstrap.*;
 #end
 
-/**
+#**
  * A producer of schema attributeType definations for the $schema schema.  This
  * code has been automatically generated using schema files in the OpenLDAP
  * format along with the directory plugin for maven.  This has been done
@@ -38,7 +38,7 @@
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$
- */
+ *#
 public class $classname extends AbstractBootstrapProducer
 {
 
@@ -48,14 +48,14 @@
     }
 
 
-    // ------------------------------------------------------------------------
-    // BootstrapProducer Methods
-    // ------------------------------------------------------------------------
+    ## ------------------------------------------------------------------------
+    ## BootstrapProducer Methods
+    ## ------------------------------------------------------------------------
 
 
-    /**
+    #**
      * @see BootstrapProducer#produce( Registries, ProducerCallback )
-     */
+     *#
     public void produce( Registries registries, ProducerCallback cb )
         throws NamingException
     {
@@ -64,9 +64,9 @@
 
         #foreach ( $attrType in $attrTypes )
 
-        // --------------------------------------------------------------------
-        // AttributeType $attrType.getOid() $!attrType.getName()
-        // --------------------------------------------------------------------
+        ## --------------------------------------------------------------------
+        ## AttributeType $attrType.getOid() $!attrType.getName()
+        ## --------------------------------------------------------------------
 
         attributeType = newAttributeType( "$attrType.getOid()", registries );
 #if ( $attrType.getDescription() )        attributeType.setDescription( "$attrType.getDescription()"
);

Modified: directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema/ObjectClasses.template
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema/ObjectClasses.template?rev=596128&r1=596127&r2=596128&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema/ObjectClasses.template
(original)
+++ directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema/ObjectClasses.template
Sun Nov 18 12:44:02 2007
@@ -1,4 +1,4 @@
-/*
+#*
  *  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
@@ -16,7 +16,7 @@
  *  specific language governing permissions and limitations
  *  under the License. 
  *  
- */
+ *#
 package $package;
 
 
@@ -29,7 +29,7 @@
 import org.apache.directory.server.schema.bootstrap.*;
 #end
 
-/**
+#**
  * A producer of schema objectClass definations for the $schema schema.  This
  * code has been automatically generated using schema files in the OpenLDAP
  * format along with the directory plugin for maven.  This has been done
@@ -37,7 +37,7 @@
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$
- */
+ *#
 public class $classname extends AbstractBootstrapProducer
 {
 
@@ -47,14 +47,14 @@
     }
 
 
-    // ------------------------------------------------------------------------
-    // BootstrapProducer Methods
-    // ------------------------------------------------------------------------
+    ## ------------------------------------------------------------------------
+    ## BootstrapProducer Methods
+    ## ------------------------------------------------------------------------
 
 
-    /**
+    #**
      * @see BootstrapProducer#produce(Registries, ProducerCallback)
-     */
+     *#
     public void produce( Registries registries, ProducerCallback cb )
         throws NamingException
     {

Modified: directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema/Schema.template
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema/Schema.template?rev=596128&r1=596127&r2=596128&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema/Schema.template
(original)
+++ directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema/Schema.template
Sun Nov 18 12:44:02 2007
@@ -1,4 +1,4 @@
-/*
+#*
  *  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
@@ -16,7 +16,7 @@
  *  specific language governing permissions and limitations
  *  under the License. 
  *  
- */
+ *#
 package $package;
 
 
@@ -27,13 +27,13 @@
 #end
 
 
-/**
+#**
  * Top level $schema schema class.  This code has been automatically generated
  * using the directory plugin for maven.
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$
- */
+ *#
 public class $classname extends AbstractBootstrapSchema
 {
     public $classname()

Modified: directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema/typeless.template
URL: http://svn.apache.org/viewvc/directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema/typeless.template?rev=596128&r1=596127&r2=596128&view=diff
==============================================================================
--- directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema/typeless.template
(original)
+++ directory/apacheds/branches/bigbang/core-plugin/src/main/resources/org/apache/directory/server/core/tools/schema/typeless.template
Sun Nov 18 12:44:02 2007
@@ -1,4 +1,4 @@
-/*
+#*
  *  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
@@ -16,7 +16,7 @@
  *  specific language governing permissions and limitations
  *  under the License. 
  *  
- */
+ *#
 package $package;
 
 
@@ -28,7 +28,7 @@
 #end
 
 
-/**
+#**
  * A producer of $type objects for the $schema schema.  This code has been
  * automatically generated using schema files in the OpenLDAP format along with
  * the directory plugin for maven.  This has been done to facilitate
@@ -36,7 +36,7 @@
  *
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  * @version $Rev$
- */
+ *#
 public class $classname extends AbstractBootstrapProducer
 {
     public $classname()
@@ -45,14 +45,14 @@
     }
 
 
-    // ------------------------------------------------------------------------
-    // BootstrapProducer Methods
-    // ------------------------------------------------------------------------
+    ## ------------------------------------------------------------------------
+    ## BootstrapProducer Methods
+    ## ------------------------------------------------------------------------
 
 
-    /**
+    #**
      * @see BootstrapProducer#produce(Registries, ProducerCallback)
-     */
+     *#
     public void produce( Registries registries, ProducerCallback cb )
         throws NamingException
     {



Mime
View raw message