How to set CFBundleVersion?

Danno Ferrin danno.ferrin at oracle.com
Mon Aug 25 18:09:23 UTC 2014


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 <adanecito at yahoo.com> wrote:

> How do I run verbose with the bundler?
> 
> Thanks!
> -Tony
> 
> 
> On Monday, August 25, 2014 10:53 AM, Danno Ferrin <danno.ferrin at 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 <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