ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Italo Compostella" <co...@cpeag.ch>
Subject replace
Date Wed, 05 Mar 2003 15:58:57 GMT
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 


Mime
View raw message