ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Regan <kev...@valicert.com>
Subject RE: delete question
Date Wed, 14 Jun 2000 19:39:01 GMT
It seems that the deltree and delete tasks do not support the
defaultexcludes
attribute (it is documented that they do not):

BUILD CONFIG ERROR

Class class org.apache.tools.ant.taskdefs.Deltree doesn't support the
"defaultexcludes" property
        at
org.apache.tools.ant.ProjectHelper.configure(ProjectHelper.java:451)
        at
org.apache.tools.ant.ProjectHelper.access$5(ProjectHelper.java:400)
        at
org.apache.tools.ant.ProjectHelper$TaskHandler.init(ProjectHelper.java:3
30)
        at
org.apache.tools.ant.ProjectHelper$TargetHandler.startElement(ProjectHel
per.java:311)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1391)
        at com.sun.xml.parser.Parser.content(Parser.java:1499)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
        at com.sun.xml.parser.Parser.content(Parser.java:1499)
        at com.sun.xml.parser.Parser.maybeElement(Parser.java:1400)
        at com.sun.xml.parser.Parser.parseInternal(Parser.java:492)
        at com.sun.xml.parser.Parser.parse(Parser.java:284)
        at
org.apache.tools.ant.ProjectHelper.parse(ProjectHelper.java:104)
        at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:8
6)
        at org.apache.tools.ant.Main.runBuild(Main.java:228)
        at org.apache.tools.ant.Main.main(Main.java:191)

--Kevin

-----Original Message-----
From: rubys@us.ibm.com [mailto:rubys@us.ibm.com]
Sent: Wednesday, June 14, 2000 12:30 PM
To: ant-dev@jakarta.apache.org
Subject: Re: delete question




Kevin Regan wrote:
> I'm trying to delete all files in all directories that end in '~'.

Try adding defaultexcludes="false".

- Sam Ruby


Mime
View raw message