ant-user mailing list archives

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

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"
       dir="${sandbox}">
    <fileset dir="???????" />
    <arg value="+r" />
    <arg value="*.*" />
    <arg value="/s" />
</apply>

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

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