ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: chmod task
Date Fri, 19 Jul 2002 20:54:36 GMT

----- Original Message -----
From: "Dominique Devienne" <DDevienne@lgc.com>
To: "'Ant Users List'" <ant-user@jakarta.apache.org>
Sent: Friday, July 19, 2002 1:17 PM
Subject: RE: chmod task


> 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!

ooh, that could be sign of a very old version of ant indeed Ant 1.0? 1.1?
What does ant -verbose say.

Upgrade to ant1.5, add init to the depends list.


> -----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




--
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