ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From javadev82 <javade...@cox.net>
Subject Re: chmod task
Date Fri, 19 Jul 2002 23:39:08 GMT
It is the version of ANT that comes with Jakarta Tomcat 3.5

init may be deprecated, but the build works with it in there. The "bold"
line is the chmod line. That is the line which causes the problem. Any ideas?

Bill

Dominique Devienne wrote:

> Is it a hacked version of Ant? I've never head of the 'init' attribute of
> <target>... And I don't see in the 1.5 doc either!
>
> What bold line ;-) You're email is plain text. --DD
>
> -----Original Message-----
> From: javadev82 [mailto:javadev82@cox.net]
> Sent: Friday, July 19, 2002 6:21 PM
> To: ant-user@jakarta.apache.org
> Subject: chmod task
>
> Hello, I have the following in my build.xml file:
>
> <target name="dist" depends="prepare,compile" init="init">
>     <chmod dir="${deploy.home}" perm="ugo+rx" includes="rc*" />
>     <jar jarfile="${dist.home}/${dist.src}"
>          basedir="." items="*"/>
>     <jar jarfile="${dist.home}/${dist.war}"
>          basedir="${deploy.home}" items="*"/>
>   </target>
>
> What I want to get accomplished is to make all files which
> begin with "rc" in the deploy directory readable and executable.
>
> The build works fine without the bold line above, but when I add the
> line
> I get the error:
>
> Configuration property "dir" does not have a setMethod in class
> org.apache.tools.ant.taskdef.Chmod
>
> I read the ANT users guide and I cant figure out what the problem is.
> Anyone have any ideas?
>
> Thanks,
> Bill
>
> --
> To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
> For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message