tags:

views:

150

answers:

2

What's the difference between @{property} and ${property} in accessing ant properties?

Didn't see any documentation about it in Ant manual.

+6  A: 

${property} is the normal way to access properties. @{property} is used inside macro definitions to access arguments passed to this macro. See the ant manual on macrodef.

rudolfson
thanks, this all makes sense now
imeikas
+4  A: 

${property} is used to reference Properties.

@{attribute} is used to reference Attributes in <macrodef> Tasks.

Dave Webb