Repository: avro Updated Branches: refs/heads/branch-1.8 7f2b8dda4 -> 960a84edf
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/960a84ed Tree: http://git-wip-us.apache.org/repos/asf/avro/tree/960a84ed Diff: http://git-wip-us.apache.org/repos/asf/avro/diff/960a84ed Branch: refs/heads/branch-1.8 Commit: 960a84edfd9cf7dee7ba5ee60c4efc95522024cd Parents: 7f2b8dd Author: rodcoelho <[email protected]> Authored: Wed May 31 15:02:57 2017 -0500 Committer: sacharya <[email protected]> Committed: Wed May 31 21:00:06 2017 -0500 ---------------------------------------------------------------------- doc/build.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/avro/blob/960a84ed/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}"/>
