ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alexey N. Solofnenko" <A.Solofne...@mdl.com>
Subject Re: Target Aliases?
Date Fri, 16 Jan 2004 22:03:30 GMT
I think the only difference is when overwriting imported targets. With 
alias it will not matter what name is used.

- Alexey.

Kichline, Don (EM, PTL) wrote:

>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