ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Magesh Umasankar" <>
Subject [SUBMIT] Selector API Implementation
Date Sun, 13 Jan 2002 02:02:40 GMT

This is an implementation of the proposed Selector functionality
This is designed to work in Ant1 itself.

A minor change from the proposal is the retention of 'name' as
a mandatory attribute for include/exclude elements. 

This implementation allows addition of selectors as needed.

Each selector element takes in 3 attributes - type, value and
operation, such that one can say:

<include name="**/*.java">
   <selector type="type" operation="equals" value="file"/> 
   <selector type="modify-time" 
             value="29th Feb 2003"/>

I have implemented an example selector (FileTypeSelector).

Please take a look and vote to let me know if you find this 
worth commiting.

Note: must go into the 
/org/apache/tools/ant/selectors directory.


View raw message