You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by rd...@apache.org on 2008/10/26 07:49:56 UTC

svn commit: r707944 - in /james/jsieve/trunk: main/src/samples/ samples/build.xml samples/src/main/java/org/ samples/src/main/jjtree/ samples/src/test/java/org/

Author: rdonkin
Date: Sat Oct 25 23:49:56 2008
New Revision: 707944

URL: http://svn.apache.org/viewvc?rev=707944&view=rev
Log:
Prune source. JSIEVE-40

Removed:
    james/jsieve/trunk/main/src/samples/
    james/jsieve/trunk/samples/src/main/java/org/
    james/jsieve/trunk/samples/src/main/jjtree/
    james/jsieve/trunk/samples/src/test/java/org/
Modified:
    james/jsieve/trunk/samples/build.xml

Modified: james/jsieve/trunk/samples/build.xml
URL: http://svn.apache.org/viewvc/james/jsieve/trunk/samples/build.xml?rev=707944&r1=707943&r2=707944&view=diff
==============================================================================
--- james/jsieve/trunk/samples/build.xml (original)
+++ james/jsieve/trunk/samples/build.xml Sat Oct 25 23:49:56 2008
@@ -99,7 +99,6 @@
       <fixcrlf srcdir="." includes="build.sh" eol="lf"/>
       <fixcrlf srcdir="." includes="build.bat" eol="crlf"/>
       <fixcrlf srcdir="." includes="build.xml" eol="lf"/>
-      <fixcrlf srcdir="${javacc.dir}" includes="**/*.jj*" eol="lf" tab="remove" tablength="4" />
       <mkdir dir="${build.src}"/>
     </target>
 
@@ -108,7 +107,7 @@
                                   Prepare target
     ===================================================================
     -->
-    <target name="prepare" depends="prepare-common, preprocess">
+    <target name="prepare" depends="prepare-common">
         <available 
             classname="javax.mail.Message" 
             property="is.available.javamail" 
@@ -127,54 +126,6 @@
 
     <!--
     ===================================================================
-                                  pre-process
-    ===================================================================
-    -->
-    <!--
-    Unless you want to alter the Sieve grammar, expressed by the seive.jjt 
-    file, is built, consider the following processing a black box.
-    Or zen for the more spiritual amongst you.
-    -->
-    <target name="preprocess" depends="prepare-common">
-        <!--
-        Generate JavaCC source inserting parse tree building actions 
-        and the Java source for the parse classes.
-        -->
-        <mkdir dir="${build.src}/org/apache/jsieve/parser/generated/address"/>
-        <java classname="jjtree" fork="yes" failonerror="true" dir="${build.src}">
-            <arg line="${javacc.dir}/sieve/sieve.jjt"/>
-            <classpath>
-                <pathelement location="${javacc.jar}"/>
-                <pathelement path="${java.class.path}" />
-            </classpath>
-        </java>
-        <java classname="jjtree" fork="yes" failonerror="true" dir="${build.src}">
-             <arg line="${javacc.dir}/address/AddressListParser.jjt"/>
-             <classpath>
-                 <pathelement location="${javacc.jar}"/>
-                 <pathelement path="${java.class.path}" />
-             </classpath>
-        </java>
-
-        <!-- Generate Java source from the JavaCC source -->
-        <java classname="javacc" fork="yes" failonerror="true" dir="${build.src}">
-            <arg line="${build.src}/org/apache/jsieve/parser/generated/sieve.jj"/>
-            <classpath>
-                <pathelement location="${javacc.jar}"/>
-                <pathelement path="${java.class.path}" />
-            </classpath>
-       </java>
-        <java classname="javacc" fork="yes" failonerror="true" dir="${build.src}">
-            <arg line="${build.src}/org/apache/jsieve/parser/generated/address/AddressListParser.jj"/>
-            <classpath>
-                <pathelement location="${javacc.jar}"/>
-                <pathelement path="${java.class.path}" />
-            </classpath>
-       </java>   
-    </target>
-
-    <!--
-    ===================================================================
                                   compile
     ===================================================================
     -->
@@ -243,7 +194,7 @@
     ===================================================================
     -->
     <target name="javadocs" depends="compile">
-
+<!--
       <echo message="Making jSieve Javadocs"/>
 
       <delete dir="${build.javadocs}"/>
@@ -266,6 +217,7 @@
           <param name="-bottom" value="&quot;Copyright &#169; ${year} Apache Jakarta Project. All Rights Reserved.&quot;"/>
         </doclet>
       </javadoc>
+      -->
     </target>
 
     <!--



---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org