cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From aweisb...@apache.org
Subject [02/15] cassandra git commit: Set javac encoding to utf-8
Date Fri, 21 Apr 2017 20:27:58 GMT
Set javac encoding to utf-8

Patch by Ariel Weisberg; Reviewed by Jason Brown for CASSANDRA-13466


Project: http://git-wip-us.apache.org/repos/asf/cassandra/repo
Commit: http://git-wip-us.apache.org/repos/asf/cassandra/commit/572fef8a
Tree: http://git-wip-us.apache.org/repos/asf/cassandra/tree/572fef8a
Diff: http://git-wip-us.apache.org/repos/asf/cassandra/diff/572fef8a

Branch: refs/heads/cassandra-2.2
Commit: 572fef8a06172bd925c478ec16540e8e28e84bd7
Parents: 3dfc784
Author: Ariel Weisberg <aweisberg@apple.com>
Authored: Fri Apr 21 14:21:32 2017 -0400
Committer: Ariel Weisberg <aweisberg@apple.com>
Committed: Fri Apr 21 16:15:42 2017 -0400

----------------------------------------------------------------------
 CHANGES.txt | 1 +
 build.xml   | 5 ++++-
 2 files changed, 5 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cassandra/blob/572fef8a/CHANGES.txt
----------------------------------------------------------------------
diff --git a/CHANGES.txt b/CHANGES.txt
index eacd275..2517432 100644
--- a/CHANGES.txt
+++ b/CHANGES.txt
@@ -1,4 +1,5 @@
 2.1.18
+ * Set javac encoding to utf-8 (CASSANDRA-13466)
  * Fix 2ndary index queries on partition keys for tables with static columns (CASSANDRA-13147)
  * Fix ParseError unhashable type list in cqlsh copy from (CASSANDRA-13364)
  * Log stacktrace of uncaught exceptions (CASSANDRA-13108)

http://git-wip-us.apache.org/repos/asf/cassandra/blob/572fef8a/build.xml
----------------------------------------------------------------------
diff --git a/build.xml b/build.xml
index da42975..6d64025 100644
--- a/build.xml
+++ b/build.xml
@@ -708,6 +708,7 @@
         <!-- Order matters! -->
         <javac fork="true"
                debug="true" debuglevel="${debuglevel}"
+               encoding="utf-8"
                destdir="${build.classes.thrift}" includeantruntime="false" source="${source.version}"
target="${target.version}"
                memorymaximumsize="512M">
             <src path="${interface.thrift.dir}/gen-java"/>
@@ -715,6 +716,7 @@
         </javac>
         <javac fork="true"
                debug="true" debuglevel="${debuglevel}"
+               encoding="utf-8"
                destdir="${build.classes.main}" includeantruntime="false" source="${source.version}"
target="${target.version}"
                memorymaximumsize="512M">
             <src path="${build.src.java}"/>
@@ -739,7 +741,7 @@
     </path>
     <target name="stress-build" depends="build" description="build stress tool">
     	<mkdir dir="${stress.build.classes}" />
-        <javac debug="true" debuglevel="${debuglevel}" destdir="${stress.build.classes}"
includeantruntime="true" source="${source.version}" target="${target.version}">
+        <javac debug="true" debuglevel="${debuglevel}" encoding="utf-8" destdir="${stress.build.classes}"
includeantruntime="true" source="${source.version}" target="${target.version}">
             <src path="${stress.build.src}" />
             <classpath>
                 <path refid="cassandra.classes" />
@@ -1072,6 +1074,7 @@
     <javac
      debug="true"
      debuglevel="${debuglevel}"
+     encoding="utf-8"
      destdir="${test.classes}"
      includeantruntime="false"
      source="${source.version}" 


Mime
View raw message