ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cos...@apache.org
Subject cvs commit: jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs XmlPropertyTest.java
Date Sat, 28 Dec 2002 16:54:12 GMT
costin      2002/12/28 08:54:12

  Modified:    src/testcases/org/apache/tools/ant/taskdefs
                        XmlPropertyTest.java
  Log:
  
  
  Revision  Changes    Path
  1.4       +4 -2      jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/XmlPropertyTest.java
  
  Index: XmlPropertyTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/testcases/org/apache/tools/ant/taskdefs/XmlPropertyTest.java,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- XmlPropertyTest.java	6 Nov 2002 08:43:46 -0000	1.3
  +++ XmlPropertyTest.java	28 Dec 2002 16:54:12 -0000	1.4
  @@ -290,8 +290,10 @@
               if (currentValue instanceof Path) {
               } else if (currentValue instanceof String) {
               } else {
  -                fail(msg + "-" + inputFile.getName() + " Key=" 
  -                     + currentKey + " is not a recognized type.");
  +                if( ! currentKey.startsWith("ant.") ) {
  +                    fail(msg + "-" + inputFile.getName() + " Key=" 
  +                         + currentKey + " is not a recognized type.");
  +                }
               }
           }
       }
  
  
  

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


Mime
View raw message