|
Here is patch to correct this. Not sure whether
rather do not remove trim from ConvertEmptyToNull and
IsNullOrEmpty.
Martin
----- Original Message -----
Sent: Friday, September 12, 2003 12:05
PM
Subject: foreach
Hi all,
<foreach
item="String" in="${changes}" delim=" " property="folder">
is no longer valid in recent cvs version. This is
becouse of
public
string Delimiter {
get { return _delim; }
set { _delim =
StringUtils.ConvertEmptyToNull(value);}
}
and
ConvertEmptyToNull does trimming into its value. So
delimiter is null and
throw new BuildException(@"Delimiter must
be specified for item=""String""");
is thrown :-(
I think, this _is_ legal statement
though.
Martin
|
foreach.patch
Description: Binary data