On 30 Sep 2009, at 13:03, Mike Schrag wrote:
>>> Digging further in, it looks like the Info.plist files are being
>>> truncated when the app and frameworks are built by 3.5.5990.
> are you maven or regular build? what do you mean the info.plist is
> truncated? can you provide an example? i've never seen anything like
> that on any of my builds ...
>
> ms
>
Regular build, within Eclipse. Snow Leopard with all updates.
Actually, checking again, it seems only one of my Info.plist files
(the ones from [ProjectRoot]/build/[FrameworkName].framework/
Resources.Info.plist) is truncated.
The framework doesn't contain any java source - just lib jars.
The Info.plist looks like this. [FrameworkName] edits are mine, btw:
<?xml version="1.0" encoding="UTF-8"?>
<plist version="0.9">
<dict>
<key>NOTE</key>
<string>autogenerated</string>
<key>NSJavaPathClient</key>
<string>theTestFramework.jar</string>
<key>CFBundleIconFile</key>
<string>WOAfile.icns</string>
<key>CFBundleExecutable</key>
<string>[FrameworkName]</string>
<key>NSJavaRoot</key>
<string>Resources/Java</string>
<key>NSJavaRootClient</key>
<string>WebServerResources/Java</string>
<key>NSJavaNeeded</key>
<true/>
<key>CFBundleName</key>
<string></string>
<key>NSExecutable</key>
<string>[FrameworkName]</string>
<key>NSJavaPath</key>
<array>
<string>[FrameworkName].jar</string>
</array>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>Has_WOComponents</key>
<true/>
<key>CFBundleSignature</key>
<string>webo</string>
<key>CFBundleShortVersionString</key>
<string>
And there it stops. Obviously, it isn't well-formed XML, so it upsets
the running app.
It may not be this causing my problem, but it is the first error that
arises during application start-up, and doesn't occur when built in
Eclipse 3.4. And if I rebuild just that framework in 3.4 then start up
3.5 without a rebuild, the App runs exactly as it should, picking up
the correct App name.
-- Bill Michell billmichel..mail.com
This archive was generated by hypermail 2.0.0 : Wed Sep 30 2009 - 08:36:15 EDT