ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Wolfgang Häfelinger <whaefelin...@epo.org>
Subject how to access a MacroDef?
Date Tue, 06 Jun 2006 17:16:28 GMT
Hi,

a simple question - how can I retrieve a macro definition using 
ComponentHelper?

I tried something like

 ComponentHelper componenthelper = 
ComponentHelper.getComponentHelper(project());
 MacroDef def = (MacroDef) 
componenthelper.getTaskDefinitions().get(mymacroname);

just in order to understand that Hastable getTaskDefinitions() contains a 
String => Class
relation. 

So where are those MacroDef's hidden?

Sorry for this stupid question,
Wolfgang.

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


Mime
View raw message