ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject Error found in documentation of ReplaceTokens (?)
Date Mon, 27 Jan 2003 12:41:58 GMT
The example source for ReplaceTokens
gives as an example for use

<loadfile srcfile="${src.file}" property="${src.file.replaced}">
    <filterreader classname="">
      <param type="token" name="DATE" value="${TODAY}"/>

But the class ReplaceTokens doesn´t support the <param>.

Output of Ant:

file:C:/temp/build.xml:3: Could not create task or type of type: param.

ReplaceTokens has no addXXX or createXXX methods for param, only for
Base class BaseParamFilterReader neither (only a setParameters(Parameter[]).
(verified with java and html source from 14.Jan 2003)

Jan Matèrne

View raw message