This example will replace all the token %ProjectName% in the file ${TokenizedFile}.

<replace file="${TokenizedFile}">
  <filterchain>
    <replacestring from="%ProjectName%"  to="${ProjectName}"   />
  </filterchain>
</replace>
 
nant.replace.txt · Last modified: 2006/04/11 09:01 by jflowers
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki