Excellent point. I'll move the script to before the codesign. I've also got some bugs requesting an easy flag to turn off auto-codesign. I'll do that as part of the 8u40 work.
In the mean time, you can disable codesign with a bundler argument in ant by adding this to the fx:deploy element <fx:bundleargument arg='mac.signing-key-user-name' value='Nonexistent User'/> (for cli it is -Bmac.signing-key-user-name=Nonexistent User) Then in your post image script you can hand wire the signing. On Sep 3, 2014, at 3:43 PM, Jeff Martin <[email protected]> wrote: > I just tested with DMG and my script does get called. However, it seems like > I can’t use it to add and remove JDK files without invalidating the codesign > work. Is it possible for javapackager to build the image, call the post-image > script, then codesign? > > jeff > > > On Sep 3, 2014, at 4:33 PM, Jeff Martin <[email protected]> wrote: > >> Done: RT-38521 - Javapackager not calling post-image script on MacOSX for >> PKG and IMAGE >> >> jeff >> >> >> On Sep 3, 2014, at 4:15 PM, Danno Ferrin <[email protected]> wrote: >> >>> A quick code inspection shows that the post image script is only called for >>> DMG packaging. Looks to be a PKG oversight. Could you post a bug to >>> javafx-jira.kenai.com? >>> >>> On Sep 3, 2014, at 2:31 PM, Jeff Martin <[email protected]> wrote: >>> >>>> Actually, for the moment I’m just generating “image”, though I tried pkg >>>> and it also didn’t call the post-image script. >>>> >>>> I love all the customization tips when verbose is turned on. I was hoping >>>> it would say, “No post-image script found at >>>> package/macosx/SnapCode-post-image.sh - add one here for customization”. >>>> >>>> jeff >>>> >>>> >>>> On Sep 3, 2014, at 2:46 PM, Danno Ferrin <[email protected]> wrote: >>>> >>>>> What mac package format? DMG or PKG? >>>>> >>>>> >>>>> On Sep 3, 2014, at 12:38 PM, Jeff Martin <[email protected]> wrote: >>>>> >>>>>> I’m glad to see that javafxpackager is now javapackager. So my question >>>>>> should be - what is the proper forum to post a javapackger question, or >>>>>> who at Oracle could create a new dedicated forum for it? >>>>>> >>>>>> In the meantime, does anyone have a suggestion to diagnose why my custom >>>>>> package/macosx/MyApp-post-image.sh isn’t getting called? Javapackager is >>>>>> picking up my custom icons fine, and the windows post-image.wsf is >>>>>> getting picked up fine. Just not getting called on MacOSX. >>>>>> >>>>>> jeff
