From: "Magesh Umasankar" <[EMAIL PROTECTED]>
>
> Let us say, I want to include all files
> that have a size > 4 K but exclude those
> that are readonly with names beginning
> with "Test" with extension "jar" whose size
> is greater than 5K
>
> <fileset>
> <include name="**/*">
> <selector type="size"
> operation="greater-than"
> value="4K"/>
> </include>
> <exclude name="**/Test*.jar">
> <selector type="size"
> operation="greater-than"
> value="5K"/>
> </exclude>
> </fileset>
>
> How would you do that in your proposal?
>
Ooh, I missed the readonly part...
<fileset>
<include name="**/*">
<selector type="size"
operation="greater-than"
value="4K"/>
</include>
<exclude name="**/Test*.jar">
<selector type="permission"
value="r"/>
<selector type="size"
operation="greater-than"
value="5K"/>
</exclude>
</fileset>
Cheers,
Magesh
******************************************
Why do we wash bath towels? Aren't we *
clean when we use them? *
******************************************
--
To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>