FAQ
I cannot exclude a directory from being touched.
The solution has to be simple, any advice?

I tried a simple task:
deleting all files with *.bak at the end.
No problem so far.
But in XP there is a directory called
C:\System Volume Information

I cannot exlude it from being touched.

I tried
<exclude name="C:\System Volume Information\*"/>
as well as
<exclude name="C:\System*"/>

but all leads to an ant error:

BUILD FAILED
file:C://build.xml:12: IO error scanning directory C:\System Volume
Information
at
org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:6
41)
at
org.apache.tools.ant.DirectoryScanner.scandir(DirectoryScanner.java:7
02)
at
org.apache.tools.ant.DirectoryScanner.scan(DirectoryScanner.java:571)

at
org.apache.tools.ant.types.AbstractFileSet.getDirectoryScanner(Abstra
ctFileSet.java:379)
at org.apache.tools.ant.taskdefs.Delete.execute(Delete.java:334)
at org.apache.tools.ant.Task.perform(Task.java:319)
at org.apache.tools.ant.Target.execute(Target.java:309)
at org.apache.tools.ant.Target.performTasks(Target.java:336)
at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
at org.apache.tools.ant.Project.executeTargets(Project.java:1250)
at org.apache.tools.ant.Main.runBuild(Main.java:610)
at org.apache.tools.ant.Main.start(Main.java:196)
at org.apache.tools.ant.Main.main(Main.java:235)


--
To unsubscribe, e-mail:
For additional commands, e-mail:

Search Discussions

Discussion Posts

Follow ups

Related Discussions

Discussion Navigation
viewthread | post
posts ‹ prev | 1 of 12 | next ›
Discussion Overview
groupuser @
categoriesant
postedNov 14, '02 at 11:21a
activeNov 21, '02 at 10:38a
posts12
users4
websiteant.apache.org

People

Translate

site design / logo © 2018 Grokbase