Title: RE: Another feature request??

> From: Jose Alberto Fernandez [mailto:[EMAIL PROTECTED]]

> If you were proposing that the "default" attrribute should be
> optional and
> in that case consider to be "main/start/whatever" then I would see no
> problem,

I would.
If that were the suggestion then I would offer a -1

Optional attirbutes, with defaults, just make things even more unreadable.

eg: If we decided that the default target was called "main", unless the
 build file declared otherwise, then you could have:

<project default="compile" name="foo">
       
        <target name="main">
                ...
        </target>

        <target name="compile">
                ...
        </target>

</project>

And IMHO, that is more unreadable, because you have a "main" target, but
it's not the default target!

I'm not sure if I support Peter on this, but I definately am opposed to having
an optional default.

Reply via email to