Duplicate :
|
|
Relates :
|
Setting the application name using command line options results in the wrong name being displayed. Here's the output of a Griffon/Groovyfx application that sets a value for -Xdock:name {code} [6/12/12 5:32:53 PM] Runtime libraries: [6/12/12 5:32:53 PM] asm-3.3.1.jar [6/12/12 5:32:53 PM] axis.jar [6/12/12 5:32:53 PM] client-0.1-SNAPSHOT.jar [6/12/12 5:32:53 PM] commons-discovery-0.2.jar [6/12/12 5:32:53 PM] extra166y-1.7.0.jar [6/12/12 5:32:53 PM] gpars-0.12.jar [6/12/12 5:32:53 PM] griffon-i18n-support-runtime-0.2.jar [6/12/12 5:32:53 PM] griffon-javafx-runtime-0.6.1.jar [6/12/12 5:32:53 PM] griffon-rt-1.0.0.jar [6/12/12 5:32:53 PM] groovy-all-1.8.6.jar [6/12/12 5:32:53 PM] groovyfx-0.2.jar [6/12/12 5:32:53 PM] jaxrpc.jar [6/12/12 5:32:53 PM] jcl-over-slf4j-1.6.4.jar [6/12/12 5:32:53 PM] jsr166y-1.7.0.jar [6/12/12 5:32:53 PM] jul-to-slf4j-1.6.4.jar [6/12/12 5:32:53 PM] log4j-1.2.16.jar [6/12/12 5:32:53 PM] shared-0.1-SNAPSHOT.jar [6/12/12 5:32:53 PM] slf4j-api-1.6.4.jar [6/12/12 5:32:53 PM] slf4j-log4j12-1.6.4.jar [6/12/12 5:32:53 PM] wsdl4j-1.5.1.jar [6/12/12 5:32:53 PM] Platform specific jars (macosx64): [6/12/12 5:32:53 PM] Platform specific jars (macosx): [6/12/12 5:32:53 PM] Running JVM options: [6/12/12 5:32:53 PM] -Dgriffon.env=development [6/12/12 5:32:53 PM] -Dgriffon.runmode=STANDALONE [6/12/12 5:32:53 PM] -Dgriffon.start.dir='/Users/aalmiray/Projects/canoo/dolphin/beacon-client' [6/12/12 5:32:53 PM] -Djava.library.path=.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:/Users/aalmiray/Projects/canoo/dolphin/beacon-client/staging/macosx64/native:/Users/aalmiray/Projects/canoo/dolphin/beacon-client/staging/macosx/native [6/12/12 5:32:53 PM] -Xmx768m [6/12/12 5:32:53 PM] -Xdock:name=Beacon-client [6/12/12 5:32:53 PM] -Xdock:icon=/usr/local/griffon/media/griffon.icns [6/12/12 5:32:53 PM] System properties: [6/12/12 5:32:53 PM] griffon.cli.verbose = true [6/12/12 5:32:53 PM] griffon.application.name = Beacon-client Launching application ... [6/12/12 5:32:53 PM] Executing /System/Library/Frameworks/JavaVM.framework/Home//bin/java -Dgriffon.env=development -Dgriffon.runmode=STANDALONE -Dgriffon.start.dir='/Users/aalmiray/Projects/canoo/dolphin/beacon-client' -Djava.library.path=.:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:/Users/aalmiray/Projects/canoo/dolphin/beacon-client/staging/macosx64/native:/Users/aalmiray/Projects/canoo/dolphin/beacon-client/staging/macosx/native -Xmx768m -Xdock:name=Beacon-client -Xdock:icon=/usr/local/griffon/media/griffon.icns -Dgriffon.cli.verbose=true -Dgriffon.application.name=Beacon-client -classpath /Users/aalmiray/.griffon/1.0.0/projects/beacon-client/resources/griffon-app/i18n:/Users/aalmiray/.griffon/1.0.0/projects/beacon-client/resources/griffon-app/resources:asm-3.3.1.jar:axis.jar:client-0.1-SNAPSHOT.jar:commons-discovery-0.2.jar:extra166y-1.7.0.jar:gpars-0.12.jar:griffon-i18n-support-runtime-0.2.jar:griffon-javafx-runtime-0.6.1.jar:griffon-rt-1.0.0.jar:groovy-all-1.8.6.jar:groovyfx-0.2.jar:jaxrpc.jar:jcl-over-slf4j-1.6.4.jar:jsr166y-1.7.0.jar:jul-to-slf4j-1.6.4.jar:log4j-1.2.16.jar:shared-0.1-SNAPSHOT.jar:slf4j-api-1.6.4.jar:slf4j-log4j12-1.6.4.jar:wsdl4j-1.5.1.jar:/usr/local/javafx/rt/lib/jfxrt.jar:/Users/aalmiray/.griffon/1.0.0/projects/beacon-client/classes/main griffon.javafx.JavaFXApplication {code} The name of the application is "Beacon-client" but when running the name is turned into just "java"