How to set CFBundleVersion?

Danno Ferrin danno.ferrin at oracle.com
Mon Aug 25 16:53:38 UTC 2014


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 <adanecito at 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.ferrin at 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 <adanecito at 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
> 
> 



More information about the openjfx-dev mailing list