ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ehatc...@apache.org
Subject cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional XMLValidateTask.java
Date Sat, 20 Apr 2002 13:57:28 GMT
ehatcher    02/04/20 06:57:28

  Modified:    .        build.xml
               src/main/org/apache/tools/ant/taskdefs/optional
                        XMLValidateTask.java
  Log:
  fixed XMLValidate task and test - see the kind of trouble we can get into using String for
filename parameters?!  :)
  
  Revision  Changes    Path
  1.298     +0 -1      jakarta-ant/build.xml
  
  Index: build.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/build.xml,v
  retrieving revision 1.297
  retrieving revision 1.298
  diff -u -r1.297 -r1.298
  --- build.xml	18 Apr 2002 18:18:59 -0000	1.297
  +++ build.xml	20 Apr 2002 13:57:28 -0000	1.298
  @@ -289,7 +289,6 @@
       <exclude name="${optional.package}/splash/*.java" unless="swing.present" />
     </patternset>
     <patternset id="teststhatfail">
  -    <exclude name="${optional.package}/XmlValidateTest.java" unless="run.failing.tests"
/>
     </patternset>
   
     <!--
  
  
  
  1.15      +1 -1      jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java
  
  Index: XMLValidateTask.java
  ===================================================================
  RCS file: /home/cvs/jakarta-ant/src/main/org/apache/tools/ant/taskdefs/optional/XMLValidateTask.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- XMLValidateTask.java	15 Apr 2002 13:36:19 -0000	1.14
  +++ XMLValidateTask.java	20 Apr 2002 13:57:28 -0000	1.15
  @@ -490,7 +490,7 @@
                   return;
               }
   
  -            File fileDTD = new File(location);
  +            File fileDTD = project.resolveFile(location);
               if (fileDTD.exists()) {
                   if (publicId != null) {
                       fileDTDs.put(publicId, fileDTD);
  
  
  

--
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