You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by ra...@apache.org on 2014/11/16 07:23:12 UTC
thrift git commit: THRIFT-2830:clean up ant tutorial warnings Client:
Tutorial Patch: Randy Abernethy
Repository: thrift
Updated Branches:
refs/heads/master 8c16ed79c -> c118db2ce
THRIFT-2830:clean up ant tutorial warnings
Client: Tutorial
Patch: Randy Abernethy
supress spurious ant warnings
Project: http://git-wip-us.apache.org/repos/asf/thrift/repo
Commit: http://git-wip-us.apache.org/repos/asf/thrift/commit/c118db2c
Tree: http://git-wip-us.apache.org/repos/asf/thrift/tree/c118db2c
Diff: http://git-wip-us.apache.org/repos/asf/thrift/diff/c118db2c
Branch: refs/heads/master
Commit: c118db2ce4423e725da2ada57998bc857e3e411a
Parents: 8c16ed7
Author: Randy Abernethy <ra...@apache.org>
Authored: Sat Nov 15 22:21:36 2014 -0800
Committer: Randy Abernethy <ra...@apache.org>
Committed: Sat Nov 15 22:21:36 2014 -0800
----------------------------------------------------------------------
tutorial/java/build.xml | 4 ++--
tutorial/js/build.xml | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/thrift/blob/c118db2c/tutorial/java/build.xml
----------------------------------------------------------------------
diff --git a/tutorial/java/build.xml b/tutorial/java/build.xml
index eceeca7..7638d5b 100644
--- a/tutorial/java/build.xml
+++ b/tutorial/java/build.xml
@@ -50,8 +50,8 @@
</target>
<target name="compile" depends="init, generate">
- <javac srcdir="${gen}" destdir="${build}" classpathref="libs.classpath" />
- <javac srcdir="${src}" destdir="${build}" classpathref="build.classpath" />
+ <javac includeantruntime="false" srcdir="${gen}" destdir="${build}" classpathref="libs.classpath" />
+ <javac includeantruntime="false" srcdir="${src}" destdir="${build}" classpathref="build.classpath" />
</target>
<target name="test" depends="tutorial" />
http://git-wip-us.apache.org/repos/asf/thrift/blob/c118db2c/tutorial/js/build.xml
----------------------------------------------------------------------
diff --git a/tutorial/js/build.xml b/tutorial/js/build.xml
index 73d535d..a9a9ad4 100644
--- a/tutorial/js/build.xml
+++ b/tutorial/js/build.xml
@@ -51,13 +51,13 @@
</target>
<target name="compile" depends="init">
- <javac srcdir="${gen}" destdir="${build}" classpathref="libs.classpath" />
- <javac srcdir="${javasrc}" destdir="${build}" classpathref="build.classpath">
+ <javac includeantruntime="false" srcdir="${gen}" destdir="${build}" classpathref="libs.classpath" />
+ <javac includeantruntime="false" srcdir="${javasrc}" destdir="${build}" classpathref="build.classpath">
<exclude name="JavaClient.java"/>
<exclude name="JavaServer.java"/>
<include name="CalculatorHandler.java"/>
</javac>
- <javac srcdir="${src}" destdir="${build}" classpathref="build.classpath">
+ <javac includeantruntime="false" srcdir="${src}" destdir="${build}" classpathref="build.classpath">
<compilerarg value="-Xlint:all"/>
</javac>
</target>