ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From peterrei...@apache.org
Subject cvs commit: ant/src/main/org/apache/tools/ant/helper ProjectHelper2.java
Date Tue, 26 Apr 2005 11:55:18 GMT
peterreilly    2005/04/26 04:55:18

  Modified:    src/main/org/apache/tools/ant/helper ProjectHelper2.java
  Log:
  allow url'ed source's to be used as build files
  
  Revision  Changes    Path
  1.54      +0 -6      ant/src/main/org/apache/tools/ant/helper/ProjectHelper2.java
  
  Index: ProjectHelper2.java
  ===================================================================
  RCS file: /home/cvs/ant/src/main/org/apache/tools/ant/helper/ProjectHelper2.java,v
  retrieving revision 1.53
  retrieving revision 1.54
  diff -u -r1.53 -r1.54
  --- ProjectHelper2.java	25 Apr 2005 10:15:11 -0000	1.53
  +++ ProjectHelper2.java	26 Apr 2005 11:55:18 -0000	1.54
  @@ -168,12 +168,6 @@
               buildFileName = buildFile.toString();
   //         } else if (source instanceof InputStream ) {
           } else if (source instanceof URL) {
  -            if (handler.getCurrentAntHandler() != elementHandler) {
  -                throw new BuildException(
  -                    "Source " + source.getClass().getName()
  -                    + " not supported by this plugin for "
  -                    + " non task xml");
  -            }
               url = (URL) source;
               buildFileName = url.toString();
   //         } else if (source instanceof InputSource ) {
  
  
  

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


Mime
View raw message