Is there a way to specify an empty string / or nothing in a replacetoken
of a filter change:
When I do this:
<token key="MYKEY" value="" /> (or an empty property)
I get an error:
'' is not a valid value for attribute 'value' of <token ... />.
When I put in '' to perhaps be an empty string, it actually puts in the
single quotes.
So, my text file is XML... like this:
<MyTag>@MYTOKEN@</MyTag>
And after doing the copy I want (at times) this:
<MyTag></MyTag>
Also, I am told I can't put an <if> tag in the replacetokens tags.
However, there are times when I don't want to replace certain tokens (of
course if I could blank them that would probably solve this.) The if and
unless do not seem to work on the <token> tags.
Would appreciate and help or pointer to some doc that I might be
missing.
Thanks,
BOb
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
NAnt-users mailing list
NAnt-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nant-users