Hi,
thanks for your suggestions :
> Remember that in XML < is turned into < before ant sees it, so you
> need to escape the search and replace
> strings:
>
>
> <propertyregex property="foobar"
> input="${auftrag.bemerkung}"
> regexp="&lt;"
> replace="<"
> casesensitive="false" />
but :
<property name="foobar" value="<bla>foobar</bla>" />
<echo>${foobar}</echo>
<propertyregex property="foo"
input="${foobar}"
regexp="&lt;"
replace="<"
casesensitive="false" />
<echo>${foo}</echo>
just gives me :
[echo] <bla>foobar</bla>
[echo] ${foo}
hm, let's see the other way around :
<echo file="J:/test/test.txt">fixed=${foobar}</echo>
yup, the property is written as :
fixed=<bla>foobar</bla>
but doesn't work either, when loading the propertyfile afterwards,
property ${fixed} get's not expanded --> ${fixed}
Even after manuelly changing the propertyfile to :
fixed=<bla>foobar</bla>
it does not get expanded.
Any other ideas ?!?
by4now, Gilbert
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]