Can you help me work this out? The token replacement
isn't happening when the file is copied over. I've
tried a variety of solutions, even replacestring
instead of replacetokens, with no luck.


          <delete file="Version.cs" failonerror="false" />
          <copy  file="Version.cs.TEMPLATE"
tofile="Version.cs" overwrite="true">
                  <filterchain>
                          <replacetokens>
                                  <token  key="URL" 
value="${code.trunk}"></token>
                                  <token  key="REV"
value="${svn.revision}"></token>
                                  <token  key="DATE" 
value="${svn.date}"></token>
                          </replacetokens>
                </filterchain>
          </copy>

Thanks in advance,
Rob



                
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users

Reply via email to