ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Martin van den Bemt" <m...@mvdb.com>
Subject RE: PROPOSAL: chgrp, chown, chmod, chrights + question ;)
Date Thu, 08 Nov 2001 15:38:47 GMT
Soo below..

> -----Original Message-----
> From: Stefan Bodewig [mailto:bodewig@apache.org]
> Sent: Thursday, November 08, 2001 3:41 PM
> To: ant-dev@jakarta.apache.org
> Subject: Re: PROPOSAL: chgrp, chown, chmod, chrights + question ;)
> 
> 
> On Tue, 6 Nov 2001, Martin van den Bemt <mvdb@mvdb.com> wrote:
> 
> > but since backward compatibility is necessary, I could create the
> > chgrp and chown tasks (simple copies of chmod) and integrate the 3
> > in the chrights task.
> 
> As there is no single chgrp task, there is no need for having a
> separate task IMHO.  Do you exepect chrights to use a similar sytax
> like chmod did?  

I planned a lot of copy and past in there yes ;)) 

> If so, we could get away with making chmod an alias
> name for chrights (and issue a deprecation warning if somebody uses
> that name).

I'm in favour of that too..
 
> > d) Let's deprecate the chown and go for the chrights
> 
> Yes.



> > 2) If everyone prefers a or c, I would prefer to minimize code and
> > execute the task chmod/chown/chgrp from the chrights task.
> 
> Don't know whether this actually is necessary, see above.
> 
> > but couldn't find a clean way to do that from my code.
> 
> There are a couple of tasks that do similar things, see how <genkey>
> (ab)uses <exec> for example.

I'll see what these tasks do.. 
 
Thanx for the reply..

Mvgr,
Martin


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