Instead of 

getPropertyList(project, 'cap.content').each { ...

try:

this.'cap.content'.each { ...

I think that properties["cap.content"] should work as well, but for some
reason it doesn't. If you chose a name that is a valid Java identifier (i.e.
no dot), you could refer to that name as-is.

--
Peter Niederwieser
Principal Engineer, Gradleware 
http://gradleware.com
Creator, Spock Framework 
http://spockframework.org
Twitter: @pniederw

--
View this message in context: 
http://gradle.1045684.n5.nabble.com/Dynamic-ant-task-elements-tp4615692p4616032.html
Sent from the gradle-user mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to