Skip to content

Commit ddfcabc

Browse files
rodcoelhospacharya
authored andcommittedJun 1, 2017
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 apache#228 Signed-off-by: sacharya <[email protected]>
1 parent c9f2c49 commit ddfcabc

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed
 

‎doc/build.xml

+5-3
Original file line numberDiff line numberDiff line change
@@ -22,9 +22,11 @@
2222
<!-- Load user's default properties. -->
2323
<property file="${user.home}/build.properties" />
2424

25-
<loadresource property="version">
26-
<file file="${basedir}/../share/VERSION.txt"/>
27-
</loadresource>
25+
<loadfile srcFile="${basedir}/../share/VERSION.txt" property="version">
26+
<filterchain>
27+
<striplinebreaks/>
28+
</filterchain>
29+
</loadfile>
2830

2931
<property name="build.dir" value="../build/avro-doc-${version}"/>
3032

0 commit comments

Comments
 (0)
Please sign in to comment.