http://www.ant-tasks.com/
Apache Ant Archive
»
Ant Users List
»
Ant Developers List
replace
replace
2003-03-05 - By Italo Compostella
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
©2008 ant-tasks.com - Jax Systems, LLC, U.S.A.