File: 01_buildxml.patch

package info (click to toggle)
libpdfbox-java 1%3A0.7.3%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 27,316 kB
  • ctags: 18,061
  • sloc: java: 38,032; xml: 2,650; sh: 48; jsp: 27; makefile: 12
file content (53 lines) | stat: -rw-r--r-- 1,955 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
Author: <gregor+debian@comodo.priv.at>
Description: comment out "propertyfile" in build.xml
--- libpdfbox-java.orig/build.xml
+++ libpdfbox-java/build.xml
@@ -45,6 +45,7 @@
 
     <property name="junit.jar" value="${jar.dir}/junit.jar" />
 
+    <property name="testoutput-parent.dir" value="test"/>
     <property name="testoutput.dir" value="test/output"/>
 
     <property name="file" value=""/>
@@ -67,7 +68,9 @@
         <delete dir="${lib.dir}"/>
         <delete dir="${bin.dir}"/>
         <delete file="checkstyle.cache" />
-        <delete dir="${testoutput.dir}"/>
+        <delete dir="${testoutput-parent.dir}"/>
+        <delete dir="${dist.dir}"/>
+        <delete dir="${website.build.dir}"/>
     </target>
     
     <target name="pdfbox.init">
@@ -160,9 +163,11 @@
 
     <target name="package" depends="compile" description="Package pdfbox into a jar file">
         <property name="release.name" value="${project.name}-${project.version}" />
+        <!--
         <propertyfile file="${resources.dir}/pdfbox.version">
             <entry  key="pdfbox.version" value="${release.name}"/>
         </propertyfile>
+        -->
 
         <jar jarfile="./lib/${release.name}.jar">
             <fileset dir="${dest.dir}">
@@ -404,8 +409,8 @@
                classpathref="build.classpath" 
                encoding="ISO-8859-1"
                breakiterator="yes">
-            <link href="http://java.sun.com/j2se/1.4.2/docs/api/"/>
-            <link href="http://jakarta.apache.org/lucene/docs/api/" />
+            <!--<link href="http://java.sun.com/j2se/1.4.2/docs/api/"/>-->
+            <!--<link href="http://jakarta.apache.org/lucene/docs/api/" />-->
             <!--<link href="http://jakarta.apache.org/ant/manual/api/" />-->
         </javadoc>
     </target>
@@ -418,4 +423,4 @@
        <antcall target="site"/>
     </target>
 
-</project>
\ No newline at end of file
+</project>