Thank you Jan. This solution is nice and straight.
Regads,
Nagendra
--
View this message in context:
http://old.nabble.com/How-to-know-if-a-perticular-macro-is-defined-or-not-tp26808155p26824142.html
Sent from the Ant - Users mailing list archive at Nabble.com.
---
>It may be good idea to have api to know the list of macros
>available too (it
>may be of help in few other contexts than this).
/**
* Return the current task definition hashtable. The returned
hashtable is
* "live" and so should not be modified.
*
* @return a map of fro
You want the condition. See the list of supported
conditions under the task.
On Dec 16, 2009, at 6:02 AM, Raja Nagendra Kumar wrote:
Thank you jan.
It may be good idea to have api to know the list of macros
available too (it
may be of help in few other contexts than this).
Pl. consi
Thank you jan.
It may be good idea to have api to know the list of macros available too (it
may be of help in few other contexts than this).
Pl. consider this as a new requirement.
Regards,
Nagendra
--
View this message in context:
http://old.nabble.com/How-to-know-if-a-perticular-macro-is-de
>Which are the ant API we should use to know if a macro with name xyz
is
>defined or not..
>
>for knowing the existing of targets I can use project.getTargets() to
check
>out is there a similar thing for macros.