ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From HamletDRC <>
Subject write property as part of task definition
Date Thu, 16 Jul 2009 20:56:07 GMT


Is it possible to do this? 

I have a property that contains two XML elements as a String: 

    <property name="foo"

And I want it expanded into the execution of a task as if I wrote this: 


I expected this to work:

But I get the error: 
The <compc> type doesn't support nested text data ("${foo}").

I'm assuming this isn't an error with "compc" but is instead in error in how
I'm expanding ${foo}. 

Can I do this in Ant? 

Hamlet D'Arcy

View this message in context:
Sent from the Ant - Users mailing list archive at

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message