Ninju Bohra wrote:

I am not saying this bad, I was just surprised that it was already done for 
me...what the value of the Project.replaceProperties(...) method then?



The project.replaceProperties() is used by RuntimeConfigurable to replace the properties
in a task's attributes just before the task is called with the attributes.


Note that this only happens for attributes, for embedded text (cdata etc), the replaceProperties method is not
called by the ant runtime, it is up the the individual task to call it if required - most tasks do, (<echo/> for example has this
code:
public void addText(String msg) {
message += getProject().replaceProperties(msg);
}
) and some do not - for example <script>.



Peter


---------------------------------
Do you Yahoo!?
Yahoo! Search presents - Jib Jab's 'Second Term'




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to