add patch modifying build.xml clean target, not to delete build/bcel*
yesx
10 years ago
0 | Index: findbugs-2.0.2/build.xml | |
1 | =================================================================== | |
2 | --- findbugs-2.0.2.orig/build.xml 2013-08-30 17:24:12.545448719 +0800 | |
3 | +++ findbugs-2.0.2/build.xml 2013-08-30 17:24:51.969644185 +0800 | |
4 | @@ -1213,7 +1213,9 @@ | |
5 | <!-- Delete generated files. --> | |
6 | <target name="clean"> | |
7 | <delete dir="${scripts.dir}"/> | |
8 | - <delete dir="${build.dir}"/> | |
9 | + <delete> | |
10 | + <fileset dir="${build.dir}" excludes="bcel**/**"/> | |
11 | + </delete> | |
12 | <delete dir="${doc.dir}"/> | |
13 | <delete dir="${web.dir}"/> | |
14 | <delete dir="${apiDoc.dir}"/> | |
15 | Index: findbugs-2.0.2/build/bcel-5.2-src/bcel-5.2/build.xml | |
16 | =================================================================== | |
17 | --- findbugs-2.0.2.orig/build/bcel-5.2-src/bcel-5.2/build.xml 2013-08-30 17:24:06.809420285 +0800 | |
18 | +++ /dev/null 1970-01-01 00:00:00.000000000 +0000 | |
19 | @@ -1,39 +0,0 @@ | |
20 | -<project name="bcel" default="jar"> | |
21 | - | |
22 | - <property name="src.dir" value="src/java"/> | |
23 | - <property name="classes.dir" value="eclipse"/> | |
24 | - <property name="jar.dir" value="."/> | |
25 | - | |
26 | - <target name="jar" depends="clean,classes"> | |
27 | - <!-- Main engine and command line jar file. --> | |
28 | - <jar destfile="${jar.dir}/bcel.jar" > | |
29 | - <!-- Compiled classes, properties files. --> | |
30 | - <fileset dir="${classes.dir}"> | |
31 | - <include name="**/*.class"/> | |
32 | - </fileset> | |
33 | - </jar> | |
34 | - </target> | |
35 | - | |
36 | - <!-- Compile Java source files, and copy other files (properties, | |
37 | - images, html, XSL stylesheets) that need to be part of the codebase. --> | |
38 | - <target name="classes"> | |
39 | - <mkdir dir="${classes.dir}"/> | |
40 | - <!-- Compile Java source files. --> | |
41 | - <javac srcdir="${src.dir}" | |
42 | - destdir="${classes.dir}" | |
43 | - source="1.5" | |
44 | - target="jsr14" | |
45 | - deprecation="on" | |
46 | - debug="on"> | |
47 | - </javac> | |
48 | - </target> | |
49 | - <!-- Delete generated files. --> | |
50 | - <target name="clean"> | |
51 | - <delete file="${classes.dir}"/> | |
52 | - <mkdir dir="${classes.dir}"/> | |
53 | - </target> | |
54 | - | |
55 | - | |
56 | -</project> | |
57 | - | |
58 | -<!-- vim:set ts=4: --> |