ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Conor MacNeill" <co...@cortexebusiness.com.au>
Subject RE: chmod int Ant 1.3
Date Wed, 28 Mar 2001 23:50:06 GMT
George,

Please run "ant -version" and let us know what it says. The message you are
getting is from Ant version 0.3.1 which was included with Tomcat 3.1. I'd
look for an ant.jar in your classpath somewhere.

Conor


> -----Original Message-----
> From: armhold@cs.rutgers.edu [mailto:armhold@cs.rutgers.edu]On Behalf Of
> George Armhold
> Sent: Thursday, 29 March 2001 3:27 AM
> To: ant-user@jakarta.apache.org
> Subject: chmod int Ant 1.3
>
>
> 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
>


Mime
View raw message