You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Italo Compostella <co...@cpeag.ch> on 2003/03/05 16:58:57 UTC
replace
The replace task of the following target causes a failed build.
Without the replace task the build.xml works fine.
<target name="copy_replace" depends="_init">
<copy todir="${dir.templates}" overwrite="true">
<fileset dir="${basedir}"
includes="*.xsl,lib/*.xsl,rsc/*.xsl"/>
</copy>
<replace dir="${dir.templates}" includes="**/*.xsl"
token="${include-url}" value="${dir.copybooks}"
summary="true"/>
</target>
It ends always with this message:
BUILD FAILED
file:I:/maindir/subdir/build-test.xml:150:
Couldn't rename temporary file
I:\maindir\subdir\test\templates\rep-20156835.tmp
Help would really be appreciated.
Italo