txw2 (0.1+20070624-1) disable-txw2-compiler.patch

Summary

 build.xml |   22 ----------------------
 1 file changed, 22 deletions(-)

    
download this patch

Patch contents

Description: Disable compilation of txw2 compiler; can't fulfill
 dependencies at the moment through Debian and runtime is the part
 of the library that's critical path.
Author: James Page <james.page@canonical.com>
Forwarded: not-needed

Index: txw2/build.xml
===================================================================
--- txw2.orig/build.xml	2011-06-01 12:15:46.558045202 +0100
+++ txw2/build.xml	2011-06-01 12:15:46.578045202 +0100
@@ -33,13 +33,6 @@
     	<classpath refid="runtime.lib"/>
     </javac>
     
-    <javac source="1.5" srcdir="src/compiler" destdir="build/compiler-classes" debug="on">
-    	<classpath refid="runtime.lib"/>
-    	<classpath>
-    		<pathelement path="build/runtime-classes"/>
-    		<fileset dir="lib" includes="compiler/*.jar"/>
-    	</classpath>
-    </javac>
   </target>
   
   <target name="test" depends="compile">
@@ -74,9 +67,6 @@
     <zip destfile="build/txw2-src.zip">
       <fileset dir="src/runtime" includes="**/*" defaultexcludes="no"/>
     </zip>
-    <zip destfile="build/txw2c-src.zip">
-      <fileset dir="src/compiler" includes="**/*" defaultexcludes="no"/>
-    </zip>
     <jar destfile="build/txw2.jar">
       <manifest>
         <attribute name="Date" value="${TODAY}"/>
@@ -87,18 +77,6 @@
       <fileset dir="build/runtime-classes" includes="**/*.class, **/*.properties"/>
       <fileset dir="src" includes="**/*.properties"/>
     </jar>
-    <jar destfile="build/txwc2.jar">
-      <manifest>
-        <attribute name="Date" value="${TODAY}"/>
-        <attribute name="Build-Id" value="${build.id}"/>
-        <attribute name="Class-Path" value="txw2.jar lib/relaxngDatatype.jar lib/rngom.jar lib/xsdlib.jar lib/commons-cli-1.0.jar"/>
-        <attribute name="Main-Class" value="com.sun.tools.txw2.Main"/>
-      </manifest>
-      <!--metainf dir="doc" includes="lib/*LICENSE.txt"/-->
-      
-      <fileset dir="build/compiler-classes" includes="**/*.class, **/*.properties"/>
-      <fileset dir="src" includes="**/*.properties"/>
-    </jar>
   </target>
   
   <target name="dist" depends="clean, javadoc, jar">