You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by ak...@apache.org on 2004/10/20 06:26:00 UTC

svn commit: rev 55125 - in incubator/directory/eve/trunk/backend/maven-eve-plugin: . src/java/org/apache/eve/tools src/test/org/apache/eve/tools/schema

Author: akarasulu
Date: Tue Oct 19 21:25:59 2004
New Revision: 55125

Removed:
   incubator/directory/eve/trunk/backend/maven-eve-plugin/src/java/org/apache/eve/tools/App.java
Modified:
   incubator/directory/eve/trunk/backend/maven-eve-plugin/   (props changed)
   incubator/directory/eve/trunk/backend/maven-eve-plugin/plugin.jelly
   incubator/directory/eve/trunk/backend/maven-eve-plugin/project.xml
   incubator/directory/eve/trunk/backend/maven-eve-plugin/src/test/org/apache/eve/tools/schema/ConsoleParserMonitor.java
Log:
still messing around

Modified: incubator/directory/eve/trunk/backend/maven-eve-plugin/plugin.jelly
==============================================================================
--- incubator/directory/eve/trunk/backend/maven-eve-plugin/plugin.jelly	(original)
+++ incubator/directory/eve/trunk/backend/maven-eve-plugin/plugin.jelly	Tue Oct 19 21:25:59 2004
@@ -7,11 +7,11 @@
   xmlns:util="jelly:util"
   xmlns:maven="jelly:maven">
 
-  <goal name="schema"> 
+  <goal name="eve"> 
     <echo>Schema plugin not implemented yet!</echo> 
   </goal> 
-
-  <goal name="schema:find">
+  
+  <goal name="eve:blah"> 
     <echo>Schema plugin not implemented yet!</echo> 
   </goal> 
   

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 21:25:59 2004
@@ -1,76 +1,70 @@
 <?xml version="1.0" encoding="UTF-8"?>
-<!-- 
-/*
- * Copyright 2001-2004 The Apache Software Foundation.
- * 
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- * 
- *      http://www.apache.org/licenses/LICENSE-2.0
- * 
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
+<!-- 
+/*
+ * Copyright 2001-2004 The Apache Software Foundation.
+ * 
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
  -->
-
-
 <project>
   <extend>${basedir}/../../project.xml</extend>
+  <pomVersion>1</pomVersion>
+  <artifactId>null</artifactId>
   <groupId>incubator-directory</groupId>
   <id>maven-eve-plugin</id>
-
   <name>maven-eve-plugin</name>
   <package>org.apache.eve.tools</package>
   <currentVersion>SNAPSHOT</currentVersion>
   <inceptionYear>2004</inceptionYear>
-
   <shortDescription>A collection of eve tools as a maven plugin</shortDescription>
-
-  <description>
-    A collection of tools as plugins to be used to develop Eve and program for Eve.
+  <description>
+    A collection of tools as plugins to be used to develop Eve and program for Eve.
   </description>
-
   <dependencies>
     <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <type>jar</type>
+    </dependency>
+    <dependency>
+      <groupId>antlr</groupId>
+      <artifactId>antlr</artifactId>
+      <version>2.7.2</version>
+      <type>jar</type>
+    </dependency>
+    <dependency>
       <groupId>incubator-directory</groupId>
       <artifactId>ldap-common</artifactId>
       <version>SNAPSHOT</version>
+      <type>jar</type>
     </dependency>
-
     <dependency>
       <groupId>incubator-directory</groupId>
       <artifactId>eve-backend</artifactId>
       <version>SNAPSHOT</version>
+      <type>jar</type>
     </dependency>
-
     <dependency>
       <groupId>velocity</groupId>
       <artifactId>velocity-dep</artifactId>
       <version>1.4</version>
+      <type>jar</type>
     </dependency>
-
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-      <version>3.8.1</version>
-    </dependency>
-
-    <dependency>
-      <groupId>antlr</groupId>
-      <artifactId>antlr</artifactId>
-      <version>2.7.2</version>
-    </dependency>
-
   </dependencies>
-
   <build>
     <sourceDirectory>src/java</sourceDirectory>
     <unitTestSourceDirectory>src/test</unitTestSourceDirectory>
-
     <unitTest>
       <resources>
         <resource>
@@ -78,19 +72,14 @@
           <includes>
             <include>**/*.schema</include>
           </includes>
+          <filtering>false</filtering>
         </resource>
       </resources>
-
       <includes>
         <include>**/*Test.java</include>
       </includes>
-      <excludes>
-        <exclude>**/NaughtyTest.java</exclude>
-      </excludes>
     </unitTest>
-
     <resources>
-
       <resources>
         <resource>
           <directory>src/java</directory>
@@ -99,21 +88,21 @@
           </includes>
         </resource>
       </resources>
-
       <resource>
         <directory>${basedir}/src/plugin-resources</directory>
         <targetPath>plugin-resources</targetPath>
+        <filtering>false</filtering>
       </resource>
       <resource>
         <directory>${basedir}</directory>
         <includes>
-            <include>plugin.jelly</include>
-            <include>plugin.properties</include>
-            <include>project.properties</include>
-            <include>project.xml</include>
+          <include>plugin.jelly</include>
+          <include>plugin.properties</include>
+          <include>project.properties</include>
+          <include>project.xml</include>
         </includes>
+        <filtering>false</filtering>
       </resource>
-
       <resource>
         <directory>${basedir}/src/java</directory>
         <includes>
@@ -122,16 +111,8 @@
           <include>**/*.properties</include>
           <include>**/*.x*</include>
         </includes>
+        <filtering>false</filtering>
       </resource>
-
-      <resource>
-        <directory>${basedir}/conf</directory>
-        <targetPath>BLOCK-INF</targetPath>
-        <includes>
-          <include>block.xml</include>
-        </includes>
-      </resource>
-
       <resource>
         <directory>${basedir}/src/java/org/apache/eve/tools/schema</directory>
         <targetPath>org/apache/eve/tools/schema</targetPath>
@@ -139,8 +120,9 @@
           <include>antlrTypeTokenTypes.txt</include>
           <include>antlrOpenLdapSchemaParserTokenTypes.txt</include>
         </includes>
+        <filtering>false</filtering>
       </resource>
     </resources>
-
   </build>
 </project>
+

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 21:25:59 2004
@@ -18,16 +18,17 @@
 
 
 /**
- * A console reporting monitor.
+ * A console reporting monitor.  Add system property 'maven.eve.schema.parser.trace'
+ * to get this monitor to trace parser production execution.
  *
  * @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 static final String TRACE_KEY = "maven.eve.schema.parser.trace";
+
 
-    
     public void matchedProduction( String prod )
     {
         if ( System.getProperties().containsKey( TRACE_KEY ) )