Hi!
I'm trying to remove null chars of one fine generated with exec task,
this sin the simplified version:
<project name=MyProject" default="test" basedir=".">
<target name=est" >
<exec executable=Mycommand" failonerror="true" >
<redirector
error=rror.txt"
output=k.txt">
<outputfilterchain>
<tokenfilter>
<deletecharacters chars=0"/>
</tokenfilter>
</outputfilterchain>
</redirector>
</exec>
</target>
</project>
It works with \n, \r, \f, \t and \\
[http://ant.apache.org/manual/Types/filterchain.html#backslash] but not
with \0
There is other way to represent the null char on ant script?
Un saludo
Carlos Garcés
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org
|