ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 5035] - Patternset and fileset enhancements
Date Fri, 07 Jan 2005 17:53:03 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=5035>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=5035





------- Additional Comments From alexeys@inventigo.com  2005-01-07 18:53 -------
proposal:

  class GenericFileset {
    List<FSInfo> list();
  }

  // real file system fileset
  class FileSet extends GenericFileset {
    File getDir();
    // ....
    static GenericFileset applyMapper(Mapper m);
    static GenericFileset join(GenericFileset fs1, GenericFileset fs2);
  }

  class ModernTask {
    void addFileset(GenericFileset fs);
  }

  class OldFileset {
    void addFileset(Fileset fs);
  }

... and backward compatibility is preserved allowing incremental port of tasks
that can support new feature (<copy>, <sync>, <replace>, even <javac>).

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


Mime
View raw message