Re: Error creating bundle for MacOSX using u40 b23
Hi Danno,I revoked then renewed my mac distribution and development certificates and now when it gets to creating the pkg file for my app I get the following error message. Not sure what to do at this point. Any suggestions to get past this error appreciated. Thanks,-Tony Building Mac App Store Bundle for 3D Map Master Using custom package resource [Bundle config file] (loaded from package/macosx/Info.plist on class path) Using custom package resource [icon] (loaded from package/macosx/3D Map Master.icns on class path) Config files are saved to /var/folders/6z/blxp38g11rj3cvcp22x__8y4gn/T/fxbundler8941792911979020474/macosx. Use them to customize package. Using custom package resource [Mac App Store Entitlements] (loaded from file /Users/tonyanecito/Documents/builds/myuniportal/3D Map Master.entitlements) Using default package resource [Mac App Store Inherit Entitlements] (add package/macosx/3D Map Master_Inherit.entitlements to the class path to customize)3rd Party Mac Developer Application: : ambiguous (matches 3rd Party Mac Developer Application: Tony Anecito (HVZHK3KE9E) and 3rd Party Mac Developer Application: Tony Anecito (HVZHK3KE9E) in /Users/tonyanecito/Library/Keychains/login.keychain)App Store Ready Bundle failed : Exec failed with code 1 command [[codesign, -f, -s, 3rd Party Mac Developer Application: , --entitlements, /var/folders/6z/blxp38g11rj3cvcp22x__8y4gn/T/fxbundler8941792911979020474/macosx/3D Map Master.entitlements, -, /var/folders/6z/blxp38g11rj3cvcp22x__8y4gn/T/fxbundler8941792911979020474/images/mac.appStore.image/3D Map Master.app/Contents/Java/ardor3d-external-libs_V1.0.jar] in unspecified directory[fx:deploy] java.io.IOException: Exec failed with code 1 command [[codesign, -f, -s, 3rd Party Mac Developer Application: , --entitlements, /var/folders/6z/blxp38g11rj3cvcp22x__8y4gn/T/fxbundler8941792911979020474/macosx/3D Map Master.entitlements, -, /var/folders/6z/blxp38g11rj3cvcp22x__8y4gn/T/fxbundler8941792911979020474/images/mac.appStore.image/3D Map Master.app/Contents/Java/ardor3d-external-libs_V1.0.jar] in unspecified directory On Tuesday, February 3, 2015 1:16 AM, Tony Anecito adanec...@yahoo.com wrote: Thanks Danno, I used 1.8.0_31 and did not have the problem. Now I have a new one after I submit the application and telling me the app was not created under the minimum OS X version so I downloaded the latest version and downloaded the latest xcode to see if that helps at all. Looks like it did not help. Hopefully my email to Apple Support will yield and answer. Best Regards,-Tony On Monday, February 2, 2015 6:58 PM, Danno Ferrin danno.fer...@oracle.com wrote: Sorry for the late response. Comcast decided monday at 2pm was the correct time to upgrade some cable hardware for the whole neighborhood. Because comcast cares. My guess is it's failing to find a key for one reason or another. Perhaps the keys aren't unlocked, or they are named slightly differently than the defaults, or there are multiples with the same prefix. Running the bundler in verbose mode should tell you. There are bundler arguments to fine tune the key selection. The Mac PKG bundler looks for a key starting with Developer ID Installer: by default, and fails if it finds more than one. You can refine the search by setting mac.signing-key-user-name to whatever comes after the prefix if there are multiple hits, or set the entire pkg sigining key by setting mac.signing-key-developer-id-installer. For the .app bundler the same thing exists except the prefix is Developer ID Application: and the whole key name is set via mac.signing-key-developer-id-app The user name via the user name key is the same as before, and it applies to all mac keys. For the Mac App Store bundler the prefixes it looks for are 3rd Party Mac Developer Application: and 3rd Party Mac Developer Installer: for the app and the .pkg fiiles respectively, and the whole key names can be set with mac.signing-key-app and mac.signing-key-pkg respectively. Hopefully that helps. On Feb 2, 2015, at 4:25 PM, Tony Anecito adanec...@yahoo.com wrote: Hi All,I looked over the text when the deploxfx is run and all I see is the installer certificate being used and never the developer release certificate. the .app never gets signed with anything except with something called Mach-0 thin (x86-64). Regards,-Tony On Monday, February 2, 2015 3:30 PM, Tony Anecito adanec...@yahoo.com wrote: Hi All,Ok. It seems to be working now for some reason. Now I have yet another new issue. Seems when I submit via application loader 3.0 I get a error about the code object not being signed at all and to make sure I used a distribution certificate. When I used to do this manually not using deployfx supplied with jdk I had to sign the pkg with a ceritificate and never had this issue. Is this a new issue with u40 b23?Any ideas
Re: Error creating bundle for MacOSX using u40 b23
Thanks Danno, I used 1.8.0_31 and did not have the problem. Now I have a new one after I submit the application and telling me the app was not created under the minimum OS X version so I downloaded the latest version and downloaded the latest xcode to see if that helps at all. Looks like it did not help. Hopefully my email to Apple Support will yield and answer. Best Regards,-Tony On Monday, February 2, 2015 6:58 PM, Danno Ferrin danno.fer...@oracle.com wrote: Sorry for the late response. Comcast decided monday at 2pm was the correct time to upgrade some cable hardware for the whole neighborhood. Because comcast cares. My guess is it's failing to find a key for one reason or another. Perhaps the keys aren't unlocked, or they are named slightly differently than the defaults, or there are multiples with the same prefix. Running the bundler in verbose mode should tell you. There are bundler arguments to fine tune the key selection. The Mac PKG bundler looks for a key starting with Developer ID Installer: by default, and fails if it finds more than one. You can refine the search by setting mac.signing-key-user-name to whatever comes after the prefix if there are multiple hits, or set the entire pkg sigining key by setting mac.signing-key-developer-id-installer. For the .app bundler the same thing exists except the prefix is Developer ID Application: and the whole key name is set via mac.signing-key-developer-id-app The user name via the user name key is the same as before, and it applies to all mac keys. For the Mac App Store bundler the prefixes it looks for are 3rd Party Mac Developer Application: and 3rd Party Mac Developer Installer: for the app and the .pkg fiiles respectively, and the whole key names can be set with mac.signing-key-app and mac.signing-key-pkg respectively. Hopefully that helps. On Feb 2, 2015, at 4:25 PM, Tony Anecito adanec...@yahoo.com wrote: Hi All,I looked over the text when the deploxfx is run and all I see is the installer certificate being used and never the developer release certificate. the .app never gets signed with anything except with something called Mach-0 thin (x86-64). Regards,-Tony On Monday, February 2, 2015 3:30 PM, Tony Anecito adanec...@yahoo.com wrote: Hi All,Ok. It seems to be working now for some reason. Now I have yet another new issue. Seems when I submit via application loader 3.0 I get a error about the code object not being signed at all and to make sure I used a distribution certificate. When I used to do this manually not using deployfx supplied with jdk I had to sign the pkg with a ceritificate and never had this issue. Is this a new issue with u40 b23?Any ideas how to fix this? Thanks,-Tony On Monday, February 2, 2015 2:07 PM, Tony Anecito adanec...@yahoo.com wrote: Hi All, I tried using u40 b23 to create my macosx pkg file. I am getting the error:execution error: Finder got an error: Can't set toolbar to visible of container window of disk app title to false. (-10006) Then slightly later during the build got the BUILD FAILED. This worked fine for u20 when I last tried it. Thanks for any hints.-Tony
Error creating bundle for MacOSX using u40 b23
Hi All, I tried using u40 b23 to create my macosx pkg file. I am getting the error:execution error: Finder got an error: Can't set toolbar to visible of container window of disk app title to false. (-10006) Then slightly later during the build got the BUILD FAILED. This worked fine for u20 when I last tried it. Thanks for any hints.-Tony
Re: Error creating bundle for MacOSX using u40 b23
Hi All,Ok. It seems to be working now for some reason. Now I have yet another new issue. Seems when I submit via application loader 3.0 I get a error about the code object not being signed at all and to make sure I used a distribution certificate. When I used to do this manually not using deployfx supplied with jdk I had to sign the pkg with a ceritificate and never had this issue. Is this a new issue with u40 b23?Any ideas how to fix this? Thanks,-Tony On Monday, February 2, 2015 2:07 PM, Tony Anecito adanec...@yahoo.com wrote: Hi All, I tried using u40 b23 to create my macosx pkg file. I am getting the error:execution error: Finder got an error: Can't set toolbar to visible of container window of disk app title to false. (-10006) Then slightly later during the build got the BUILD FAILED. This worked fine for u20 when I last tried it. Thanks for any hints.-Tony
Re: Error creating bundle for MacOSX using u40 b23
Hi All,I looked over the text when the deploxfx is run and all I see is the installer certificate being used and never the developer release certificate. the .app never gets signed with anything except with something called Mach-0 thin (x86-64). Regards,-Tony On Monday, February 2, 2015 3:30 PM, Tony Anecito adanec...@yahoo.com wrote: Hi All,Ok. It seems to be working now for some reason. Now I have yet another new issue. Seems when I submit via application loader 3.0 I get a error about the code object not being signed at all and to make sure I used a distribution certificate. When I used to do this manually not using deployfx supplied with jdk I had to sign the pkg with a ceritificate and never had this issue. Is this a new issue with u40 b23?Any ideas how to fix this? Thanks,-Tony On Monday, February 2, 2015 2:07 PM, Tony Anecito adanec...@yahoo.com wrote: Hi All, I tried using u40 b23 to create my macosx pkg file. I am getting the error:execution error: Finder got an error: Can't set toolbar to visible of container window of disk app title to false. (-10006) Then slightly later during the build got the BUILD FAILED. This worked fine for u20 when I last tried it. Thanks for any hints.-Tony
Re: 8U40 b16 support for command line arguments for JavaFX Deploy...
FYI the ant arguments works fine now in 8u40. Thanks,-Tony On Monday, December 8, 2014 1:30 PM, Tony Anecito adanec...@yahoo.com wrote: Thanks sorry I should have said fx:deploy. On Monday, December 8, 2014 12:17 PM, Danno Ferrin danno.fer...@oracle.com wrote: Not sure what you mean by deployfx. My google-fu comes up with devops stugg. We support default command line arguments in 8u40. i.e. if you launch just from the icon launcher we can supply some command line arguments. For ant it is the fx:arguments element underneath the fx:application datatype. for bundler arguments, it is the arguments argument which is a ListString, and if a plain old string is passed in it is whitespace delimited (with no escapes). On Dec 8, 2014, at 11:06 AM, Tony Anecito adanec...@yahoo.com wrote: Hi Danno, Does 8u40 b16 support DeployFX java command line arguments? I brought this up some time ago and you said it would be in 8u40.Also, what ant tags would I use for it? Thanks,-Tony
IOS support?
Hi All, Does someone plan to support Java on IOS? Be great with the inroads openjfx has made with Apple to get java running on IOS so developers do not have to use ObjectiveC. Perhaps someone has a swing/jfx jvm running on IOS or something close to supporting both? Thanks! -Tony
Re: IOS support?
Thanks Danno I have heard of that one. Also, I am looking at codename one have you or anyone else heard about that solution? Best Regards, -Tony On Tuesday, September 9, 2014 2:10 PM, Danno Ferrin danno.fer...@oracle.com wrote: There's a JavaOne session for that: Java on iOS? Yes, You Can! [CON3698] • Henric Müller - CEO, Trillian Mobile AB • Niklas Therning - Head Geek, RoboVM / Trillian Mobile AB Tuesday, Sep 30, 11:00 AM - 12:00 PM - Hilton - Yosemite B/C https://oracleus.activeevents.com/2014/connect/sessionDetail.ww?SESSION_ID=3698 On Sep 9, 2014, at 12:59 PM, Tony Anecito adanec...@yahoo.com wrote: Hi All, Does someone plan to support Java on IOS? Be great with the inroads openjfx has made with Apple to get java running on IOS so developers do not have to use ObjectiveC. Perhaps someone has a swing/jfx jvm running on IOS or something close to supporting both? Thanks! -Tony
Re: 3D Map Master Released into the iTunes Store...
Hi All, Yesterday Disaster Center another Java based SaaS was released via the iTunes store. It has Video, Embedded browser, 3D Mapping features and was accepted on the first submission. Downloads started as soon as it was released! Many thanks to the OpenJDK and OpenJFX groups and Danno Ferrin!! Best Regards, Tony Anecito Founder/President MyUniPortal LLC Rolling Thunder - Free 3D and 2D mapping, streaming video (cam and video player) and testing Software as a Service (SaaS) solution Rolling Thunder - Free 3D and 2D mapping, streaming vide... MyUniPortal LLC • Meridian, ID 83642 ©1998-2014 Anthony Anecito View on www.myuniportal.com Preview by Yahoo JavaOne Dukes Award Winner Future of Java Leader On Thursday, July 31, 2014 3:37 PM, Tony Anecito adanec...@yahoo.com wrote: Hi Danno OpenJFX team, Today 3D Map Master was released into the iTunes Store. I wanted to thank Danno and the team for helping me to get it packaged properly. This is really important because this is a SaaS using Java (Swing JavaFX). I use Restful 2.x web services and a Casandra BigData database for the back end. So it is not quite like the rest of the apps in iTunes. More of an Enterprise Solution. Best Regards, Tony Anecito JavaOne Dukes Winner, Founder/President MyUniPortal LLC http://www.myuniportal.com
Re: Filedialogs in JavaFX-Applet under MacOS
Hi Stefan, I have not tried SWT FileDialog I use the awt FileDialog else I would get my app rejected. Good Luck -Tony On Thursday, September 4, 2014 7:49 PM, Stefan Fuchs snfu...@gmx.de wrote: Hi, has anyone got an filedialog working under MacOS in an JavaFX-Applet? What I tried so far: 1.JavaFX-FileChooser: - FileChooser always opens right behind the browser (see https://javafx-jira.kenai.com/browse/RT-28820), where no user will find it. Same code works fine on Windows 2.Swing-JFileChooser / AWT-FileChooser: - Throws java.awt.HeadlessException“ exception under Java 7 I read https://javafx-jira.kenai.com/browse/RT-20784 https://javafx-jira.kenai.com/browse/RT-20784 , but for me it is not clear, whether there is a workaround for Java 7. I could try to convince users to upgrade to Java 8, but if you visit http://java.com you'll see, it is currently nearly impossible for end users to download Java 8. The site still talks about Java 8 being a test release targeted towards developers, links to jdk, the download page is not localized, user must choose correct file, Anyway, JFileChooser works fine on Windows 3.SWT-FileDialog - Closing the dialog throws NPE, then the Java-plugin crashes with an heapdump You get the song: Works fine on Windows Sorry, if the above sounds like a rant, but finding a solution can be quite frustrating. So any advice of how to get one of the above to work or about an alternative solution is very much appreciated. - Stefan
How to set CFBundleVersion?
Hi Danno, How does one set or increment the CFBundlerVersion value? I tried the bundleArgument but that did not work. When submitting an updated app to Apple itunes this has to be greater than the last version which looks lik by default it is 100. Thanks! -Tony
Re: How to set CFBundleVersion?
Yep I meant CFBundleVersion. Does the bundler allow me to specify the location of a info.plst to use? That way I can get the one the bundler has created, modify it to include the new info.plist with the CFBundleVersion set to what I need and then run the bundler to use that info.plist. Thanks, -Tony On Monday, August 25, 2014 8:47 AM, Danno Ferrin danno.fer...@oracle.com wrote: Do you mean CFBundleVersion? (no r). This is a bug for 8u40: https://javafx-jira.kenai.com/browse/RT-37833 In the mean time I took the info.plist, used the drop-in-resource facility, and provided my own template. Then I hand incremented the CFBundle. If you run with verbose set the Info.PList the bundler provides internally will be saved to a temp directory, and you can just modify it from there. I can confirm from personal use the workaround I just described works. On Aug 25, 2014, at 12:23 AM, Tony Anecito adanec...@yahoo.com wrote: Hi Danno, How does one set or increment the CFBundlerVersion value? I tried the bundleArgument but that did not work. When submitting an updated app to Apple itunes this has to be greater than the last version which looks lik by default it is 100. Thanks! -Tony
Re: How to set CFBundleVersion?
How do I run verbose with the bundler? Thanks! -Tony On Monday, August 25, 2014 10:53 AM, Danno Ferrin danno.fer...@oracle.com wrote: Not at the moment. This is a task I hope to get to in 8u40. It needs to be in the classpath of the ant-javafx.jar in a specific place, which I believe is package/macosx/Info.plist. IIRC the verbose output tells you the name. On Aug 25, 2014, at 9:58 AM, Tony Anecito adanec...@yahoo.com wrote: Yep I meant CFBundleVersion. Does the bundler allow me to specify the location of a info.plst to use? That way I can get the one the bundler has created, modify it to include the new info.plist with the CFBundleVersion set to what I need and then run the bundler to use that info.plist. Thanks, -Tony On Monday, August 25, 2014 8:47 AM, Danno Ferrin danno.fer...@oracle.com wrote: Do you mean CFBundleVersion? (no r). This is a bug for 8u40: https://javafx-jira.kenai.com/browse/RT-37833 In the mean time I took the info.plist, used the drop-in-resource facility, and provided my own template. Then I hand incremented the CFBundle. If you run with verbose set the Info.PList the bundler provides internally will be saved to a temp directory, and you can just modify it from there. I can confirm from personal use the workaround I just described works. On Aug 25, 2014, at 12:23 AM, Tony Anecito adanec...@yahoo.com wrote: Hi Danno, How does one set or increment the CFBundlerVersion value? I tried the bundleArgument but that did not work. When submitting an updated app to Apple itunes this has to be greater than the last version which looks lik by default it is 100. Thanks! -Tony
Re: How to set CFBundleVersion?
Thanks, I figured it out just been working too many 20hr days. -Tony On Monday, August 25, 2014 12:09 PM, Danno Ferrin danno.fer...@oracle.com wrote: From CLI use the -v flag for ant, verbose is an element on the fx:deploy task For the new 8u20 API, the bundler argument is verbose and the value is true On Aug 25, 2014, at 11:10 AM, Tony Anecito adanec...@yahoo.com wrote: How do I run verbose with the bundler? Thanks! -Tony On Monday, August 25, 2014 10:53 AM, Danno Ferrin danno.fer...@oracle.com wrote: Not at the moment. This is a task I hope to get to in 8u40. It needs to be in the classpath of the ant-javafx.jar in a specific place, which I believe is package/macosx/Info.plist. IIRC the verbose output tells you the name. On Aug 25, 2014, at 9:58 AM, Tony Anecito adanec...@yahoo.com wrote: Yep I meant CFBundleVersion. Does the bundler allow me to specify the location of a info.plst to use? That way I can get the one the bundler has created, modify it to include the new info.plist with the CFBundleVersion set to what I need and then run the bundler to use that info.plist. Thanks, -Tony On Monday, August 25, 2014 8:47 AM, Danno Ferrin danno.fer...@oracle.com wrote: Do you mean CFBundleVersion? (no r). This is a bug for 8u40: https://javafx-jira.kenai.com/browse/RT-37833 In the mean time I took the info.plist, used the drop-in-resource facility, and provided my own template. Then I hand incremented the CFBundle. If you run with verbose set the Info.PList the bundler provides internally will be saved to a temp directory, and you can just modify it from there. I can confirm from personal use the workaround I just described works. On Aug 25, 2014, at 12:23 AM, Tony Anecito adanec...@yahoo.com wrote: Hi Danno, How does one set or increment the CFBundlerVersion value? I tried the bundleArgument but that did not work. When submitting an updated app to Apple itunes this has to be greater than the last version which looks lik by default it is 100. Thanks! -Tony
Re: How to set CFBundleVersion?
Thanks Danno that tip of figuring out the config directory allowed me to use the info.plist as a template with the modified CFBundleVersion and iTunes accepted the updated version. -Tony On Monday, August 25, 2014 12:28 PM, Tony Anecito adanec...@yahoo.com wrote: Thanks, I figured it out just been working too many 20hr days. -Tony On Monday, August 25, 2014 12:09 PM, Danno Ferrin danno.fer...@oracle.com wrote: From CLI use the -v flag for ant, verbose is an element on the fx:deploy task For the new 8u20 API, the bundler argument is verbose and the value is true On Aug 25, 2014, at 11:10 AM, Tony Anecito adanec...@yahoo.com wrote: How do I run verbose with the bundler? Thanks! -Tony On Monday, August 25, 2014 10:53 AM, Danno Ferrin danno.fer...@oracle.com wrote: Not at the moment. This is a task I hope to get to in 8u40. It needs to be in the classpath of the ant-javafx.jar in a specific place, which I believe is package/macosx/Info.plist. IIRC the verbose output tells you the name. On Aug 25, 2014, at 9:58 AM, Tony Anecito adanec...@yahoo.com wrote: Yep I meant CFBundleVersion. Does the bundler allow me to specify the location of a info.plst to use? That way I can get the one the bundler has created, modify it to include the new info.plist with the CFBundleVersion set to what I need and then run the bundler to use that info.plist. Thanks, -Tony On Monday, August 25, 2014 8:47 AM, Danno Ferrin danno.fer...@oracle.com wrote: Do you mean CFBundleVersion? (no r). This is a bug for 8u40: https://javafx-jira.kenai.com/browse/RT-37833 In the mean time I took the info.plist, used the drop-in-resource facility, and provided my own template. Then I hand incremented the CFBundle. If you run with verbose set the Info.PList the bundler provides internally will be saved to a temp directory, and you can just modify it from there. I can confirm from personal use the workaround I just described works. On Aug 25, 2014, at 12:23 AM, Tony Anecito adanec...@yahoo.com wrote: Hi Danno, How does one set or increment the CFBundlerVersion value? I tried the bundleArgument but that did not work. When submitting an updated app to Apple itunes this has to be greater than the last version which looks lik by default it is 100. Thanks! -Tony
Bundle native libraries for Mac for JNA JNI...
Hi All, I need to bundle Mac native libraries so that JNA and JNI can find them. I can not bundle inside a jar since JNA will not find them. But I want the native libraries to be found inside the .app file say in a lib folder. Anyone know how to do that using javafx deploy ant scripts? Is there some special directory I have to setup like I do for icns? Thanks! -Tony
Re: Bundle native libraries for Mac for JNA JNI...
Ok. I think the native libraries should be placed under MacOS folder in the app file say under a folder structure I define so my code can find it using a jna native call. Iam still researhing it some more tonight. Thanks, -Tony On Sunday, August 10, 2014 9:09 AM, Tony Anecito adanec...@yahoo.com wrote: Hi All, I need to bundle Mac native libraries so that JNA and JNI can find them. I can not bundle inside a jar since JNA will not find them. But I want the native libraries to be found inside the .app file say in a lib folder. Anyone know how to do that using javafx deploy ant scripts? Is there some special directory I have to setup like I do for icns? Thanks! -Tony
3D Map Master Released into the iTunes Store...
Hi Danno OpenJFX team, Today 3D Map Master was released into the iTunes Store. I wanted to thank Danno and the team for helping me to get it packaged properly. This is really important because this is a SaaS using Java (Swing JavaFX). I use Restful 2.x web services and a Casandra BigData database for the back end. So it is not quite like the rest of the apps in iTunes. More of an Enterprise Solution. Best Regards, Tony Anecito JavaOne Dukes Winner, Founder/President MyUniPortal LLC http://www.myuniportal.com
Re: hg: openjfx/8u-dev/rt: RT-37832: [packager] Mac App Store Bundler fails to strip jfxmedia.dylib and strips Info.plist
Thanks I will download it. -Tony On Thursday, July 17, 2014 10:33 AM, Danno Ferrin danno.fer...@oracle.com wrote: FYI b23 just went live on the EA site: https://jdk8.java.net/download.html On Tuesday, July 8, 2014 3:18 PM, Kevin Rushforth kevin.rushfo...@oracle.com wrote: As soon as EA builds of 8u40 start up (nor sure exactly when but likely in 1 or 2 weeks) you can get the fix from 8u40-b01. If you don't mind using JDK 9, the fix will be in 9-b22 which should be out on Friday or Monday. Not sure when / if 8u20-b23 will be available (it's the GA candidate build and those are often not posted on java.net). -- Kevin Tony Anecito wrote: Ok. Something odd happened I never seen before and acts like issue might be with Info.pList in the pkg file. The app file works just fine. -Tony On Tuesday, July 8, 2014 2:59 PM, Danno Ferrin danno.fer...@oracle.com wrote: The Info.plist in the plugins dir. i.e. app/Contents/PlugIns/jdk_name/Contents/Info.plist - we should be preserving this as I believe apple checks the meta-data for it. I still haven’t been able to sign it in a way the ApplicationLoader won’t complain, but it is just a warning at the moment. It’s been broken since b18, the second week of June. As for when b23 will appear, that’s always been above my pay grade. The fix is in the 8u40 line at the moment, and to get stuff into 8u20 involves committee approval now. Looks good, but I don’t sit in or listen into those meetings. The HG repo to keep an eye on is http://hg.openjdk.java.net/openjfx/8u20/rt/, and I missed the b22 build but the repo isn’t reflecting that yet. On Jul 8, 2014, at 2:02 PM, Tony Anecito adanec...@yahoo.com wrote: Thanks Kevin. I know why the media libraries need to not be present but not what the stripped Info.plist means. So when might b23 appear? Thanks, -Tony On Tuesday, July 8, 2014 1:53 PM, Kevin Rushforth kevin.rushfo...@oracle.com wrote: Danno will answer the first question (it is related to needing to omit the media libraries). As to when it will appear, if it is approved for inclusion into 8u20 it will be in b23. -- Kevin Tony Anecito wrote: Hi Danno, What do you mean by strips Info.plist? I am having a strange problem using b20 and wondering if it is related to what you meant by stripped Info.plist. Also, what build will this be fixed in? Thanks, -Tony On Monday, July 7, 2014 2:46 PM, danno.fer...@shemnon.com danno.fer...@shemnon.com wrote: Changeset: 7398ae52202d Author: shemnon Date: 2014-07-07 10:51 -0600 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/7398ae52202d RT-37832: [packager] Mac App Store Bundler fails to strip jfxmedia.dylib and strips Info.plist Summary: unit test for file verifications ! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacAppStoreBundlerTest.java
Re: hg: openjfx/8u-dev/rt: RT-37832: [packager] Mac App Store Bundler fails to strip jfxmedia.dylib and strips Info.plist
Hi Danno, What do you mean by strips Info.plist? I am having a strange problem using b20 and wondering if it is related to what you meant by stripped Info.plist. Also, what build will this be fixed in? Thanks, -Tony On Monday, July 7, 2014 2:46 PM, danno.fer...@shemnon.com danno.fer...@shemnon.com wrote: Changeset: 7398ae52202d Author: shemnon Date: 2014-07-07 10:51 -0600 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/7398ae52202d RT-37832: [packager] Mac App Store Bundler fails to strip jfxmedia.dylib and strips Info.plist Summary: unit test for file verifications ! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacAppStoreBundlerTest.java
Re: hg: openjfx/8u-dev/rt: RT-37832: [packager] Mac App Store Bundler fails to strip jfxmedia.dylib and strips Info.plist
Ok. Something odd happened I never seen before and acts like issue might be with Info.pList in the pkg file. The app file works just fine. -Tony On Tuesday, July 8, 2014 2:59 PM, Danno Ferrin danno.fer...@oracle.com wrote: The Info.plist in the plugins dir. i.e. app/Contents/PlugIns/jdk_name/Contents/Info.plist - we should be preserving this as I believe apple checks the meta-data for it. I still haven’t been able to sign it in a way the ApplicationLoader won’t complain, but it is just a warning at the moment. It’s been broken since b18, the second week of June. As for when b23 will appear, that’s always been above my pay grade. The fix is in the 8u40 line at the moment, and to get stuff into 8u20 involves committee approval now. Looks good, but I don’t sit in or listen into those meetings. The HG repo to keep an eye on is http://hg.openjdk.java.net/openjfx/8u20/rt/, and I missed the b22 build but the repo isn’t reflecting that yet. On Jul 8, 2014, at 2:02 PM, Tony Anecito adanec...@yahoo.com wrote: Thanks Kevin. I know why the media libraries need to not be present but not what the stripped Info.plist means. So when might b23 appear? Thanks, -Tony On Tuesday, July 8, 2014 1:53 PM, Kevin Rushforth kevin.rushfo...@oracle.com wrote: Danno will answer the first question (it is related to needing to omit the media libraries). As to when it will appear, if it is approved for inclusion into 8u20 it will be in b23. -- Kevin Tony Anecito wrote: Hi Danno, What do you mean by strips Info.plist? I am having a strange problem using b20 and wondering if it is related to what you meant by stripped Info.plist. Also, what build will this be fixed in? Thanks, -Tony On Monday, July 7, 2014 2:46 PM, danno.fer...@shemnon.com danno.fer...@shemnon.com wrote: Changeset: 7398ae52202d Author: shemnon Date: 2014-07-07 10:51 -0600 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/7398ae52202d RT-37832: [packager] Mac App Store Bundler fails to strip jfxmedia.dylib and strips Info.plist Summary: unit test for file verifications ! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacAppStoreBundlerTest.java
Re: hg: openjfx/8u-dev/rt: RT-37832: [packager] Mac App Store Bundler fails to strip jfxmedia.dylib and strips Info.plist
Thanks Kevin, Danno - Something is wrong specifically with the pkg file for Apple iTunes. The app, dmg and regular pkg all work fine. It is like there is a permissions issue and my app for that pkg can not read or write or both to the disk. It is like my entitlements file is not being read and used for the that pkg file. I do specify my entitlements file name in my ant script. How does the packager know what the entitlement file name and location is? Thanks, -Tony On Tuesday, July 8, 2014 3:18 PM, Kevin Rushforth kevin.rushfo...@oracle.com wrote: As soon as EA builds of 8u40 start up (nor sure exactly when but likely in 1 or 2 weeks) you can get the fix from 8u40-b01. If you don't mind using JDK 9, the fix will be in 9-b22 which should be out on Friday or Monday. Not sure when / if 8u20-b23 will be available (it's the GA candidate build and those are often not posted on java.net). -- Kevin Tony Anecito wrote: Ok. Something odd happened I never seen before and acts like issue might be with Info.pList in the pkg file. The app file works just fine. -Tony On Tuesday, July 8, 2014 2:59 PM, Danno Ferrin danno.fer...@oracle.com wrote: The Info.plist in the plugins dir. i.e. app/Contents/PlugIns/jdk_name/Contents/Info.plist - we should be preserving this as I believe apple checks the meta-data for it. I still haven’t been able to sign it in a way the ApplicationLoader won’t complain, but it is just a warning at the moment. It’s been broken since b18, the second week of June. As for when b23 will appear, that’s always been above my pay grade. The fix is in the 8u40 line at the moment, and to get stuff into 8u20 involves committee approval now. Looks good, but I don’t sit in or listen into those meetings. The HG repo to keep an eye on is http://hg.openjdk.java.net/openjfx/8u20/rt/, and I missed the b22 build but the repo isn’t reflecting that yet. On Jul 8, 2014, at 2:02 PM, Tony Anecito adanec...@yahoo.com wrote: Thanks Kevin. I know why the media libraries need to not be present but not what the stripped Info.plist means. So when might b23 appear? Thanks, -Tony On Tuesday, July 8, 2014 1:53 PM, Kevin Rushforth kevin.rushfo...@oracle.com wrote: Danno will answer the first question (it is related to needing to omit the media libraries). As to when it will appear, if it is approved for inclusion into 8u20 it will be in b23. -- Kevin Tony Anecito wrote: Hi Danno, What do you mean by strips Info.plist? I am having a strange problem using b20 and wondering if it is related to what you meant by stripped Info.plist. Also, what build will this be fixed in? Thanks, -Tony On Monday, July 7, 2014 2:46 PM, danno.fer...@shemnon.com danno.fer...@shemnon.com wrote: Changeset: 7398ae52202d Author: shemnon Date: 2014-07-07 10:51 -0600 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/7398ae52202d RT-37832: [packager] Mac App Store Bundler fails to strip jfxmedia.dylib and strips Info.plist Summary: unit test for file verifications ! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacAppStoreBundlerTest.java
Re: hg: openjfx/8u-dev/rt: RT-37832: [packager] Mac App Store Bundler fails to strip jfxmedia.dylib and strips Info.plist
The issue I am facing is the map layers are not showing up in the window. It has worked fine in the past and for the app, dmg, pkg rght now except for the iTunes pkg file. The data is on the disk but for the itunes pkg it almost acts as if the disk is not accessable so I was wondering about the entitlements. My Entitlements file name is not the same as the app name a request from Apple. Regards, -Tony On Tuesday, July 8, 2014 4:07 PM, Danno Ferrin danno.fer...@oracle.com wrote: What sort of something wrong? can you describe the failure behavior? Does the app completely bomb out? The file dialog will cause the app to bomb out right now, even with the correct entitlements: https://javafx-jira.kenai.com/browse/RT-37261 and it won’t be fixed until 8u40. If it is some other failure, please describe it. It does weird things wight he container and setting user.home as well. To specify the entitlements either use the bundler argument 'mac.app-store-entitlements’ and enter the file path (build time) or add a drop-in resource named app name.entitlements much like you would an icon. This is for the top level, all other files are signed with an “inherit” sandbox that I have anecdotal evidence is better than identical entitlements. This inherit entitlement can be overridden with an app name-inherit.entitlements drop-in resource. On Jul 8, 2014, at 3:45 PM, Tony Anecito adanec...@yahoo.com wrote: Thanks Kevin, Danno - Something is wrong specifically with the pkg file for Apple iTunes. The app, dmg and regular pkg all work fine. It is like there is a permissions issue and my app for that pkg can not read or write or both to the disk. It is like my entitlements file is not being read and used for the that pkg file. I do specify my entitlements file name in my ant script. How does the packager know what the entitlement file name and location is? Thanks, -Tony On Tuesday, July 8, 2014 3:18 PM, Kevin Rushforth kevin.rushfo...@oracle.com wrote: As soon as EA builds of 8u40 start up (nor sure exactly when but likely in 1 or 2 weeks) you can get the fix from 8u40-b01. If you don't mind using JDK 9, the fix will be in 9-b22 which should be out on Friday or Monday. Not sure when / if 8u20-b23 will be available (it's the GA candidate build and those are often not posted on java.net). -- Kevin Tony Anecito wrote: Ok. Something odd happened I never seen before and acts like issue might be with Info.pList in the pkg file. The app file works just fine. -Tony On Tuesday, July 8, 2014 2:59 PM, Danno Ferrin mailto:danno.fer...@oracle.com wrote: The Info.plist in the plugins dir. i.e. app/Contents/PlugIns/jdk_name/Contents/Info.plist - we should be preserving this as I believe apple checks the meta-data for it. I still haven’t been able to sign it in a way the ApplicationLoader won’t complain, but it is just a warning at the moment. It’s been broken since b18, the second week of June. As for when b23 will appear, that’s always been above my pay grade. The fix is in the 8u40 line at the moment, and to get stuff into 8u20 involves committee approval now. Looks good, but I don’t sit in or listen into those meetings. The HG repo to keep an eye on is http://hg.openjdk.java.net/openjfx/8u20/rt/,and I missed the b22 build but the repo isn’t reflecting that yet. On Jul 8, 2014, at 2:02 PM, Tony Anecito adanec...@yahoo.com wrote: Thanks Kevin. I know why the media libraries need to not be present but not what the stripped Info.plist means. So when might b23 appear? Thanks, -Tony On Tuesday, July 8, 2014 1:53 PM, Kevin Rushforth kevin.rushfo...@oracle.com wrote: Danno will answer the first question (it is related to needing to omit the media libraries). As to when it will appear, if it is approved for inclusion into 8u20 it will be in b23. -- Kevin Tony Anecito wrote: Hi Danno, What do you mean by strips Info.plist? I am having a strange problem using b20 and wondering if it is related to what you meant by stripped Info.plist. Also, what build will this be fixed in? Thanks, -Tony On Monday, July 7, 2014 2:46 PM, danno.fer...@shemnon.com danno.fer...@shemnon.com wrote: Changeset: 7398ae52202d Author: shemnon Date: 2014-07-07 10:51 -0600 URL: http://hg.openjdk.java.net/openjfx/8u-dev/rt/rev/7398ae52202d RT-37832: [packager] Mac App Store Bundler fails to strip jfxmedia.dylib and strips Info.plist Summary: unit test for file verifications ! modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacAppStoreBundlerTest.java
Is Bundler now working for command line parameters?
Hi Danno, Is b20 have the fix for command line parameters that should get passed to the args for the static main method? And if so how do I do that via the deployfx ant task? Thanks, -Tony
Re: Is Bundler now working for command line parameters?
Hi Danno, Mac then Windows app stores. Regards, -Tony On Wednesday, July 2, 2014 2:41 PM, Danno Ferrin danno.fer...@oracle.com wrote: This won’t be fixed until 8u40. What platforms are you targeting? Mac, Linux, Windows? On Jul 2, 2014, at 2:35 PM, Tony Anecito adanec...@yahoo.com wrote: Hi Danno, Is b20 have the fix for command line parameters that should get passed to the args for the static main method? And if so how do I do that via the deployfx ant task? Thanks, -Tony
Re: New bundler in 8u20 question...
Thanks Danno I figured there might be new arguments. And also thanks for working on making it easier for all of us. I did notice that the pkg file created did not install into the applications folder. How does one get it to do that? Is there a new argument for that also? Thanks, -Tony On Sunday, June 15, 2014 9:48 AM, Mike Hearn m...@plan99.net wrote: Does the new bundler still create DMGs as well? AppName-version-MAS.pkg where the -MAS variant is for Mac App Store, this will show up in next weeks build. Could I suggest -AppStore instead of -MAS, which is a rather opaque acronym.
Re: New bundler in 8u20 question...
Thanks Danno I do not use netbeans just Ant script for my build. So any way to set the javaFX Deploy ant script to tell the pkg file to deploy to the applications folder? Thanks Again, -Tony On Sunday, June 15, 2014 3:36 PM, Danno Ferrin danno.fer...@oracle.com wrote: On Jun 15, 2014, at 11:32 AM, Tony Anecito adanec...@yahoo.com wrote: Thanks Danno I figured there might be new arguments. And also thanks for working on making it easier for all of us. I did notice that the pkg file created did not install into the applications folder. How does one get it to do that? Is there a new argument for that also? This is the “SystemWide” argument, which IIRC netbeans sets to false by default, this is NetBeans doing and not the packager. I still don’t understand why they invert that default. And it’s a pain to configure. On your project, RMC and select properties. Go to build/deployment and turn on the advanced JavaFX properties. There is a scary dialog about changing the project files format. Save a backup first. Now it re-loads the project. Go to the same dialog and about 2/3 of the way down is a checkbox “Install Permanently,” check it. If you use the CLI or the Ant files w/o NetBeans help it is set to system wide by default, it is the JavaFX project (which makes sensible decisions for a webstart-centric app) that makes things confusing. Thanks, -Tony On Sunday, June 15, 2014 9:48 AM, Mike Hearn m...@plan99.net wrote: Does the new bundler still create DMGs as well? AppName-version-MAS.pkg where the -MAS variant is for Mac App Store, this will show up in next weeks build. Could I suggest -AppStore instead of -MAS, which is a rather opaque acronym.
New bundler in 8u20 question...
Hi All, The new bundler in 8u20 seems to create a .pkg file. I am wondering if that is also codesigned via apple codesign command and if so how does it find the entitlements file? So is the goal of the new bundler to replace ALL the manual steps Danno mentioned previously for it to be ready for the Apple iTunes store? Thanks, -Tony
Re: Bundler question for Mac OS X...
Hi Danno, I tried 1.8.0_05 and same issue with sub-menu items. Let me know location for 1.8.0_20 and I will try that also. Thanks, -Tony On Thursday, June 12, 2014 11:54 PM, Tony Anecito adanec...@yahoo.com wrote: Hi Danno, I am using 1.8.0.0 and it does not work. Only the main menu item changes with the name. I will download prod 8u5 and try this. Where can I download the pkg for 8U20? Thanks, -Tony On Wednesday, June 11, 2014 9:48 AM, Tony Anecito adanec...@yahoo.com wrote: Thanks Danno I will try tonight with your suggestion. I will let you know the results. This is the last thing holding up approval of my app for the store. Best Regards, -Tony On Wednesday, June 11, 2014 8:22 AM, Danno Ferrin danno.fer...@oracle.com wrote: It does change the sub-menu items (Hide foo/Quit foo), at least the 8u20 toolchain does. I would expect the 8u5 toolchain to change it too because it looks the same, but I haven’t worked on those builds recently. On Jun 11, 2014, at 8:05 AM, Tony Anecito adanec...@yahoo.com wrote: I will try your suggestion to see if the sub-menu items name changes with what you sugggested. Thanks, -Tony On , Tony Anecito adanec...@yahoo.com wrote: Hi, The name attribute affects the main menu item but not the sub-menu items. Not sure if you understood what I meant by sub-menu items. It would be better if the sub-menu items did not use the starting/launcher class name. I even found examples googleing where java main.startupclassname was shown for sub-menu items. Apple iTunes store will reject java apps becuase of this issue. They want the app name to match everywhere on the app including the sub-menu item names. Thanks, -Tony On Wednesday, June 11, 2014 7:50 AM, Danno Ferrin danno.fer...@oracle.com wrote: This will be upgraded in the 8u20 release. For pre8u20 in the ant script the menu bar name is the name attribute from the application element. fx:deploy … !-- … -- fx:application id=“com.example.your.mac.App” name=“Your App”/ !-- … -- /fx:deploy (This will still work in 8u20, if it doesn’t it is a bug to me I will fix). The down side is that some of those value have double use when using multiple platforms. For example the id attribute is also the UUID for MSI bundles. The name is also the name of the launcher file too, and pre 8u20 they are tied together (unless you do a drop in resource to manually fix the identifier). Starting with 8u20 you can specify bundle params, and I have done my best to eliminate the overlapping values, or at least allow you to set specific values that will fall back to overlapping values. fx:deploy … !-- … -- fx:bundleArgument arg=“mac.CFBundleIdentifier” value=“com.example.your.mac.App”/ fx:bundleArgument arg=“mac.CFBundleName” value=“Your App”/ !-- … -- /fx:deploy Since the windows bundlers don’t understand those arguments they will ignore them. And the bundle name can be different from the launcher name now as well. On Jun 11, 2014, at 4:16 AM, Anthony Petrov anthony.pet...@oracle.com wrote: Hi Tony, I don't know the exact syntax for the FX deploy script (is it the -title or -name option for the javafxpackager [1] ?), however [2] suggests that the CFBundleName key in Info.plist can be used to set the application name. I can confirm that Glass reads the value and assigns it to the application name. The Quit menu item then uses this name for its text label. Does setting the CFBundleName work for you? [1] http://docs.oracle.com/javafx/2/deployment/javafxpackager.htm [2] https://javafx-jira.kenai.com/browse/RT-18563 -- best regards, Anthony On 6/11/2014 7:54 AM, Tony Anecito wrote: Hi All, I noticed the menu bar for OS X is probably using my class name that has the static main in it. How do I override that in the JavFX Deploy ant script? The About, Hide and Quit sub-menu items are using a different name than what I want. The main menu item is correct. Thanks! Tony
Re: Bundler question for Mac OS X...
Hi Danno, I downloaded 8u20 and it looks like the sub-menu items are using the launcher file name. Also, the info.plist created by the deploy task is wrong. It does not use the correct jar for JVMMainjarName so the app does not start untill I changed it to the correct name. Is this new? I see the other fixes are in there we talked about. Regards, -Tony On Friday, June 13, 2014 12:41 AM, Tony Anecito adanec...@yahoo.com wrote: Hi Danno, I tried 1.8.0_05 and same issue with sub-menu items. Let me know location for 1.8.0_20 and I will try that also. Thanks, -Tony On Thursday, June 12, 2014 11:54 PM, Tony Anecito adanec...@yahoo.com wrote: Hi Danno, I am using 1.8.0.0 and it does not work. Only the main menu item changes with the name. I will download prod 8u5 and try this. Where can I download the pkg for 8U20? Thanks, -Tony On Wednesday, June 11, 2014 9:48 AM, Tony Anecito adanec...@yahoo.com wrote: Thanks Danno I will try tonight with your suggestion. I will let you know the results. This is the last thing holding up approval of my app for the store. Best Regards, -Tony On Wednesday, June 11, 2014 8:22 AM, Danno Ferrin danno.fer...@oracle.com wrote: It does change the sub-menu items (Hide foo/Quit foo), at least the 8u20 toolchain does. I would expect the 8u5 toolchain to change it too because it looks the same, but I haven’t worked on those builds recently. On Jun 11, 2014, at 8:05 AM, Tony Anecito adanec...@yahoo.com wrote: I will try your suggestion to see if the sub-menu items name changes with what you sugggested. Thanks, -Tony On , Tony Anecito adanec...@yahoo.com wrote: Hi, The name attribute affects the main menu item but not the sub-menu items. Not sure if you understood what I meant by sub-menu items. It would be better if the sub-menu items did not use the starting/launcher class name. I even found examples googleing where java main.startupclassname was shown for sub-menu items. Apple iTunes store will reject java apps becuase of this issue. They want the app name to match everywhere on the app including the sub-menu item names. Thanks, -Tony On Wednesday, June 11, 2014 7:50 AM, Danno Ferrin danno.fer...@oracle.com wrote: This will be upgraded in the 8u20 release. For pre8u20 in the ant script the menu bar name is the name attribute from the application element. fx:deploy … !-- … -- fx:application id=“com.example.your.mac.App” name=“Your App”/ !-- … -- /fx:deploy (This will still work in 8u20, if it doesn’t it is a bug to me I will fix). The down side is that some of those value have double use when using multiple platforms. For example the id attribute is also the UUID for MSI bundles. The name is also the name of the launcher file too, and pre 8u20 they are tied together (unless you do a drop in resource to manually fix the identifier). Starting with 8u20 you can specify bundle params, and I have done my best to eliminate the overlapping values, or at least allow you to set specific values that will fall back to overlapping values. fx:deploy … !-- … -- fx:bundleArgument arg=“mac.CFBundleIdentifier” value=“com.example.your.mac.App”/ fx:bundleArgument arg=“mac.CFBundleName” value=“Your App”/ !-- … -- /fx:deploy Since the windows bundlers don’t understand those arguments they will ignore them. And the bundle name can be different from the launcher name now as well. On Jun 11, 2014, at 4:16 AM, Anthony Petrov anthony.pet...@oracle.com wrote: Hi Tony, I don't know the exact syntax for the FX deploy script (is it the -title or -name option for the javafxpackager [1] ?), however [2] suggests that the CFBundleName key in Info.plist can be used to set the application name. I can confirm that Glass reads the value and assigns it to the application name. The Quit menu item then uses this name for its text label. Does setting the CFBundleName work for you? [1] http://docs.oracle.com/javafx/2/deployment/javafxpackager.htm [2] https://javafx-jira.kenai.com/browse/RT-18563 -- best regards, Anthony On 6/11/2014 7:54 AM, Tony Anecito wrote: Hi All, I noticed the menu bar for OS X is probably using my class name that has the static main in it. How do I override that in the JavFX Deploy ant script? The About, Hide and Quit sub-menu items are using a different name than what I want. The main menu item is correct. Thanks! Tony
Re: Bundler question for Mac OS X...
Hi Danno, I am using 1.8.0.0 and it does not work. Only the main menu item changes with the name. I will download prod 8u5 and try this. Where can I download the pkg for 8U20? Thanks, -Tony On Wednesday, June 11, 2014 9:48 AM, Tony Anecito adanec...@yahoo.com wrote: Thanks Danno I will try tonight with your suggestion. I will let you know the results. This is the last thing holding up approval of my app for the store. Best Regards, -Tony On Wednesday, June 11, 2014 8:22 AM, Danno Ferrin danno.fer...@oracle.com wrote: It does change the sub-menu items (Hide foo/Quit foo), at least the 8u20 toolchain does. I would expect the 8u5 toolchain to change it too because it looks the same, but I haven’t worked on those builds recently. On Jun 11, 2014, at 8:05 AM, Tony Anecito adanec...@yahoo.com wrote: I will try your suggestion to see if the sub-menu items name changes with what you sugggested. Thanks, -Tony On , Tony Anecito adanec...@yahoo.com wrote: Hi, The name attribute affects the main menu item but not the sub-menu items. Not sure if you understood what I meant by sub-menu items. It would be better if the sub-menu items did not use the starting/launcher class name. I even found examples googleing where java main.startupclassname was shown for sub-menu items. Apple iTunes store will reject java apps becuase of this issue. They want the app name to match everywhere on the app including the sub-menu item names. Thanks, -Tony On Wednesday, June 11, 2014 7:50 AM, Danno Ferrin danno.fer...@oracle.com wrote: This will be upgraded in the 8u20 release. For pre8u20 in the ant script the menu bar name is the name attribute from the application element. fx:deploy … !-- … -- fx:application id=“com.example.your.mac.App” name=“Your App”/ !-- … -- /fx:deploy (This will still work in 8u20, if it doesn’t it is a bug to me I will fix). The down side is that some of those value have double use when using multiple platforms. For example the id attribute is also the UUID for MSI bundles. The name is also the name of the launcher file too, and pre 8u20 they are tied together (unless you do a drop in resource to manually fix the identifier). Starting with 8u20 you can specify bundle params, and I have done my best to eliminate the overlapping values, or at least allow you to set specific values that will fall back to overlapping values. fx:deploy … !-- … -- fx:bundleArgument arg=“mac.CFBundleIdentifier” value=“com.example.your.mac.App”/ fx:bundleArgument arg=“mac.CFBundleName” value=“Your App”/ !-- … -- /fx:deploy Since the windows bundlers don’t understand those arguments they will ignore them. And the bundle name can be different from the launcher name now as well. On Jun 11, 2014, at 4:16 AM, Anthony Petrov anthony.pet...@oracle.com wrote: Hi Tony, I don't know the exact syntax for the FX deploy script (is it the -title or -name option for the javafxpackager [1] ?), however [2] suggests that the CFBundleName key in Info.plist can be used to set the application name. I can confirm that Glass reads the value and assigns it to the application name. The Quit menu item then uses this name for its text label. Does setting the CFBundleName work for you? [1] http://docs.oracle.com/javafx/2/deployment/javafxpackager.htm [2] https://javafx-jira.kenai.com/browse/RT-18563 -- best regards, Anthony On 6/11/2014 7:54 AM, Tony Anecito wrote: Hi All, I noticed the menu bar for OS X is probably using my class name that has the static main in it. How do I override that in the JavFX Deploy ant script? The About, Hide and Quit sub-menu items are using a different name than what I want. The main menu item is correct. Thanks! Tony
Re: Bundler question for Mac OS X...
Hi, The name attribute affects the main menu item but not the sub-menu items. Not sure if you understood what I meant by sub-menu items. It would be better if the sub-menu items did not use the starting/launcher class name. I even found examples googleing where java main.startupclassname was shown for sub-menu items. Apple iTunes store will reject java apps becuase of this issue. They want the app name to match everywhere on the app including the sub-menu item names. Thanks, -Tony On Wednesday, June 11, 2014 7:50 AM, Danno Ferrin danno.fer...@oracle.com wrote: This will be upgraded in the 8u20 release. For pre8u20 in the ant script the menu bar name is the name attribute from the application element. fx:deploy … !-- … -- fx:application id=“com.example.your.mac.App” name=“Your App”/ !-- … -- /fx:deploy (This will still work in 8u20, if it doesn’t it is a bug to me I will fix). The down side is that some of those value have double use when using multiple platforms. For example the id attribute is also the UUID for MSI bundles. The name is also the name of the launcher file too, and pre 8u20 they are tied together (unless you do a drop in resource to manually fix the identifier). Starting with 8u20 you can specify bundle params, and I have done my best to eliminate the overlapping values, or at least allow you to set specific values that will fall back to overlapping values. fx:deploy … !-- … -- fx:bundleArgument arg=“mac.CFBundleIdentifier” value=“com.example.your.mac.App”/ fx:bundleArgument arg=“mac.CFBundleName” value=“Your App”/ !-- … -- /fx:deploy Since the windows bundlers don’t understand those arguments they will ignore them. And the bundle name can be different from the launcher name now as well. On Jun 11, 2014, at 4:16 AM, Anthony Petrov anthony.pet...@oracle.com wrote: Hi Tony, I don't know the exact syntax for the FX deploy script (is it the -title or -name option for the javafxpackager [1] ?), however [2] suggests that the CFBundleName key in Info.plist can be used to set the application name. I can confirm that Glass reads the value and assigns it to the application name. The Quit menu item then uses this name for its text label. Does setting the CFBundleName work for you? [1] http://docs.oracle.com/javafx/2/deployment/javafxpackager.htm [2] https://javafx-jira.kenai.com/browse/RT-18563 -- best regards, Anthony On 6/11/2014 7:54 AM, Tony Anecito wrote: Hi All, I noticed the menu bar for OS X is probably using my class name that has the static main in it. How do I override that in the JavFX Deploy ant script? The About, Hide and Quit sub-menu items are using a different name than what I want. The main menu item is correct. Thanks! Tony
Re: Bundler question for Mac OS X...
I will try your suggestion to see if the sub-menu items name changes with what you sugggested. Thanks, -Tony On , Tony Anecito adanec...@yahoo.com wrote: Hi, The name attribute affects the main menu item but not the sub-menu items. Not sure if you understood what I meant by sub-menu items. It would be better if the sub-menu items did not use the starting/launcher class name. I even found examples googleing where java main.startupclassname was shown for sub-menu items. Apple iTunes store will reject java apps becuase of this issue. They want the app name to match everywhere on the app including the sub-menu item names. Thanks, -Tony On Wednesday, June 11, 2014 7:50 AM, Danno Ferrin danno.fer...@oracle.com wrote: This will be upgraded in the 8u20 release. For pre8u20 in the ant script the menu bar name is the name attribute from the application element. fx:deploy … !-- … -- fx:application id=“com.example.your.mac.App” name=“Your App”/ !-- … -- /fx:deploy (This will still work in 8u20, if it doesn’t it is a bug to me I will fix). The down side is that some of those value have double use when using multiple platforms. For example the id attribute is also the UUID for MSI bundles. The name is also the name of the launcher file too, and pre 8u20 they are tied together (unless you do a drop in resource to manually fix the identifier). Starting with 8u20 you can specify bundle params, and I have done my best to eliminate the overlapping values, or at least allow you to set specific values that will fall back to overlapping values. fx:deploy … !-- … -- fx:bundleArgument arg=“mac.CFBundleIdentifier” value=“com.example.your.mac.App”/ fx:bundleArgument arg=“mac.CFBundleName” value=“Your App”/ !-- … -- /fx:deploy Since the windows bundlers don’t understand those arguments they will ignore them. And the bundle name can be different from the launcher name now as well. On Jun 11, 2014, at 4:16 AM, Anthony Petrov anthony.pet...@oracle.com wrote: Hi Tony, I don't know the exact syntax for the FX deploy script (is it the -title or -name option for the javafxpackager [1] ?), however [2] suggests that the CFBundleName key in Info.plist can be used to set the application name. I can confirm that Glass reads the value and assigns it to the application name. The Quit menu item then uses this name for its text label. Does setting the CFBundleName work for you? [1] http://docs.oracle.com/javafx/2/deployment/javafxpackager.htm [2] https://javafx-jira.kenai.com/browse/RT-18563 -- best regards, Anthony On 6/11/2014 7:54 AM, Tony Anecito wrote: Hi All, I noticed the menu bar for OS X is probably using my class name that has the static main in it. How do I override that in the JavFX Deploy ant script? The About, Hide and Quit sub-menu items are using a different name than what I want. The main menu item is correct. Thanks! Tony
Re: Bundler question for Mac OS X...
Thanks Danno I will try tonight with your suggestion. I will let you know the results. This is the last thing holding up approval of my app for the store. Best Regards, -Tony On Wednesday, June 11, 2014 8:22 AM, Danno Ferrin danno.fer...@oracle.com wrote: It does change the sub-menu items (Hide foo/Quit foo), at least the 8u20 toolchain does. I would expect the 8u5 toolchain to change it too because it looks the same, but I haven’t worked on those builds recently. On Jun 11, 2014, at 8:05 AM, Tony Anecito adanec...@yahoo.com wrote: I will try your suggestion to see if the sub-menu items name changes with what you sugggested. Thanks, -Tony On , Tony Anecito adanec...@yahoo.com wrote: Hi, The name attribute affects the main menu item but not the sub-menu items. Not sure if you understood what I meant by sub-menu items. It would be better if the sub-menu items did not use the starting/launcher class name. I even found examples googleing where java main.startupclassname was shown for sub-menu items. Apple iTunes store will reject java apps becuase of this issue. They want the app name to match everywhere on the app including the sub-menu item names. Thanks, -Tony On Wednesday, June 11, 2014 7:50 AM, Danno Ferrin danno.fer...@oracle.com wrote: This will be upgraded in the 8u20 release. For pre8u20 in the ant script the menu bar name is the name attribute from the application element. fx:deploy … !-- … -- fx:application id=“com.example.your.mac.App” name=“Your App”/ !-- … -- /fx:deploy (This will still work in 8u20, if it doesn’t it is a bug to me I will fix). The down side is that some of those value have double use when using multiple platforms. For example the id attribute is also the UUID for MSI bundles. The name is also the name of the launcher file too, and pre 8u20 they are tied together (unless you do a drop in resource to manually fix the identifier). Starting with 8u20 you can specify bundle params, and I have done my best to eliminate the overlapping values, or at least allow you to set specific values that will fall back to overlapping values. fx:deploy … !-- … -- fx:bundleArgument arg=“mac.CFBundleIdentifier” value=“com.example.your.mac.App”/ fx:bundleArgument arg=“mac.CFBundleName” value=“Your App”/ !-- … -- /fx:deploy Since the windows bundlers don’t understand those arguments they will ignore them. And the bundle name can be different from the launcher name now as well. On Jun 11, 2014, at 4:16 AM, Anthony Petrov anthony.pet...@oracle.com wrote: Hi Tony, I don't know the exact syntax for the FX deploy script (is it the -title or -name option for the javafxpackager [1] ?), however [2] suggests that the CFBundleName key in Info.plist can be used to set the application name. I can confirm that Glass reads the value and assigns it to the application name. The Quit menu item then uses this name for its text label. Does setting the CFBundleName work for you? [1] http://docs.oracle.com/javafx/2/deployment/javafxpackager.htm [2] https://javafx-jira.kenai.com/browse/RT-18563 -- best regards, Anthony On 6/11/2014 7:54 AM, Tony Anecito wrote: Hi All, I noticed the menu bar for OS X is probably using my class name that has the static main in it. How do I override that in the JavFX Deploy ant script? The About, Hide and Quit sub-menu items are using a different name than what I want. The main menu item is correct. Thanks! Tony
Bundler question for Mac OS X...
Hi All, I noticed the menu bar for OS X is probably using my class name that has the static main in it. How do I override that in the JavFX Deploy ant script? The About, Hide and Quit sub-menu items are using a different name than what I want. The main menu item is correct. Thanks! Tony
Javafx deploy ant task question...
Hi All, Does anyone know how to get command line parameters passed to the args of a java program via the javafx deploy ant task? I tried and could not get anything to work. I have a command line argument like serverid=myserver and want to to get passed to my program via args. Thanks! -Tony
Re: Javafx deploy ant task question...
Thanks Danno I am surprised also this has slipped notice. I thought I was crazy but I guess not. I will look at the workaround since I so hate hardcoding which is what I did to get things to work. Thanks for looking into my issue. -Tony On Wednesday, April 30, 2014 5:51 PM, Danno Ferrin danno.fer...@oracle.com wrote: After reading the code I am surprised by the answer I am going to give. You can’t. Not with the current code. The arguments passed into the java main class are the arguments passed into the executable launching it. So if you launch the win app via command line with arguments you get the arguments, but of you launch via start screen/start menu you get no arguments. This is worthy of a JIRA for 8u40 (I think 8u20 is too far down the pike for feature adds). Also, propose what we should do when we both have a bundler specified command line and the user passes one in via the command line. I’m thinking we ignore the bundled one and use the command line ones. I think this is better than any prepend/append solution. As a workaround, you can use system properties either via jvmArgument or jvmUserArgument. For user arguments the values are simply smashed together, so if you are setting system properties you need to set the key to -Dprop=“ —Danno On Apr 30, 2014, at 4:34 PM, Tony Anecito adanec...@yahoo.com wrote: Hi All, Does anyone know how to get command line parameters passed to the args of a java program via the javafx deploy ant task? I tried and could not get anything to work. I have a command line argument like serverid=myserver and want to to get passed to my program via args. Thanks! -Tony
Re: Why can Scene's only be constructed on the UI thread?
Hi Tom this is also true for Swing and the EDT. I had heard years ago jre 8 was going to address this via 2 drawing threads and modularity but jigsaw was delayed and not sure what happened to the 2 drawing thread idea. I really wish we could instantiate windows in memory and when needed draw them. The user experience and perception of java would be so much better for the client side. If someone on the java client side knows how to do this I would love to try it to verify it. Best Regards, Tony Anecito On Saturday, April 26, 2014 11:39 AM, Mike Hearn m...@plan99.net wrote: At e(fx)clipse we have an FXML to Java translator who removes all the reflection overhead from FXML. It does not yet support all FXML features but we are steadily improving it and with test cases we are able to fix problems quite fast. Maybe this is an option for you? That would be very interesting to try, yes please! Where can I find it? My project is Java 8 based so that's no problem.
JavaFX Deploy What I am I doing wrong?
Hi All, Here is a rough outline of what I am doing trying to get my java app into the Apple app store. There seems to be some variance in what might work. I know there is work going on to fix these things for a later version of openJDK but wanted to see if someone knows what I am doing wrong. I am down to just a error regarding invalid signature but I have no working java apps in the app store to compare some things to like the info plist for the ire. Let me know those who have done this successfully what I am missing. /create the app bundle ant bundle.mac.app //modify bundle id in pinto list since it is now all lowercase and needs Map-Master to have some letters for uppercase. //copy info.plist from jdk install Contents directory to jdk/contents directory //remove libjfxmedia.dynlib since contain the old quicktime library calls //set permissions to be able to sign all the plugins jars chmod -R 777 Map-Master.app/Contents/Plugins sign all jars in sub directory only do this if needed find Map-Master.app -name *.jar -or -name *.dylib | xargs codesign -f -s “3rd Party Mac Developer Application: team name” —-entitlements Map-Master.entitlements sign the plugins codesign —verbose —deep —force -s “3rd Party Mac Developer Application: team name” —entitlements Map-Master.entitlements Map-Master.app/Contents/Plugins/jdk1.8.0.jdk //Sign the app codesign —-deep f -s “3rd Party Mac Developer Application: team name” —entitlements Map-Master.entitlements Map-Master.app //Build the package for the store productbuild —component Map-Master.app /Applications —sign “3rd Party Mac Developer Installer: team name” Map-Master.pkg //Test the install sudo installer -store -pkg Map-Master.pkg //upload to the store using Xcode
Is Quicktime API calls inside JavaFX?
Hi All, Is JavaFX using Apple Quicktime for video support? Thanks, -Tony
Re: Is Quicktime API calls inside JavaFX?
Thanks for the verification. No matter what state Quicktime is in it is no longer accepted by the Apple Store. I am guessing these new rules will soon apply to everything but I could be wrong. Regards, -Tony On Tuesday, March 25, 2014 9:27 AM, David DeHaven david.deha...@oracle.com wrote: Hi All, Apparently the JavaFX includes some libraries that use the obsolete Quicktime. When some submits to the Apple Store a JavaFX app it gets rejected based on JavaFX having the obsolete API. I found out how to fix it from someone else running into the same issue. http://stackoverflow.com/questions/21008617/java-error-when-submitting-app-to-mac-store-deprecated-api-usage It uses the now deprecated QTKit to play media. -DrD-
Re: Is Quicktime API calls inside JavaFX?
Hi All, Apparently the JavaFX includes some libraries that use the obsolete Quicktime. When some submits to the Apple Store a JavaFX app it gets rejected based on JavaFX having the obsolete API. I found out how to fix it from someone else running into the same issue. http://stackoverflow.com/questions/21008617/java-error-when-submitting-app-to-mac-store-deprecated-api-usage Regards, -Tony On Tuesday, March 25, 2014 7:49 AM, Tony Anecito adanec...@yahoo.com wrote: Hi All, Is JavaFX using Apple Quicktime for video support? Thanks, -Tony
Re: Is Quicktime API calls inside JavaFX?
Thanks I read it. I also added a new issue regarding Apple now needing a pinfo file for the jdk plugin inside the bundle created by JavaFX deploy. Regards, -Tony On Tuesday, March 25, 2014 10:36 AM, Phil Race philip.r...@oracle.com wrote: I presume that Apple now want you to use AVKit which is new in 10.9. However I don't understand how you can develop an app that targets 10.8 if its unable to use QTKit since that's all there is on 10.8 or earlier. Does the AppStore really disallow targeting something like half the installed base ?? -phil. On 3/25/2014 9:19 AM, Stephen F Northover wrote: Here is the JIRA that is tracking this: https://javafx-jira.kenai.com/browse/RT-34893 Steve On 2014-03-25 11:46 AM, Tony Anecito wrote: Thanks for the verification. No matter what state Quicktime is in it is no longer accepted by the Apple Store. I am guessing these new rules will soon apply to everything but I could be wrong. Regards, -Tony On Tuesday, March 25, 2014 9:27 AM, David DeHaven david.deha...@oracle.com wrote: Hi All, Apparently the JavaFX includes some libraries that use the obsolete Quicktime. When some submits to the Apple Store a JavaFX app it gets rejected based on JavaFX having the obsolete API. I found out how to fix it from someone else running into the same issue. http://stackoverflow.com/questions/21008617/java-error-when-submitting-app-to-mac-store-deprecated-api-usage It uses the now deprecated QTKit to play media. -DrD-
Re: Is Quicktime API calls inside JavaFX?
Hi Phil, What happened is when I submitted my app package it uploaded and Apple ran a check and pointed out the issue but did not suggest a solution. There are other solutions for video out there but not sure Apple would approve. I will find out soon with my next app but for now trying not to throw too much technology at them at once. Oracle may be interested in what I am up to and why I think it is very important I get my app approved for the Apple App Store. http://www.myuniportal.com/screenshots.html Best Regards, Tony Anecito Founder/President MyUniPortal http://www.myuniportal.com Winner of Java Dukes Award On Tuesday, March 25, 2014 11:27 AM, Tony Anecito adanec...@yahoo.com wrote: Thanks I read it. I also added a new issue regarding Apple now needing a pinfo file for the jdk plugin inside the bundle created by JavaFX deploy. Regards, -Tony On Tuesday, March 25, 2014 10:36 AM, Phil Race philip.r...@oracle.com wrote: I presume that Apple now want you to use AVKit which is new in 10.9. However I don't understand how you can develop an app that targets 10.8 if its unable to use QTKit since that's all there is on 10.8 or earlier. Does the AppStore really disallow targeting something like half the installed base ?? -phil. On 3/25/2014 9:19 AM, Stephen F Northover wrote: Here is the JIRA that is tracking this: https://javafx-jira.kenai.com/browse/RT-34893 Steve On 2014-03-25 11:46 AM, Tony Anecito wrote: Thanks for the verification. No matter what state Quicktime is in it is no longer accepted by the Apple Store. I am guessing these new rules will soon apply to everything but I could be wrong. Regards, -Tony On Tuesday, March 25, 2014 9:27 AM, David DeHaven david.deha...@oracle.com wrote: Hi All, Apparently the JavaFX includes some libraries that use the obsolete Quicktime. When some submits to the Apple Store a JavaFX app it gets rejected based on JavaFX having the obsolete API. I found out how to fix it from someone else running into the same issue. http://stackoverflow.com/questions/21008617/java-error-when-submitting-app-to-mac-store-deprecated-api-usage It uses the now deprecated QTKit to play media. -DrD-
Re: Using JavaFX deploy and having signing issues...
Does anyone know how to codesign the jdk in the bundle created by JavaFX deploy ant task properly? I tried: codesign -f -s 3rd Party Mac Developer Application: Cert Name name.app/Contents/Plugins/jdk1.8.0.jdk I get the error: name.app/Contents/Plugins/jdk1.8.0.jdk bundle format unrecognized, invalid, or unsuitable I am wondering what was done with Ensemble to get past this issue. Thanks, -Tony On Sunday, March 23, 2014 4:52 PM, Tony Anecito adanec...@yahoo.com wrote: Hi, I am using JavaFX deploy ant task and having issue trying to sign because of jre embeded for Apple Store bundling. It is the last issue I have to fix then I can finish my Apple Store submission. Apparently even the jdk for the bundle has to be signed. To do that I had to redo permissions of jars and dylib files so the signing process would not error. My jars for my own app jars are code signed already. I am using the Apple find and codesign together so the jdk jre jars and dylib files get signed by codesign. Still I get error when submitting final pkg (with its own signing requirements) about invalid signature saying app not signed. I also discovered the JavaFX deploy lowercases my bundle id so it did not match bundle id registered with iconnect. I fixed the pinfo file so it matched. I would really like to see how this is all done with the ensemble app from the JavaFX group. Regards, -Tony
Re: Using JavaFX deploy and having signing issues...
Thanks Richard, I know some more now. It seems with Mavericks 10.9 codesign and the bundle format that JavaFX deploy creates is no longer valid. There are starting to appear to be more references to this issue on the internet. So JavaFX apps can no longer be created and work on the Mac at least as far as the Apple Store is concerned. I may have to downgrade my Mac OS X to 10.8 to create Apple Store distributable JavaFX apps for the Mac. -Tony On Monday, March 24, 2014 10:57 AM, Richard Bair richard.b...@oracle.com wrote: One last hurdle, you need to remove the media library for JavaFX (lib/libjfxmedia.dylib) from your bundled JDK. It uses QuickTime and that is being disowned by apple. This may be fixed in a later 8u update, but not in 8.0.0_b132. Oh good grief, Apple! So what should we be using instead? This means I cannot make use of fx media in any app submitted to the app store? Richard
Re: Using JavaFX deploy and having signing issues...
So you have tried codesign with Mavericks OS X? I am getting invalid bundle when the jdk is bundled as required by the Apple Store. You have to codesign the jdk plugin seprately. Yes you can create a pkg or dmg image but I am looking for the correct way get the jdk codesigned else the app codesign fails also. Do you have a working example of codesign the jdk in the bundle? Thanks, -Tony On Monday, March 24, 2014 11:48 AM, Danno Ferrin danno.fer...@oracle.com wrote: You can still deploy apps to the app store using JavaFX. You just cannot use the media library at the moment. You can do it also via non app store distribution and sign it via gatekeeper as well and keep the media libraries in. And it shouldn't matter what version of Mac OSX you use to build it. Tony Anecito adanec...@yahoo.com wrote: Thanks Richard, I know some more now. It seems with Mavericks 10.9 codesign and the bundle format that JavaFX deploy creates is no longer valid. There are starting to appear to be more references to this issue on the internet. So JavaFX apps can no longer be created and work on the Mac at least as far as the Apple Store is concerned. I may have to downgrade my Mac OS X to 10.8 to create Apple Store distributable JavaFX apps for the Mac. -Tony On Monday, March 24, 2014 10:57 AM, Richard Bair richard.b...@oracle.com wrote: One last hurdle, you need to remove the media library for JavaFX (lib/libjfxmedia.dylib) from your bundled JDK. It uses QuickTime and that is being disowned by apple. This may be fixed in a later 8u update, but not in 8.0.0_b132. Oh good grief, Apple! So what should we be using instead? This means I cannot make use of fx media in any app submitted to the app store? Richard
Re: How to build 64-bit FX ?
Hi Kevin, I am doing a swing-javafx app and have been able to run on 64-bit OpenJDK and Windows Java. The only thing to watch out for is any native libraries. Those of course have to be 64-bit. Regards, -Tony On Monday, March 24, 2014 9:04 AM, Kevin Rushforth kevin.rushfo...@oracle.com wrote: Good to hear that you can build OK now. -- Kevin Anthony Petrov wrote: Previously I simply did `rm -rf caches`, but this didn't seem to do the right job. After a completely fresh clone of a new repo and performing a build using 64-bit JDK, I finally got it working. -- best regards, Anthony On 3/21/2014 8:26 PM, Anthony Petrov wrote: Thanks, Kevin. The build went fine. However, when starting an app, I get the infamous NoSuchMethodError: notifyInitAccessibility exception (I'm building a fresh 8u20 repo). I tried to specify -Djava.library.path=artifacts\sdk\rt\bin but this didn't help. Note that the x64 JDK I'm using to run the app has its jfxrt.jar removed. But(!), I can actually run the app using the (supposed to be) 64-bit FX binaries with a 32-bit JDK. And it runs fine in this case. But how this could possibly work? And most importantly, how do I get it work with a 64-bit JDK? -- best regards, Anthony On 3/21/2014 6:46 PM, Kevin Rushforth wrote: If your JDK_HOME points to a 64-bit JDK then you will get a 64-bit FX build. No additional options are needed. You need to do a gradle clean as part of your build if you previously built a 32-build in the same repo. Also, if not building webkit or media, make sure you update your stub_runtime to point to 64-bit FX binaries (your caches dir if doing a closed build). -- Kevin Anthony Petrov wrote: Hello, I'm on Win7 64 bit system. Regularly I use 32-bit compilers and a 32-bit JDK, and when building FX by executing the `gradle` command, I get a 32-bit FX build. How do I get a 64-bit FX build on the same system? What additional software do I need? I suppose I need a 64-bit JDK, right? I have VS2010 Professional installed. Do I need to install any additional development tools/compilers? What options/environment variables do I specify on the command line to run gradle and get a 64-bit FX build? -- best regards, Anthony
Re: Using JavaFX deploy and having signing issues...
Ok I was able to codesign and submit. The JavaFX deploy task is not creating a info.plist when the jdk is added to the bundle for the jdk. After submission there were some issues related to signing and it now requires a entitlements file for some things in the jre. Regards, -Tony On Monday, March 24, 2014 12:01 PM, Tony Anecito adanec...@yahoo.com wrote: So you have tried codesign with Mavericks OS X? I am getting invalid bundle when the jdk is bundled as required by the Apple Store. You have to codesign the jdk plugin seprately. Yes you can create a pkg or dmg image but I am looking for the correct way get the jdk codesigned else the app codesign fails also. Do you have a working example of codesign the jdk in the bundle? Thanks, -Tony On Monday, March 24, 2014 11:48 AM, Danno Ferrin danno.fer...@oracle.com wrote: You can still deploy apps to the app store using JavaFX. You just cannot use the media library at the moment. You can do it also via non app store distribution and sign it via gatekeeper as well and keep the media libraries in. And it shouldn't matter what version of Mac OSX you use to build it. Tony Anecito adanec...@yahoo.com wrote: Thanks Richard, I know some more now. It seems with Mavericks 10.9 codesign and the bundle format that JavaFX deploy creates is no longer valid. There are starting to appear to be more references to this issue on the internet. So JavaFX apps can no longer be created and work on the Mac at least as far as the Apple Store is concerned. I may have to downgrade my Mac OS X to 10.8 to create Apple Store distributable JavaFX apps for the Mac. -Tony On Monday, March 24, 2014 10:57 AM, Richard Bair richard.b...@oracle.com wrote: One last hurdle, you need to remove the media library for JavaFX (lib/libjfxmedia.dylib) from your bundled JDK. It uses QuickTime and that is being disowned by apple. This may be fixed in a later 8u update, but not in 8.0.0_b132. Oh good grief, Apple! So what should we be using instead? This means I cannot make use of fx media in any app submitted to the app store? Richard
Re: Using JavaFX deploy and having signing issues...
I have already started doing that since the info I found on the web does not mention some of the issues I am running into. -Tony On Monday, March 24, 2014 4:40 PM, Stephen F Northover steve.x.northo...@oracle.com wrote: Yes and we'll put them on the OpenJFX wiki. Steve On 2014-03-24 6:39 PM, Mark Fortner wrote: Tony and/or Danno, Would you mind documenting the steps that you had to go through to make a Mac application that was submittable to the Apple Store? I'm sure everyone who's struggling to create applications would appreciate the information. Cheers, Mark On Mon, Mar 24, 2014 at 3:30 PM, Tony Anecito adanec...@yahoo.com wrote: Ok I was able to codesign and submit. The JavaFX deploy task is not creating a info.plist when the jdk is added to the bundle for the jdk. After submission there were some issues related to signing and it now requires a entitlements file for some things in the jre. Regards, -Tony On Monday, March 24, 2014 12:01 PM, Tony Anecito adanec...@yahoo.com wrote: So you have tried codesign with Mavericks OS X? I am getting invalid bundle when the jdk is bundled as required by the Apple Store. You have to codesign the jdk plugin seprately. Yes you can create a pkg or dmg image but I am looking for the correct way get the jdk codesigned else the app codesign fails also. Do you have a working example of codesign the jdk in the bundle? Thanks, -Tony On Monday, March 24, 2014 11:48 AM, Danno Ferrin danno.fer...@oracle.com wrote: You can still deploy apps to the app store using JavaFX. You just cannot use the media library at the moment. You can do it also via non app store distribution and sign it via gatekeeper as well and keep the media libraries in. And it shouldn't matter what version of Mac OSX you use to build it. Tony Anecito adanec...@yahoo.com wrote: Thanks Richard, I know some more now. It seems with Mavericks 10.9 codesign and the bundle format that JavaFX deploy creates is no longer valid. There are starting to appear to be more references to this issue on the internet. So JavaFX apps can no longer be created and work on the Mac at least as far as the Apple Store is concerned. I may have to downgrade my Mac OS X to 10.8 to create Apple Store distributable JavaFX apps for the Mac. -Tony On Monday, March 24, 2014 10:57 AM, Richard Bair richard.b...@oracle.com wrote: One last hurdle, you need to remove the media library for JavaFX (lib/libjfxmedia.dylib) from your bundled JDK. It uses QuickTime and that is being disowned by apple. This may be fixed in a later 8u update, but not in 8.0.0_b132. Oh good grief, Apple! So what should we be using instead? This means I cannot make use of fx media in any app submitted to the app store? Richard
Using JavaFX deploy and having signing issues...
Hi, I am using JavaFX deploy ant task and having issue trying to sign because of jre embeded for Apple Store bundling. It is the last issue I have to fix then I can finish my Apple Store submission. Apparently even the jdk for the bundle has to be signed. To do that I had to redo permissions of jars and dylib files so the signing process would not error. My jars for my own app jars are code signed already. I am using the Apple find and codesign together so the jdk jre jars and dylib files get signed by codesign. Still I get error when submitting final pkg (with its own signing requirements) about invalid signature saying app not signed. I also discovered the JavaFX deploy lowercases my bundle id so it did not match bundle id registered with iconnect. I fixed the pinfo file so it matched. I would really like to see how this is all done with the ensemble app from the JavaFX group. Regards, -Tony