<replaceregexp file="wsdlgen.cfg" match="vobroot" replace="${vob.root}" />

Lorsque j'utilise le String ${vob.root} cette commande echoue et pour quelque soit les vraiables de types ${var}. En revanche cela marche pour
replace="var"

Comment faire pour qu'il accepte une variable de ce type : ${var} ?
erreur :

X:\aspen\etc\ant-inc\javabuild.xml:99: java.lang.StringIndexOutOfBoundsException
: String index out of range: 3