fixed in integration

https://github.com/projectwonder/wonder/commit/6776b2b4e8918d5e35fcb5ad618f13411fcec886


Am 07.12.2012 um 23:10 schrieb Bastian Triller <bastian.tril...@gmail.com>:

> 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 <rnan...@me.com> 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 <prob...@macti.ca> 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 <prob...@macti.ca> 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%E2%80%A6wonder-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
>>> (Webobjects-dev@lists.apple.com)
>>>>> Help/Unsubscribe/Update your Subscription:
>>>>> 
>>> https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com
>>>>> 
>>>>> This email sent to rnan...@me.com
>>> 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to