ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nau, Michael" <Michael....@pyxis.com>
Subject Accessing properties in a custom ant task
Date Fri, 24 Jan 2003 22:03:45 GMT
Is there a way to access ant properties within a custom task?

For example:

<property name="test.property" value="testing..."/>

<target name="test-mytask">
   <taskdef resource="mytask.properties" classpathref="mytask.cp"/>
   <mytask/>
</target>  

How can I access the value of test.property within the java code that
creates mytask?

Thanks,
Mike.



--
To unsubscribe, e-mail:   <mailto:ant-user-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-user-help@jakarta.apache.org>


Mime
View raw message