I'm trying to use the "chmod" built in task in Ant 1.3 (RedHat Linux 7,
JDK 1.3.0). It complains about the "file" property, which is actually
required. I had this problem with 1.2, and was hoping it'd be fixed in
1.3. I'm stumped. The code snippet looks like:
<chmod file="${deploy.dir}/${app.name}.jar" perm="ugo+r"/>
and produces:
Project base dir set to: /home/armhold/java/armhold-graph
BUILD CONFIG ERROR: Configuration property "file" does not have a
setMethod in class org.apache.tools.ant.taskdefs.Chmod
org.apache.tools.ant.BuildException: Configuration property "file" does
not have a setMethod in class org.apache.tools.ant.taskdefs.Chmod
at
org.apache.tools.ant.ProjectHelper.configure(ProjectHelper.java:355)
at
org.apache.tools.ant.ProjectHelper.configureTasks(ProjectHelper.java:221)
at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:193)
at
org.apache.tools.ant.ProjectHelper.configureProject(ProjectHelper.java:134)
at org.apache.tools.ant.Main.runBuild(Main.java:223)
at org.apache.tools.ant.Main.main(Main.java:191)
Thanks for any help.
--
George Armhold
Rutgers University
Bioinformatics Initiative