ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Scot P. Floess" <sflo...@nc.rr.com>
Subject Re: CHMOD and "."
Date Tue, 14 Dec 2010 14:06:01 GMT

And apparently I didn't read your requirement correctly...again

<chmod perm="755">
        <fileset dir="${build}" includes="domunit"/>
        <fileset dir="${build}/domunit"/>
</chmod>

That should work...



On Tue, 14 Dec 2010, Scot P. Floess wrote:

>
> Sorry, I hit send too soon...
> What I sent won't work either...
>
> You might try:
>
>         <chmod perm="755">
>                <fileset dir="${build}"  includes="domunit"/>
>         </chmod>
>
>
>>  I want Ant to change permissions on a directory, recursively. I have:
>>
>>         <chmod perm="755">
>>         	<fileset dir="${build}/domunit"/>
>>         </chmod>
>>
>>  Yet the result does not include the "domunit" directory itself (see
>>  below). How can I change this to set the permission on "." to 755?
>>
>>  tomomi:domunit garrett$ pwd
>>  /Users/garrett/workspace/ape-javascript-library/build/domunit
>>  tomomi:domunit garrett$ ls -al
>>  total 136
>>  drwx------   5 garrett  staff    170 Dec 12 22:03 .
>>  drwx------  68 garrett  staff   2312 Dec 13 01:43 ..
>>  -rwxr-xr-x   1 garrett  staff    625 Dec 12 22:03 TestReporter.css
>>  -rwxr-xr-x   1 garrett  staff  64071 Dec 12 22:03 domunit.js
>>  drwxr-xr-x   3 garrett  staff    102 Dec  8 21:23 eventsynth
>>  tomomi:domunit garrett$
>> 
>
>

-- 
Scot P. Floess


RHCT  (Certificate Number 605010084735240)

Chief Architect FlossWare  http://sourceforge.net/projects/flossware
                            http://flossware.sourceforge.net
                            https://github.com/organizations/FlossWare

Chief Architect JPlate     http://sourceforge.net/projects/jplate
Chief Architect JavaPIM    http://sourceforge.net/projects/javapim
Chief Architect Keros      http://sourceforge.net/projects/keros

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


Mime
View raw message