Bugs item #1192677, was opened at 2005-04-29 15:09
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1192677&group_id=31650
Category: Tasks
Group: 0.85
Status: Open
Resolution: None
Priority: 5
Submitted By: GWSyZyGy (gwsyzygy)
Assigned to: Nobody/Anonymous (nobody)
Summary: ReplaceTokens does not allow empty values
Initial Comment:
When performing token replacements, any token
containing only whitespace will fail with the message:
' ' is not a valid value for attribute 'value' of <token ... />.
An empty value is not allowed.
For example:
===================
<!-- properties defined per environment in external file -->
<property name="prop.SOME_TOKEN" value="" />
--------------------------------------
<!-- replace token properties in build script -->
<filterchain>
<replacetokens>
<token key="SOME_TOKEN"
value="${prop.SOME_TOKEN}" />
....
</replacetokens>
</filterchain>
====================
Have tried value="" (empty), value=" " (space), value=" "
(tab), value=" ", value=" ", value="
",
value="
" ....... none will work.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1192677&group_id=31650
-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
nant-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/nant-developers