I mean:
{"rules" = (
{"class" = "com.webobjects.directtoweb.Rule"; "rhs" = {"class" =
"com.webobjects.directtoweb.Assignment"; "keyPath" = "sortKey";
"value" = ""; }; "author" = "0"; },
{"class" = "com.webobjects.directtoweb.Rule"; "rhs" = {"class" =
"com.webobjects.directtoweb.Assignment"; "keyPath" = "maxColumns";
"value" = "2"; }; "author" = "0"; },
instead of the verbose EOKVCArchiver format.
{
"class" = "com.webobjects.directtoweb.Rule";
"rhs" = {
"class" = "com.webobjects.directtoweb.Assignment";
"keyPath" = "sortKey";
"value" = "";
};
"author" = "0";
},
Granted, with the rules itīs simple because they are just one big
array of stuff, so i just donīt emit \n after the second level.
Cheers, Anjo
Am 17.07.2006 um 20:41 schrieb Mike Schrag:
> You're referring to how plist serialization in WO will sometimes do
> ( value1, value2, value3 ) instead of:
> (
> value1,
> value2,
> value3
> )
> , right? It looks like PropertyListSerialization in Cayenne always
> does individual lines, so we get that for free ...
>
> ms
>
> On Jul 17, 2006, at 2:34 PM, Anjo Krank wrote:
>
>>
>> Am 17.07.2006 um 19:20 schrieb Chuck Hill:
>>
>>>>> I just had a vision: an EOModeler that writes plists in a
>>>>> deterministic fashion. Wow. Now THAT would be cool! :-P
>>>>
>>>> Imagine!? I just switched back to CVS so I'm looking forward to
>>>> testing this.
>>>
>>> Ugh. This must be my most hated bug in EOModeler.
>>
>> The new RuleModeler in ProjectWonder saves all D2W rules (sorted
>> by prio) each on its own line. A similar approach would be useful
>> for EOM, wouldn't it?
>>
>> Cheers, Anjo
>
This archive was generated by hypermail 2.0.0 : Mon Jul 17 2006 - 14:53:40 EDT