Return-Path: Delivered-To: apmail-jakarta-ant-dev-archive@apache.org Received: (qmail 26533 invoked from network); 27 Feb 2002 13:19:46 -0000 Received: from unknown (HELO nagoya.betaversion.org) (192.18.49.131) by daedalus.apache.org with SMTP; 27 Feb 2002 13:19:46 -0000 Received: (qmail 27979 invoked by uid 97); 27 Feb 2002 13:19:42 -0000 Delivered-To: qmlist-jakarta-archive-ant-dev@jakarta.apache.org Received: (qmail 27963 invoked by uid 97); 27 Feb 2002 13:19:42 -0000 Mailing-List: contact ant-dev-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Developers List" Reply-To: "Ant Developers List" Delivered-To: mailing list ant-dev@jakarta.apache.org Received: (qmail 27951 invoked by uid 97); 27 Feb 2002 13:19:41 -0000 Date: 27 Feb 2002 13:19:40 -0000 Message-ID: <20020227131940.16425.qmail@icarus.apache.org> From: adammurdoch@apache.org To: jakarta-ant-cvs@apache.org Subject: cvs commit: jakarta-ant/proposal/myrmidon/docs todo.html X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N adammurdoch 02/02/27 05:19:40 Modified: proposal/myrmidon/src/xdocs todo.xml proposal/myrmidon/docs todo.html Log: Added more stuff to the todo list. Revision Changes Path 1.2 +73 -0 jakarta-ant/proposal/myrmidon/src/xdocs/todo.xml Index: todo.xml =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/src/xdocs/todo.xml,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- todo.xml 27 Feb 2002 01:24:12 -0000 1.1 +++ todo.xml 27 Feb 2002 13:19:40 -0000 1.2 @@ -73,6 +73,79 @@ + + +

The file data-types, such as <fileset> and +<path>, are some of the most widely used parts of Ant 1.x. +Unfortunately, they aren't particularly extensible.

+ +
    +
  • Redesign the file data-types, replacing them with an interface-based + API, plus a set of implementations. The API should use the VFS file + FileObject, rather than java.io.File. + This process has started, in the antlib.vfile package. +
  • +
  • File Selectors: +
      +
    • Change AbstractNameFileSelector to use Ant 1 style patterns + matches, rather than Globs patterns.
    • +
    • Add 'defaultexcludes' to DefaultFileSet. Also add a + file selector implementation that matches everything except the default + excludes.
    • +
    • Add a condition -> file selector adaptor, so that arbitrary conditions + can be used to select files.
    • +
    • Add a name selector that loads patterns from a file.
    • +
    • Add more selector implementations: size and last-modified comparisons, + checksum comparison, byte-wise content comparison.
    • +
  • +
  • File Name Mappers: +
      +
    • Add a file name mapper interface, and port the current Mapper + implementations to it.
    • +
  • +
  • File Sets: +
      +
    • Add a file set implementation that uses a mapper to transform a nested + file set.
    • +
    • Add a file set implementation that provides the union of several + nested file sets (that is, a file set that merges several file sets + together).
    • +
    • Add a file set implementation that filters files that are up-to-date + WRT some other file. Alternatively, this might be better done using a + file selector.
    • +
  • +
  • Paths: +
      +
    • Add path implementations that evaluate to the system classpath, + and the ant runtime classpath. Or, more generally, combine this with + ClassLoaderManager to evaluate to the classpath of any + 'library' (e.g. system classpath, ant runtime, tools.jar, + an antlib, an installed extension, or the system classes of another JVM + for cross-compiling).
    • +
  • +
  • File Filters: +
      +
    • Add a file filter interface, and use it in the copy task.
    • +
    • Add a filter implementation that applies the token replacement that + the old copy task provides.
    • +
    • Add a filter that does cr/lf translation.
    • +
    • Add a gzip/gunzip filter.
    • +
    • Add a filter that applies character set encode/decode.
    • +
  • +
  • Copy task: +
      +
    • Implement 'preservelastmodified', 'overwrite', and 'includeemptydirs'.
    • +
    • Support a file name mapper.
    • +
    • Support file filters.
    • +
  • +
  • Implement the <move>, <delete>, + <touch> and <mkdir> tasks on top + of the VFS and the new file data-types. Might be some scope for generalising + 'touch' and 'mkdir' into a single task.
  • +
+ +
+

One of the goals of Ant 2 is to allow the user to easily customise and 1.2 +78 -0 jakarta-ant/proposal/myrmidon/docs/todo.html Index: todo.html =================================================================== RCS file: /home/cvs/jakarta-ant/proposal/myrmidon/docs/todo.html,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- todo.html 27 Feb 2002 01:24:11 -0000 1.1 +++ todo.html 27 Feb 2002 13:19:40 -0000 1.2 @@ -140,6 +140,84 @@ + +
+ File Data-Types and Tasks + +
+
+

The file data-types, such as <fileset> and +<path>, are some of the most widely used parts of Ant 1.x. +Unfortunately, they aren't particularly extensible.

+
    +
  • Redesign the file data-types, replacing them with an interface-based + API, plus a set of implementations. The API should use the VFS file + FileObject, rather than java.io.File. + This process has started, in the antlib.vfile package. +
  • +
  • File Selectors: +
      +
    • Change AbstractNameFileSelector to use Ant 1 style patterns + matches, rather than Globs patterns.
    • +
    • Add 'defaultexcludes' to DefaultFileSet. Also add a + file selector implementation that matches everything except the default + excludes.
    • +
    • Add a condition -> file selector adaptor, so that arbitrary conditions + can be used to select files.
    • +
    • Add a name selector that loads patterns from a file.
    • +
    • Add more selector implementations: size and last-modified comparisons, + checksum comparison, byte-wise content comparison.
    • +
  • +
  • File Name Mappers: +
      +
    • Add a file name mapper interface, and port the current Mapper + implementations to it.
    • +
  • +
  • File Sets: +
      +
    • Add a file set implementation that uses a mapper to transform a nested + file set.
    • +
    • Add a file set implementation that provides the union of several + nested file sets (that is, a file set that merges several file sets + together).
    • +
    • Add a file set implementation that filters files that are up-to-date + WRT some other file. Alternatively, this might be better done using a + file selector.
    • +
  • +
  • Paths: +
      +
    • Add path implementations that evaluate to the system classpath, + and the ant runtime classpath. Or, more generally, combine this with + ClassLoaderManager to evaluate to the classpath of any + 'library' (e.g. system classpath, ant runtime, tools.jar, + an antlib, an installed extension, or the system classes of another JVM + for cross-compiling).
    • +
  • +
  • File Filters: +
      +
    • Add a file filter interface, and use it in the copy task.
    • +
    • Add a filter implementation that applies the token replacement that + the old copy task provides.
    • +
    • Add a filter that does cr/lf translation.
    • +
    • Add a gzip/gunzip filter.
    • +
    • Add a filter that applies character set encode/decode.
    • +
  • +
  • Copy task: +
      +
    • Implement 'preservelastmodified', 'overwrite', and 'includeemptydirs'.
    • +
    • Support a file name mapper.
    • +
    • Support file filters.
    • +
  • +
  • Implement the <move>, <delete>, + <touch> and <mkdir> tasks on top + of the VFS and the new file data-types. Might be some scope for generalising + 'touch' and 'mkdir' into a single task.
  • +
+
+
+ + -- To unsubscribe, e-mail: For additional commands, e-mail:
+ Command-line and Configuration Files