Re: Javafxpackager and splash screen

2014-04-14 Thread David DeHaven

You may want to join the OpenJFX mailing list, the developers working on JavaFX 
packager are more likely to see packager questions over there.

openjfx-...@openjdk.java.net

-DrD-

 Hi,
 
 using javafxpackager -deploy on a jar with SplashScreen in the manifest.mf
 will not create an entity in the info.plist with splash option. Is it
 supported.  I'm using jdk 1.8.0, I have tried to do it manually e.g.
 
 keyJVMOptions/key
  array
  string-splash:$APP_ROOT/Contents/Java/images/logo.png/string
  /array
 
 i tried even the absolute path in case APP_ROOT is not supported but not
 working.
 
 For some reason, I'm not able to do it even using the infinitekind
 appbundler, maybe it is not supporting jdk 1.8
 
 Any help is appreciated.



Re: Javafxpackager and splash screen

2014-04-13 Thread Michael Hall
On Apr 13, 2014, at 11:10 AM, Abu Abdullah falcon.sh...@gmail.com wrote:

 
 
 Can you please try the following test sample on your machine. ideally it 
 should work but it is not in my case:
 https://drive.google.com/file/d/0B6nSYRwywQUoNzV5RHh5bWl6amc/edit?usp=sharing
 
 the code is compiled with 1.8, you just need to modify the splash path in 
 your case.

Sorry not 1.8. If you think the path is correct you probably have a bug.

Michael Hall

trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz

HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html#halfpipe

AppConverter convert Apple jvm to openjdk apps 
http://www195.pair.com/mik3hall/index.html#appconverter







Re: Javafxpackager and splash screen

2014-04-12 Thread Michael Hall
On Apr 11, 2014, at 9:38 PM, Abu Abdullah falcon.sh...@gmail.com wrote:

 On Sat, Apr 12, 2014 at 6:19 AM, Michael Hall mik3h...@gmail.com wrote:
 
 i tried even the absolute path in case APP_ROOT is not supported but not
 working.
 
 I seem to remember support for something like this being added. But am not 
 sure. You could check the source.
 
 
 I tried also with jdk1.8.0 u20 as well but it is the same version 
 javafxpackager 2.2
  
I looked at the last appbundler source I have downloaded, which may not be 
current. But saw no support for APP_ROOT in main.m.
To be sure you could download the latest and check yourself. 
From this, APP_ROOT would not work, you might show how you specified fullpath? 
Path wrong could still be a reason it doesn't work that doesn't mean a bug.

 
 yes it runs through command line and I'm trying with both 1.8.0 and u20


In the most current version of the source that I have, again possibly not the 
actual latest - then it should work application launched. 
The source has…

// Get the VM options
NSArray *options = [infoDictionary objectForKey:@JVM_OPTIONS_KEY];
if (options == nil) {
options = [NSArray array];
}

…

// Initialize the arguments to JLI_Launch()
int argc = 1 + [options count] + 2 + [arguments count] + 1;
char *argv[argc];

int i = 0;
argv[i++] = commandName;
argv[i++] = strdup([classPath UTF8String]);
argv[i++] = strdup([libraryPath UTF8String]);

for (NSString *option in options) {
argv[i++] = strdup([option UTF8String]);
}

So it just copies in the options, no editing, skipping or additions. Should be 
just like command line.

So if path is good, and it doesn't correctly handle the splash option, then 
something is broken somehow that isn't broken in command line and you probably 
have a bug report?

Michael Hall

trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz

HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html#halfpipe

AppConverter convert Apple jvm to openjdk apps 
http://www195.pair.com/mik3hall/index.html#appconverter






Re: Javafxpackager and splash screen

2014-04-11 Thread Michael Hall

 i tried even the absolute path in case APP_ROOT is not supported but not
 working.

I seem to remember support for something like this being added. But am not 
sure. You could check the source.


 
 For some reason, I'm not able to do it even using the infinitekind
 appbundler, maybe it is not supporting jdk 1.8
 
 Any help is appreciated.

It is probably not a problem in passing the JVMOption, I would guess about 
anything you say is a JVMOption is probably passed as is without much, if any, 
editing. 
If this is true then appbundler or infinitekind shouldn't matter. The problem 
would probably be the OS X port support of the splash option.
Does it run command line? java -splash:path/to/image ...
I think you would need the 1.8 JDK installed to check this.

Michael Hall

trz nio.2 for OS X http://www195.pair.com/mik3hall/index.html#trz

HalfPipe Java 6/7 shell app http://www195.pair.com/mik3hall/index.html#halfpipe

AppConverter convert Apple jvm to openjdk apps 
http://www195.pair.com/mik3hall/index.html#appconverter






Re: Javafxpackager and splash screen

2014-04-11 Thread Abu Abdullah
On Sat, Apr 12, 2014 at 6:19 AM, Michael Hall mik3h...@gmail.com wrote:


 i tried even the absolute path in case APP_ROOT is not supported but not
 working.


 I seem to remember support for something like this being added. But am not
 sure. You could check the source.


I tried also with jdk1.8.0 u20 as well but it is the same version
javafxpackager 2.2




 For some reason, I'm not able to do it even using the infinitekind
 appbundler, maybe it is not supporting jdk 1.8

 Any help is appreciated.


 It is probably not a problem in passing the JVMOption, I would guess about
 anything you say is a JVMOption is probably passed as is without much, if
 any, editing.
 If this is true then appbundler or infinitekind shouldn't matter. The
 problem would probably be the OS X port support of the splash option.
 Does it run command line? java -splash:path/to/image ...
 I think you would need the 1.8 JDK installed to check this.


yes it runs through command line and I'm trying with both 1.8.0 and u20