Re: Wonder 5.8.2 and 6.0
Re: Wonder 5.8.2 and 6.0
- Subject: Re: Wonder 5.8.2 and 6.0
- From: Johann Werner <email@hidden>
- Date: Sat, 08 Dec 2012 09:19:04 +0100
fixed in integration
https://github.com/projectwonder/wonder/commit/6776b2b4e8918d5e35fcb5ad618f13411fcec886
Am 07.12.2012 um 23:10 schrieb Bastian Triller <email@hidden>:
> it seems that versionStringForApplication and
> versionStringForFrameworkNamed are broken. They should look in
> Info.plist for CFBundleShortVersionString.
> Use
> valueFromPlistBundleWithKey(NSBundle.bundleForName("JavaWebObjects"),
> "Info.plist", "CFBundleShortVersionString")
>
> Am Freitag, den 07.12.2012, 12:18 -0600 schrieb John Huss:
>> What is your problem??
>>
>>
>> On Wed, Dec 5, 2012 at 8:05 AM, Raymond NANEON <email@hidden> wrote:
>> Hi Pascal,
>>
>> It's normal to have empty String when we want to check WO
>> Version (JavaWebObjects) in the ERXProperties.class of the new
>> Wonder?
>> With Wonder 5.4 it works fine but with the new Wonder nothing
>> works.
>>
>> When have Big diffrence between these methods :
>>
>> WONDER 5.8.X
>>
>> public static String versionStringForFrameworkNamed(String
>> frameworkName) {
>> return
>> valueFromPlistBundleWithKey(NSBundle.bundleForName(frameworkName), "CustomInfo.plist", "CFBundleShortVersionString");
>> }
>>
>> public static String valueFromPlistBundleWithKey(NSBundle
>> bundle, String plist, String key) {
>> if (bundle == null)
>> return "";
>>
>> String dictString = new
>> String(bundle.bytesForResourcePath(plist));
>> NSDictionary versionDictionary =
>> NSPropertyListSerialization.dictionaryForString(dictString);
>>
>> String versionString = (String)
>> versionDictionary.objectForKey(key);
>> return versionString == null ? "" :
>> versionString.trim(); // trim() removes the line ending char
>> }
>>
>> WONDER 5.4
>>
>> public static String versionStringForFrameworkNamed(String
>> frameworkName) {
>> NSBundle bundle =
>> NSBundle.bundleForName(frameworkName);
>> if (bundle == null) return "";
>>
>> String versionString = (String)
>> bundle.infoDictionary()
>> .objectForKey("CFBundleShortVersionString");
>> return versionString == null ? "" :
>> versionString.trim(); // trim() removes the line ending char
>> }
>>
>> Thanks for détails
>>
>> Envoyé depuis iCloud
>>
>> Le 02 déc 2012 à 15:38, Pascal Robert <email@hidden> a
>> écrit :
>>
>>> New frameworks usually have examples with them.
>>>
>>>> Hi Pascal,
>>>>
>>>> Can we have example apps with the new Wonder's evolutions?
>>>>
>>>> Thanks
>>>> Envoyé depuis iCloud
>>>>
>>>> Le 02 déc 2012 à 13:01, Pascal Robert <email@hidden> a
>>> écrit :
>>>>
>>>>> Hello everyone,
>>>>>
>>>>> Wonder 5.8.2 have been released today. All changes
>>> between 5.8.1 and 5.8.2:
>>>>>
>>>>>
>>> https://github.com/projectwonder/wonder/compare/wonder-5.8.1…wonder-5.8.2
>>>>>
>>>>> Work on Wonder 6.0 have begun. The big changes have been
>>> added to the integration branch. Please check if the
>>> following changes affects you:
>>>>>
>>>>> https://github.com/projectwonder/wonder/pull/321
>>>>> https://github.com/projectwonder/wonder/pull/315
>>>>>
>>> https://github.com/pascalrobert/wonder/commit/1d7907152db2f44218e0fdf5c40096254550e0c2
>>>>> https://github.com/projectwonder/wonder/pull/309
>>>>> https://github.com/projectwonder/wonder/pull/298
>>>>> https://github.com/projectwonder/wonder/pull/336
>>>>>
>>>>> It have built fine with Jenkins on
>>> jenkins.wocommunity.org so it should build fine for
>>> everyone.
>>>>>
>>>>> Wonder 6.0 will be merged into the master branch in the
>>> week of January 7th.
>>>>> _______________________________________________
>>>>> Do not post admin requests to the list. They will be
>>> ignored.
>>>>> Webobjects-dev mailing list
>>> (email@hidden)
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>>
>>>>>
>>>>> This email sent to email@hidden
>>>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden