ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matt Raible" <li...@raibledesigns.com>
Subject RE: Target Aliases?
Date Sat, 17 Jan 2004 03:59:37 GMT
To be perfectly honest, there's no reason for it - it's just the
different between typing 30 characters and typing 10, so obviously it's
not a big deal. ;-)

Matt

> -----Original Message-----
> From: Kichline, Don (EM, PTL) [mailto:Don.Kichline@penske.com] 
> Sent: Friday, January 16, 2004 3:00 PM
> To: 'Ant Users List'
> Subject: RE: Target Aliases?
> 
> 
> Well I guess my question then is, what does the alias buy you 
> that having another target does not?
> 
> -----Original Message-----
> From: Matt Raible [mailto:lists@raibledesigns.com]
> Sent: Friday, January 16, 2004 4:37 PM
> To: 'Ant Users List'
> Subject: RE: Target Aliases?
> 
> 
> Yeah, I know that's possible, but I was just wondering if 
> adding an "alias" attribute was ever considered.
> 
> > -----Original Message-----
> > From: Kichline, Don (EM, PTL) [mailto:Don.Kichline@penske.com]
> > Sent: Friday, January 16, 2004 1:29 PM
> > To: 'Ant Users List'
> > Subject: RE: Target Aliases?
> > 
> > 
> > Could you not do:
> > 
> > <target name="compile-web" depends="webdoclet"/>
> > <target name="compile" depends="compile-web"/>
> > 
> > Don Kichline
> > 
> > -----Original Message-----
> > From: Matt Raible [mailto:lists@raibledesigns.com]
> > Sent: Friday, January 16, 2004 3:26 PM
> > To: user@ant.apache.org
> > Subject: Target Aliases?
> > 
> > 
> > I haven't done any research on this, but I thought this would
> > be a nice 
> > feature in Ant.  It'd be cool to be able to specify target 
> aliases.  
> > For instance, in my webapp (based largely on examples from Java Dev 
> > with Ant), I have a number of targets for compiling - 
> compile-common, 
> > compile-ejb, compile-web.  If a user wants to compile 
> > everything, they 
> > have to type "ant compile-web" - where most Ant users are 
> > probably used 
> > to typing "ant compile".  Rather than creating a new target that 
> > depends on, or calls upon, "compile-web", I'd just like to 
> give this 
> > target an alias.  For example <target="compile-web" 
> > depends="webdoclet" 
> > alias="compile">.  Whaddya think?  Is this a stupid feature request?
> > 
> > Thanks,
> > 
> > Matt
> > 
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> > 
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> > For additional commands, e-mail: user-help@ant.apache.org
> > 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
> For additional commands, e-mail: user-help@ant.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message