ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dominique Devienne <>
Subject RE: chmod task
Date Fri, 19 Jul 2002 20:17:12 GMT
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 [] 
Sent: Friday, July 19, 2002 6:21 PM
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="*"/>

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
I get the error:

Configuration property "dir" does not have a setMethod in class

I read the ANT users guide and I cant figure out what the problem is.
Anyone have any ideas?


To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message