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 <[email protected]> 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 <[email protected]> Authored: Wed May 31 15:02:57 2017 -0500 Committer: sacharya <[email protected]> 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}"/>
