ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Theo Mills <twmi...@gmail.com>
Subject IO error scanning directory
Date Wed, 30 Jun 2004 01:33:37 GMT
I searched for a solution for this, but I haven't found one that
works. Here's my build.xml snippet:

<delete>
    <fileset dir="${deployment.dir}" casesensitive="yes">
	  <include name="**/*"/>
	  <exclude name="**/*cache/**"/>
	  <exclude name="**/*templates_c/**"/>
    </fileset>
</delete>

I would like to exclude these directories and all their contents from
deletion. This works fine when the directories are empty, but when
they have contents it fails with:

BUILD FAILED
build.xml:85: IO error scanning directory /export/www/app/templates_c/%%-21

"%%-21" is a directory that is autogenerated by another process and
its permissions are:

drwxr-x--x  3 apache apache 4096 Jun 29 00:14 %%-21

Now, is there a pattern I can use that will truly ignore these
directories and not attempt a scan on them? I'm quite sure that it's
failing due to permissions. Here are the patterns I've tried, but none
have worked:

<exclude name="**/*templates_c/**"/>
<exclude name="**/*templates_c"/>
<exclude name="**/*templates_c/"/>

I appreciate any help, Thanks!

-Theo

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message