ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <>
Subject AW: Antlib alias?
Date Wed, 03 May 2006 07:19:03 GMT
>I was wondering if there would be any usefulness in adding an 'alias' 
>attribute, which could take a list of aliases.  This would 
>allow an antlib to have an official name for a task, whilst 
>still allowing the use of abbreviations (which is fairly 
>common in unix land (--verbose/-v etc)).
>  <taskdef
>    name="my_task"
>    alias="t, task, task1"
>    classname="org.apache.ant.my_task.Task1"
>    />

And you would end in an build file like

<project xmlns:my="...">

I wouldnt think that this a desired goal...
If you _really_ want to have that, you could use <presetdef> for
abbreviations, too.


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

View raw message