electric (8.10-2) 01_fix_build_xml.patch

Summary

 build.xml |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

    
download this patch

Patch contents

Index: electric-8.10/build.xml
===================================================================
--- electric-8.10.orig/build.xml	2010-01-04 23:42:20.000000000 +0530
+++ electric-8.10/build.xml	2010-01-04 23:46:41.000000000 +0530
@@ -371,10 +371,10 @@
             </antcall>
     </target>
 
-    <target name="jarWithTests" depends="clean,init,compileTests" description="Make binary Jar file">
-        <antcall target="unjarSUN"></antcall>
-        <copy file="../packaging/electric.mf" tofile="electric.mf"/>
-        <jar basedir="." compress="true" jarfile="electric.jar" manifest="electric.mf">
+    <target name="jarWithTests" depends="clean,init,compile" description="Make binary Jar file">
+        <!--antcall target="unjarSUN"></antcall-->
+        <!--copy file="../packaging/electric.mf" tofile="electric.mf"/-->
+        <jar basedir="." compress="true" jarfile="electric.jar">
             <exclude name="**/.nfs*"/>
             <exclude name="apidoc/"/>
             <exclude name="build.xml" unless="source"/>
@@ -393,8 +393,9 @@
             <patternset refid="exclusion" />
             <exclude name="**/*.java" unless="source"/>
             <exclude name="**/*.form" unless="source"/>
-            <zipfileset src="${AppleJava}" excludes="META-INF/**"/>
-            <zipfileset src="${JUnit}" excludes="META-INF/**"/>
+            <exclude name="debian/"/>
+            <!--zipfileset src="${AppleJava}" excludes="META-INF/**"/>
+            <zipfileset src="${JUnit}" excludes="META-INF/**"/-->
             <!--
             <zipfileset src="${beanshell}" excludes="META-INF/**">
                 <selector if="SUN">