Hi Rahul,
I have experienced a similar issue - which turned out to be because I was using an older NAnt version, filterchain is a relatively new feature - I think it came with 0.85.
NAnt will not crash in earlier versions, it just ignores the extra tags.
Torben Rohde
Subsero A/S
Denmark
rahul rane <[EMAIL PROTECTED]>
Sendt af: [EMAIL PROTECTED] 02-06-2005 09:20 |
|
Hi,
I am trying to copy a file to antoher file. But while
copying i use a filter chain to change some of the
tokens with a value while copying.
The copy is working fine but the filterchain does not
work.
The code i am using is as follows:
<?xml version="1.0"?>
<project name="Changing Css" default="default">
<target name="default">
<copy file ="C:\1.txt" tofile="C:\3.txt"
overwrite="true">
<filterchain>
<replacetokens ignorecase="true">
<token key="TITLE" value="Green
Fox" ignorecase="true" />
</replacetokens>
</filterchain>
</copy>
</target>
</project>
Any help/pointers?
__________________________________________________________
Free antispam, antivirus and 1GB to save all your messages
Only in Yahoo! Mail: http://in.mail.yahoo.com
-------------------------------------------------------
This SF.Net email is sponsored by Yahoo.
Introducing Yahoo! Search Developer Network - Create apps using Yahoo!
Search APIs Find out how you can build Yahoo! directly into your own
Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005
_______________________________________________
Nant-users mailing list
Nant-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users