File: 01-compilation-settings.patch

package info (click to toggle)
libxmpcore-java 5.1.3-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, buster, forky, sid, trixie
  • size: 832 kB
  • sloc: java: 10,264; xml: 123; makefile: 5
file content (21 lines) | stat: -rw-r--r-- 697 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
Description: Set the compiler settings to fix the unmappable character errors with Java 7
Author: Emmanuel Bourg <ebourg@apache.org>
Forwarded: no
--- a/XMPCore/build.xml
+++ b/XMPCore/build.xml
@@ -65,7 +65,7 @@
 
 	<target name="javac">
 		<mkdir dir="${intermediate.dir}/${path}" />
-		<javac debug="${debug}" destdir="${intermediate.dir}/${path}">
+		<javac debug="${debug}" destdir="${intermediate.dir}/${path}" source="1.6" target="1.6" encoding="iso-8859-1">
 			<src path="${src.dir}" />
 		</javac>
 	</target>
@@ -149,4 +149,4 @@
 		<include name="**/*.class" />
 		<include name="**/version.properties" />
 	</patternset>
-</project>
\ No newline at end of file
+</project>