jeremie hebre <[EMAIL PROTECTED]> 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?

In the event handler for buildStarted call

be.getProject().getProperty("property.name")

where be is the BuildEvent you've received.

Stefan

Reply via email to