ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeroen" <j_breedv...@hotmail.com>
Subject newbie: problem with <delete dir="com" includes="*.java" />
Date Fri, 11 Aug 2000 12:06:18 GMT
Hi,

why doesn't this work?

this:

<target name="clean" depends="init">
  <delete dir="com" includes="*.java" />
</target>

responds with:

C:\myproject>ant clean
Buildfile: build.xml
Project base dir set to: C:\myproject
BUILD CONFIG ERROR: Configuration property "dir" does not have a set
ass org.apache.tools.ant.taskdefs.Delete
org.apache.tools.ant.BuildException: Configuration property "dir" do
a setMethod in class org.apache.tools.ant.taskdefs.Delete
        at org.apache.tools.ant.ProjectHelper.configure(ProjectHelpe
iled Code)
        at org.apache.tools.ant.ProjectHelper.configureTasks(Project
 Compiled Code)
        at org.apache.tools.ant.ProjectHelper.configureTargets(Proje
a, Compiled Code)
        at org.apache.tools.ant.ProjectHelper.configureProject(Proje
a:127)
        at org.apache.tools.ant.Main.runBuild(Main.java, Compiled Co
        at org.apache.tools.ant.Main.main(Main.java, Compiled Code)

anyone any idea?

Note: the manual defines a parameter includes (with an S) for the task
delete and gives an example with parameter include (without an S)! I've
tried both but that doesn't seem to be the probleem.

greetings jeroen

Mime
View raw message