Bugs item #1192677, was opened at 2005-04-29 22:09
Message generated for change (Comment added) made by drieseng
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=402868&aid=1192677&group_id=31650
Category: Tasks
Group: 0.85
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: GWSyZyGy (gwsyzygy)
>Assigned to: Gert Driesen (drieseng)
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.
----------------------------------------------------------------------
>Comment By: Gert Driesen (drieseng)
Date: 2005-05-03 17:14
Message:
Logged In: YES
user_id=707851
This was actual by design, but I've now "fixed" this in cvs.
Thanks for the report !
----------------------------------------------------------------------
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