----- Original Message -----
From: "Stefan Bodewig" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, November 21, 2001 01:03
Subject: Re: attribute names


> On Mon, 19 Nov 2001, Steve Loughran <[EMAIL PROTECTED]> 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:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to