ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <>
Subject Re: attribute names
Date Tue, 20 Nov 2001 07:53:27 GMT
On Tue, 20 Nov 2001 18:12, Steve Loughran wrote:
> One of the ant-2 goals is
>     "Use a consistent naming scheme for attributes across all tasks. "
> Given that, what should the naming scheme be for new tasks created now, on
> the way to ant 2? In particular, what makes good names for
> source file : srcFile is common, 'source' or 'src' sometimes
>         found, File crops up sometimes
> destination file:
>     destFile is common, file also crops up sometimes, now tofile.
> In ant1.5alpha we now use File for the output of zip/jar/war, and tofile
> for the new gzip task.
> I think they should all unify, and that either gzip should picks up the
> "file" attribute or all these tasks move to "destFile", that being
> consistent with other, before these new attribute names get out into the
> wild.


All source names should follow one pattern and all destination names should 
follow another. Picking which one is I fear going to be a religious issue ;)



Money is how people with no talent keep score.

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message