ant-dev mailing list archives

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

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

> On Mon, 19 Nov 2001, Steve Loughran <> 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


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.


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

View raw message