ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: target name=""
Date Mon, 09 Sep 2002 10:24:00 GMT
On Sun, 8 Sep 2002, Steve Loughran <steve_l@iseran.com> wrote:

> a) what happens when a target of this name is encountered in the
> build file?  Error?

[bodewig@bodewig tmp]$ cat > blanktarget.xml
<project default="a">
  <target name="a" />
  <target name=""/>
</project>
[bodewig@bodewig tmp]$ ant -f blanktarget.xml 
Buildfile: blanktarget.xml

BUILD FAILED
name attribute must not be empty

Total time: 1 second

I would have expected to get the location, hmm.  Will fix it.

Stefan

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