[prev in list] [next in list] [prev in thread] [next in thread] 

List:       avro-commits
Subject:    avro git commit: AVRO-2038 fix extra characters in build.xml
From:       suraj () apache ! org
Date:       2017-06-01 2:03:06
Message-ID: ae56cae5bf104b5083262e11735afd85 () git ! apache ! org
[Download RAW message or body]

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}"/>
 

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic