ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mben...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/types XMLCatalog.java
Date Thu, 09 Jun 2005 13:04:39 GMT
mbenson     2005/06/09 06:04:39

  Modified:    src/main/org/apache/tools/ant/types XMLCatalog.java
  Log:
  XmlCatalog had become broken with any dtd/entity location that was not a file.
  PR: 35269
  
  Revision  Changes    Path
  1.46      +1 -1      ant/src/main/org/apache/tools/ant/types/XMLCatalog.java
  
  Index: XMLCatalog.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/types/XMLCatalog.java,v
  retrieving revision 1.45
  retrieving revision 1.46
  diff -u -r1.45 -r1.46
  --- XMLCatalog.java	23 May 2005 19:30:38 -0000	1.45
  +++ XMLCatalog.java	9 Jun 2005 13:04:39 -0000	1.46
  @@ -670,7 +670,7 @@
               }
           }
   
  -        if (url != null) {
  +        if (url != null && url.getProtocol().equals("file")) {
               String fileName = FILE_UTILS.fromURI(url.toString());
               if (fileName != null) {
                   log("fileName " + fileName, Project.MSG_DEBUG);
  
  
  

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


Mime
View raw message