ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kev Jackson <kevin.jack...@it.fts-vn.com>
Subject Antlib alias?
Date Wed, 03 May 2006 06:50:09 GMT
Hi,

I've been messing with some code today, and looking at antlibs, a 
typical declaration may be something like:

<antlib>
  <taskdef
    name="my_task"
    classname="org.apache.ant.my_task.Task1"
    />
...

</antlib>

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

<antlib>
  <taskdef
    name="my_task"
    alias="t, task, task1"
    classname="org.apache.ant.my_task.Task1"
    />
...

</antlib>

Any thoughts?

Kev

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


Mime
View raw message