You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by kriss <ma...@hotmail.com> on 2004/01/14 11:36:46 UTC
[ANT-USER] copy with fileset : error on RECYCLER
Hi,
I have to replicate some files from one station to another, regarding their name but it the same directory. I'm unfortunately on windows. My build file is very simple :
<?xml version="1.0"?>
<project name="versioncopy" default="main" basedir=".">
<property name="ydir" value="Y://"/>
<property name="zdir" value="Z:/"/>
<target name="main">
<copy todir="${ydir}" failonerror="false">
<fileset dir="${zdir}">
<include name="**/version"/>
</fileset>
</copy>
</target>
</project>
And I've got this message and no file are copied :
Buildfile: build.xml
main:
BUILD FAILED
file:P://build.xml:9: IO error scanning directory Y:\RECYCLER\S-1-5-21-1993962763-1580436667-1060284298-500
I do not understand because I use failonerror="false" and do not find any solution ... I try to use exclude in fileset but it didn't change anything.
Thanks for any help,
Kriss