You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by Peter Donald <do...@apache.org> on 2001/09/12 11:40:28 UTC

setZipFile(), setJarFile(), setWarFile --> setFile()

Hi,

What does everyone think about using consistent naming on the zip related 
tasks. Currently subclasses add another method that just calls setZipFile().
Wouldn't it be better to have a single method setFile() that is used in all 
subclasses. We could deprecate the old name and give warnings on use and 
recomend new plain file="" attribute ???

-- 
Cheers,

Pete

---------------------------------------------------
"Marriage, Friends, Religon -- these are the demons 
you must slay in order to suceed in business.." 
                 -- Mr. Burns, The Simpsons 
---------------------------------------------------

Re: setZipFile(), setJarFile(), setWarFile --> setFile()

Posted by Glenn McAllister <gl...@somanetworks.com>.
Peter Donald wrote:

> Hi,
>
> What does everyone think about using consistent naming on the zip related
> tasks. Currently subclasses add another method that just calls setZipFile().
> Wouldn't it be better to have a single method setFile() that is used in all
> subclasses. We could deprecate the old name and give warnings on use and
> recomend new plain file="" attribute ???

+1

Glenn McAllister
SOMA Networks, Inc.