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 17199] - patch to allow custom conditions (+ filters..)
Date Tue, 25 Feb 2003 14:50:53 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17199>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=17199

patch to allow custom conditions (+ filters..)





------- Additional Comments From peter.reilly@corvil.com  2003-02-25 14:50 -------
I have added a zip file containing
  1) the patch custom.patch2
  2) the resultant patched core java files:
           TaskAdapter.java      (src/main/org/apache/tools/ant)
           ConditionBase.java   (src/main/org/apache/tools/taskdefs/condition)
           AbstractFileSet.java  (src/main/org/apache/tools/types)
           FilterChain.java         (src/main/org/apache/tools/types)
           Mapper.java               (src/main/org/apache/tools/types)
   3) the patch file I use to
               - copy compiled ant.jar and optional.jar to ant home
               - comment out parts of the test CommandlineJavaTest that
                  does not work on my system

Test of patch:

 1) check out ant
     cvs -d :pserver:anoncvs@cvs.apache.org:/home/cvspublic checkout ant

  2) apply the patch
      >cd ant
      >patch -Np1 -i [path to]custom.patch2

      apply local patch
      >patch -Np1 -i [path to]local.patch

      compile ant
      >ant
      
       copy the ant.jar and optional.jar to ${ant.home}/lib
       (I need to do this to get the tests to work)

      >ant t

       run the tests. - Important, it seems that one needs to be
       in the top level directory to run the tests.

      > ant test

Mime
View raw message