Debian Codegraph @

debian/patches/set_default_java_target

raw
1 Author: Olivier Sallou <[email protected]>
2 Subject: set target to Java 1.6
3 Description: set minimal java version
4 Last-Updated: 2016-06-20
5 Forwarded: no
6 --- a/build.xml
7 +++ b/build.xml
8 @@ -32,7 +32,7 @@
9
10 -->
11
12 -<project default="package" basedir=".">
13 +<project default="dist" basedir=".">
14
15 <target name="init">
16 <tstamp />
17 @@ -124,12 +124,13 @@
18 </fileset>
19 </copy>
20
21 - <!-- Copies demos files -->
22 + <!-- Copies demos files
23 <copy todir="${build.src.demos}">
24 <fileset dir="${demos.dir}">
25 <exclude name="**/CVS/**" />
26 </fileset>
27 </copy>
28 + -->
29
30 <!-- Copies manifest -->
31 <!-- copydir src="${manifest.dir}" dest="${build.src}" includes="${manifest.file}"/ -->
32 @@ -148,11 +149,13 @@
33
34 <!-- Copies resources -->
35 <!-- copydir src="${resources.dir}" dest="${build.src}" excludes="CVS,cvs"/ -->
36 + <!--
37 <copy todir="${build.dest.main}">
38 <fileset dir="${resources.dir}">
39 <exclude name="**/CVS/**" />
40 </fileset>
41 </copy>
42 + -->
43 </target>
44
45 <target name="prepare-src" depends="init,prepare-core" />
46 @@ -166,6 +169,7 @@
47 deprecation="false"
48 depend="no"
49 debug="true"
50 + source="1.6" target="1.6"
51 />
52 </target>
53
54 @@ -175,6 +179,7 @@
55 srcdir="${build.src.tests}"
56 destdir="${build.dest.tests}"
57 deprecation="true"
58 + source="1.6" target="1.6"
59 depend="yes">
60 <classpath>
61 <pathelement path="${classpath}" />
62 @@ -189,6 +194,7 @@
63 srcdir="${build.src.demos}"
64 destdir="${build.dest.demos}"
65 deprecation="true"
66 + source="1.6" target="1.6"
67 depend="yes">
68 <classpath>
69 <pathelement path="${classpath}" />