ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject problem with apply-task and attrib
Date Fri, 10 May 2002 09:18:39 GMT

on WinNT I want to set the "r"-attribute of all files in a tree.
I tried to use the apply-task but it doesn't work how I want it to.

My code:
<apply executable="attrib"
    <fileset dir="???????" />
    <arg value="+r" />
    <arg value="*.*" />
    <arg value="/s" />

Ant should run the attrib-command only once in the directory ${sandbox}.
What should I write in the fileset?
Because the tree-walker of attrib is much faster than the one from
Java/Ant I don't want to use a fileset including all files and
directories but i want to use the argument "/s".

Thanks for help,

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

View raw message