At 08:46 19/12/00 -0000, jeremie hebre wrote:
> Hi, I'm using Ant as follows: java org.apache.tools.Ant.Main
>-listener myListener build.xml -Dproperty.name="pname" targetN I want my
>Listener class to get the build.xml "property.name" property value in
>order to use it. How can I do that? Thanks for your help. Jeremie
hmm - not sure. The only way I can think of is to wait till one of the
listener methods get called and then do
event.getProject().getProeprty("proeprty.name")
Cheers,
Pete
*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof." |
| - John Kenneth Galbraith |
*-----------------------------------------------------*