ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Loughran" <stev...@iseran.com>
Subject Re: attribute names
Date Wed, 21 Nov 2001 22:21:48 GMT

----- Original Message -----
From: "Stefan Bodewig" <bodewig@apache.org>
To: <ant-dev@jakarta.apache.org>
Sent: Wednesday, November 21, 2001 01:03
Subject: Re: attribute names


> On Mon, 19 Nov 2001, Steve Loughran <steve_l@iseran.com> wrote:
>
> > I think they should all unify,
>
> +1
>
> Want to propose a convention for source and destination files that can
> be used accross all tasks that apply?

I'd be tempted to use the <javac> and <copy> tasks as a basis as they are
some of the first tasks people encounter, stay consistent with them and
learning is easier.

Source files then become

srcFile
srcDir

but destinations are tricky

destDir seems the obvious choice for most destinations, but tofile and todir
are use by copy. CVS uses dest


How about, as a simple ruleset
-if you only use one file or dir, then "file" and "dir" are the ones to use.
-if you have source and dest files, then srcFile and srcDir for the source,
and destFile & destDir for the dest.

Simple and reasonably consistent with what we have today. Reasonably means
that not a few tasks are not 100% consistent.

-steve





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