Sorry, my mistake. I had a <param> at the wrong place in the build.xml ...
Jan Matèrne > -----Ursprüngliche Nachricht----- > Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Gesendet am: Montag, 27. Januar 2003 13:42 > An: [EMAIL PROTECTED] > Betreff: Error found in documentation of ReplaceTokens (?) > > The example source for ReplaceTokens > (docs/manual/CoreTypes/filterchain.html#replacetokens) > gives as an example for use > > <tstamp/> > <loadfile srcfile="${src.file}" property="${src.file.replaced}"> > <filterchain> > <filterreader classname="org.apache.tools.ant.filters.ReplaceTokens"> > <param type="token" name="DATE" value="${TODAY}"/> > </filterreader> > </filterchain> > </loadfile> > > But the class ReplaceTokens doesn´t support the <param>. > > Output of Ant: > > BUILD FAILED > 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 > <token>. > Base class BaseParamFilterReader neither (only a > setParameters(Parameter[]). > (verified with java and html source from 14.Jan 2003) > > > > Jan Matèrne << Datei: ATT129571.txt >>