git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278034 13f79535-47bb-0310-9956-ffa450edef68master
@@ -77,6 +77,13 @@ | |||||
style="printParams.xsl"/> | style="printParams.xsl"/> | ||||
</target> | </target> | ||||
<target name="testDirsWithSpaces"> | |||||
<mkdir dir="${out.dir}/s rc/"/> | |||||
<copy file="data.xml" todir="${out.dir}/s rc/"/> | |||||
<style basedir="${out.dir}/s rc" destdir="${out.dir}/d est" | |||||
style="printParams.xsl"/> | |||||
</target> | |||||
<target name="copyXsl" if="xsl.value"> | <target name="copyXsl" if="xsl.value"> | ||||
<copy file="testNewerStylesheet.xsl" tofile="tmp.xsl" overwrite="true"> | <copy file="testNewerStylesheet.xsl" tofile="tmp.xsl" overwrite="true"> | ||||
<filterchain><expandproperties/></filterchain> | <filterchain><expandproperties/></filterchain> | ||||
@@ -102,6 +102,12 @@ public class StyleTest extends BuildFileTest { | |||||
.exists()); | .exists()); | ||||
} | } | ||||
public void testDirsWithSpaces() throws Exception { | |||||
executeTarget("testDirsWithSpaces"); | |||||
assertTrue(getProject().resolveFile("out/d est/data.html") | |||||
.exists()); | |||||
} | |||||
// ************* copied from ConcatTest ************* | // ************* copied from ConcatTest ************* | ||||
// ------------------------------------------------------ | // ------------------------------------------------------ | ||||