LUCENE-2973: In the svn-export-source target, switched from <arg line="..."> argument specification to <arg value="...">, to avoid problems with argument splitting on space-containing paths.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1084307 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Steven Rowe 2011-03-22 19:26:07 +00:00
parent ed20a24d22
commit 7754f30801
2 changed files with 14 additions and 2 deletions

View File

@ -361,7 +361,13 @@
<delete dir="${svn.export.dir}" includeemptydirs="true" failonerror="false"/> <delete dir="${svn.export.dir}" includeemptydirs="true" failonerror="false"/>
<mkdir dir="${build.dir}"/> <mkdir dir="${build.dir}"/>
<exec dir="." executable="svn" failonerror="true"> <exec dir="." executable="svn" failonerror="true">
<arg line="export --native-eol LF -r ${svn.Revision} ${svn.URL} ${svn.export.dir}"/> <arg value="export"/>
<arg value="--native-eol"/>
<arg value="LF"/>
<arg value="-r"/>
<arg value="${svn.Revision}"/>
<arg value="${svn.URL}"/>
<arg value="${svn.export.dir}"/>
</exec> </exec>
</target> </target>

View File

@ -763,7 +763,13 @@
<delete dir="${svn.export.dir}" includeemptydirs="true" failonerror="false"/> <delete dir="${svn.export.dir}" includeemptydirs="true" failonerror="false"/>
<mkdir dir="${dest}"/> <mkdir dir="${dest}"/>
<exec dir="." executable="svn" failonerror="true"> <exec dir="." executable="svn" failonerror="true">
<arg line="export --native-eol LF -r ${svn.Revision} ${svn.URL} ${svn.export.dir}"/> <arg value="export"/>
<arg value="--native-eol"/>
<arg value="LF"/>
<arg value="-r"/>
<arg value="${svn.Revision}"/>
<arg value="${svn.URL}"/>
<arg value="${svn.export.dir}"/>
</exec> </exec>
</target> </target>