directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akaras...@apache.org
Subject svn commit: rev 55124 - in incubator/directory/eve/trunk/backend/maven-eve-plugin: . src/antlr src/test/org/apache/eve/tools/schema
Date Wed, 20 Oct 2004 03:07:08 GMT
Author: akarasulu
Date: Tue Oct 19 20:07:08 2004
New Revision: 55124

Modified:
   incubator/directory/eve/trunk/backend/maven-eve-plugin/project.xml
   incubator/directory/eve/trunk/backend/maven-eve-plugin/src/antlr/openldap.g
   incubator/directory/eve/trunk/backend/maven-eve-plugin/src/test/org/apache/eve/tools/schema/ConsoleParserMonitor.java
Log:
changes to project name and removed output unless tracing is enabled

Modified: incubator/directory/eve/trunk/backend/maven-eve-plugin/project.xml
==============================================================================
--- incubator/directory/eve/trunk/backend/maven-eve-plugin/project.xml	(original)
+++ incubator/directory/eve/trunk/backend/maven-eve-plugin/project.xml	Tue Oct 19 20:07:08
2004
@@ -21,17 +21,17 @@
 <project>
   <extend>${basedir}/../../project.xml</extend>
   <groupId>incubator-directory</groupId>
-  <id>eve-tools</id>
+  <id>maven-eve-plugin</id>
 
-  <name>Eve Tools</name>
+  <name>maven-eve-plugin</name>
   <package>org.apache.eve.tools</package>
   <currentVersion>SNAPSHOT</currentVersion>
   <inceptionYear>2004</inceptionYear>
 
-  <shortDescription>Eve Tools</shortDescription>
+  <shortDescription>A collection of eve tools as a maven plugin</shortDescription>
 
   <description>
-    A collection of tools to be used to develop Eve and program for Eve.
+    A collection of tools as plugins to be used to develop Eve and program for Eve.
   </description>
 
   <dependencies>

Modified: incubator/directory/eve/trunk/backend/maven-eve-plugin/src/antlr/openldap.g
==============================================================================
--- incubator/directory/eve/trunk/backend/maven-eve-plugin/src/antlr/openldap.g	(original)
+++ incubator/directory/eve/trunk/backend/maven-eve-plugin/src/antlr/openldap.g	Tue Oct 19
20:07:08 2004
@@ -339,7 +339,6 @@
     OPEN_PAREN oid:NUMERICOID
     {
         type = new AttributeTypeLiteral( oid.getText() );
-        System.out.println( oid.getText() );
     }
         ( names[type] )?
         ( desc[type] )?
@@ -368,7 +367,6 @@
     : d:DESC
     {
         type.setDescription( d.getText().split( "'" )[1] );
-        System.out.println( d.getText() );
     }
     ;
 

Modified: incubator/directory/eve/trunk/backend/maven-eve-plugin/src/test/org/apache/eve/tools/schema/ConsoleParserMonitor.java
==============================================================================
--- incubator/directory/eve/trunk/backend/maven-eve-plugin/src/test/org/apache/eve/tools/schema/ConsoleParserMonitor.java
(original)
+++ incubator/directory/eve/trunk/backend/maven-eve-plugin/src/test/org/apache/eve/tools/schema/ConsoleParserMonitor.java
Tue Oct 19 20:07:08 2004
@@ -16,26 +16,39 @@
  */
 package org.apache.eve.tools.schema;
 
+
 /**
- * Document me.
+ * A console reporting monitor.
  *
  * @author <a href="mailto:directory-dev@incubator.apache.org">Apache Directory Project</a>
  * @version $Rev$
  */
 public class ConsoleParserMonitor implements ParserMonitor
 {
+    public static final String TRACE_KEY = "schema.parser.trace";
+
+    
     public void matchedProduction( String prod )
     {
-        System.out.println( prod );
+        if ( System.getProperties().containsKey( TRACE_KEY ) )
+        {
+            System.out.println( prod );
+        }
     }
 
     public void startedParse( String s )
     {
-        System.out.println( s );
+        if ( System.getProperties().containsKey( TRACE_KEY ) )
+        {
+            System.out.println( s );
+        }
     }
 
     public void finishedParse( String s )
     {
-        System.out.println( s );
+        if ( System.getProperties().containsKey( TRACE_KEY ) )
+        {
+            System.out.println( s );
+        }
     }
 }

Mime
View raw message