-
Bug
-
Resolution: Cannot Reproduce
-
P4
-
8
On Mac, jfx-packager sometimes breaks because of apple script reporting error -10006.
Building DMG package for JavaFX Scene Builder 2.0
Using default package resource [Bundle config file] (add package/macosx/Info.plist to the class path to customize)
Using custom package resource [icon] (loaded from package/macosx/JavaFX Scene Builder 2.0.icns on class path)
Config files are saved to /var/folders/ky/7_fc88ls2q97_f16j48nyrt0000jvp/T/build6149517608682113269.fxbundler/macosx. Use them to customize package.
Using custom package resource [dmg background] (loaded from package/macosx/JavaFX Scene Builder 2.0-background.png on class path)
Using custom package resource [volume icon] (loaded from package/macosx/JavaFX Scene Builder 2.0-volume.icns on class path)
Using custom package resource [script to run after application image is populated] (loaded from package/macosx/JavaFX Scene Builder 2.0-post-image.sh on class path)
Using default package resource [DMG setup script] (add package/macosx/JavaFX Scene Builder 2.0-dmg-setup.scpt to the class path to customize)
Running shell script on application image [/var/folders/ky/7_fc88ls2q97_f16j48nyrt0000jvp/T/build6149517608682113269.fxbundler/macosx/JavaFX Scene Builder 2.0-post-image.sh]
Application post processing (as part of the construction of a DMG) ...
[Info.plist] Adding File Association support
[Info.plist] Changing value of CFBundleName
[Layout] Moving files here and there
/var/folders/ky/7_fc88ls2q97_f16j48nyrt0000jvp/T/build6149517608682113269.fxbundler/macosx/JavaFX Scene Builder 2.0-dmg-setup.scpt:1271:1352: execution error: Finder got an error: Can’t set item "JavaFX Scene Builder 2.0" of Finder window id 1054 to {120, 135}. (-10006)
Config files are saved to /var/folders/ky/7_fc88ls2q97_f16j48nyrt0000jvp/T/build6149517608682113269.fxbundler/macosx. Use them to customize package.
After investigation, this error seems to happens when the builtin keyboard of the mac is french (azerty).
I did the following tests:
1) mac with french keyboard + french locale => BUG
2) mac with french keyboard + english locale => BUG
3) mac with english keyboard + english locale => OK
3) mac with english keyboard + french locale => OK
I did those tests on Mac OS 10.8.5.
Building DMG package for JavaFX Scene Builder 2.0
Using default package resource [Bundle config file] (add package/macosx/Info.plist to the class path to customize)
Using custom package resource [icon] (loaded from package/macosx/JavaFX Scene Builder 2.0.icns on class path)
Config files are saved to /var/folders/ky/7_fc88ls2q97_f16j48nyrt0000jvp/T/build6149517608682113269.fxbundler/macosx. Use them to customize package.
Using custom package resource [dmg background] (loaded from package/macosx/JavaFX Scene Builder 2.0-background.png on class path)
Using custom package resource [volume icon] (loaded from package/macosx/JavaFX Scene Builder 2.0-volume.icns on class path)
Using custom package resource [script to run after application image is populated] (loaded from package/macosx/JavaFX Scene Builder 2.0-post-image.sh on class path)
Using default package resource [DMG setup script] (add package/macosx/JavaFX Scene Builder 2.0-dmg-setup.scpt to the class path to customize)
Running shell script on application image [/var/folders/ky/7_fc88ls2q97_f16j48nyrt0000jvp/T/build6149517608682113269.fxbundler/macosx/JavaFX Scene Builder 2.0-post-image.sh]
Application post processing (as part of the construction of a DMG) ...
[Info.plist] Adding File Association support
[Info.plist] Changing value of CFBundleName
[Layout] Moving files here and there
/var/folders/ky/7_fc88ls2q97_f16j48nyrt0000jvp/T/build6149517608682113269.fxbundler/macosx/JavaFX Scene Builder 2.0-dmg-setup.scpt:1271:1352: execution error: Finder got an error: Can’t set item "JavaFX Scene Builder 2.0" of Finder window id 1054 to {120, 135}. (-10006)
Config files are saved to /var/folders/ky/7_fc88ls2q97_f16j48nyrt0000jvp/T/build6149517608682113269.fxbundler/macosx. Use them to customize package.
After investigation, this error seems to happens when the builtin keyboard of the mac is french (azerty).
I did the following tests:
1) mac with french keyboard + french locale => BUG
2) mac with french keyboard + english locale => BUG
3) mac with english keyboard + english locale => OK
3) mac with english keyboard + french locale => OK
I did those tests on Mac OS 10.8.5.
- relates to
-
JDK-8093827 Creation of a DMG from an APP is broken (scpt fails)
- Closed