avro-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From su...@apache.org
Subject avro git commit: AVRO-2038 fix extra characters in build.xml
Date Thu, 01 Jun 2017 02:03:06 GMT
Repository: avro
Updated Branches:
  refs/heads/master c9f2c4924 -> ddfcabcee


AVRO-2038 fix extra characters in build.xml

Strip the extra characters presented by VERSION.txt to build.xml in the doc creation.

This closes #228

Signed-off-by: sacharya <suraj@apache.org>


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

Branch: refs/heads/master
Commit: ddfcabcee064d137fb0b9082e8c522ab900433c2
Parents: c9f2c49
Author: rodcoelho <rod@coelhoinvestments.com>
Authored: Wed May 31 15:02:57 2017 -0500
Committer: sacharya <suraj@apache.org>
Committed: Wed May 31 21:02:39 2017 -0500

----------------------------------------------------------------------
 doc/build.xml | 8 +++++---
 1 file changed, 5 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/avro/blob/ddfcabce/doc/build.xml
----------------------------------------------------------------------
diff --git a/doc/build.xml b/doc/build.xml
index 1e7c058..5533019 100644
--- a/doc/build.xml
+++ b/doc/build.xml
@@ -22,9 +22,11 @@
   <!-- Load user's default properties. -->
   <property file="${user.home}/build.properties" />
 
-  <loadresource property="version">
-    <file file="${basedir}/../share/VERSION.txt"/>
-  </loadresource>
+  <loadfile srcFile="${basedir}/../share/VERSION.txt" property="version">
+    <filterchain>
+      <striplinebreaks/>
+    </filterchain>
+  </loadfile>
 
   <property name="build.dir" value="../build/avro-doc-${version}"/>
 


Mime
View raw message