Browse Source

allow url'ed source's to be used as build files

git-svn-id: https://svn.apache.org/repos/asf/ant/core/trunk@278186 13f79535-47bb-0310-9956-ffa450edef68
master
Peter Reilly 20 years ago
parent
commit
af2f9b8506
1 changed files with 0 additions and 6 deletions
  1. +0
    -6
      src/main/org/apache/tools/ant/helper/ProjectHelper2.java

+ 0
- 6
src/main/org/apache/tools/ant/helper/ProjectHelper2.java View File

@@ -168,12 +168,6 @@ public class ProjectHelper2 extends ProjectHelper {
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 ) {


Loading…
Cancel
Save