ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <DDevie...@lgc.com>
Subject RE: cvs commit: ant/src/main/org/apache/tools/ant/helper ProjectHelper2.java
Date Tue, 26 Apr 2005 14:47:46 GMT
> From: peterreilly@apache.org [mailto:peterreilly@apache.org]
>   allow url'ed source's to be used as build files
> 
>   --- 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 ) {

I don't fully recall the debate about this, but did we agree that we
wanted to support URLs as build file sources last time we discussed
this? Is this usable from a build file? How is the 'basedir' set when
using a URL? --DD

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


Mime
View raw message