changeset 6953:54010afd2dcb

RT-36724 - JavaFX Packager Renaming Summary: move the binary, and leave a copy with a helpful message in the old place
author Danno Ferrin (shemnon) <danno.ferrin@oracle.com>
date Tue, 29 Apr 2014 14:28:02 -0600
parents 88d025a21446
children 60ec7824be54
files build.gradle buildSrc/win.gradle modules/fxpackager/src/main/java/com/oracle/tools/packager/AbstractBundler.java modules/fxpackager/src/main/java/com/oracle/tools/packager/BasicBundlers.java modules/fxpackager/src/main/java/com/oracle/tools/packager/Bundler.java modules/fxpackager/src/main/java/com/oracle/tools/packager/BundlerParamInfo.java modules/fxpackager/src/main/java/com/oracle/tools/packager/Bundlers.java modules/fxpackager/src/main/java/com/oracle/tools/packager/ConfigException.java modules/fxpackager/src/main/java/com/oracle/tools/packager/EnumeratedBundlerParam.java modules/fxpackager/src/main/java/com/oracle/tools/packager/IOUtils.java modules/fxpackager/src/main/java/com/oracle/tools/packager/InvalidBundlerParamException.java modules/fxpackager/src/main/java/com/oracle/tools/packager/JreUtils.java modules/fxpackager/src/main/java/com/oracle/tools/packager/Log.java modules/fxpackager/src/main/java/com/oracle/tools/packager/RelativeFileSet.java modules/fxpackager/src/main/java/com/oracle/tools/packager/StandardBundlerParam.java modules/fxpackager/src/main/java/com/oracle/tools/packager/UnsupportedPlatformException.java modules/fxpackager/src/main/java/com/oracle/tools/packager/linux/LinuxAppBundler.java modules/fxpackager/src/main/java/com/oracle/tools/packager/linux/LinuxDebBundler.java modules/fxpackager/src/main/java/com/oracle/tools/packager/linux/LinuxResources.java modules/fxpackager/src/main/java/com/oracle/tools/packager/linux/LinuxRpmBundler.java modules/fxpackager/src/main/java/com/oracle/tools/packager/mac/MacAppBundler.java modules/fxpackager/src/main/java/com/oracle/tools/packager/mac/MacAppStoreBundler.java modules/fxpackager/src/main/java/com/oracle/tools/packager/mac/MacBaseInstallerBundler.java modules/fxpackager/src/main/java/com/oracle/tools/packager/mac/MacDaemonBundler.java modules/fxpackager/src/main/java/com/oracle/tools/packager/mac/MacDmgBundler.java modules/fxpackager/src/main/java/com/oracle/tools/packager/mac/MacPkgBundler.java modules/fxpackager/src/main/java/com/oracle/tools/packager/mac/MacResources.java modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WinAppBundler.java modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WinExeBundler.java modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WinMsiBundler.java modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WinResources.java modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WinServiceBundler.java modules/fxpackager/src/main/java/com/oracle/tools/packager/windows/WindowsBundlerParam.java modules/fxpackager/src/main/java/com/sun/javafx/tools/packager/DeployParams.java modules/fxpackager/src/main/man/ja_JP.UTF-8/man1/javapackager.1 modules/fxpackager/src/main/man/man1/javapackager.1 modules/fxpackager/src/main/native/javafxpackager/shell/javafxpackager modules/fxpackager/src/main/native/javafxpackager/win/javafxpackager.cpp modules/fxpackager/src/main/native/javafxpackager/win/javafxpackager.manifest modules/fxpackager/src/main/native/javafxpackager/win/javafxpackager.rc modules/fxpackager/src/main/native/javapackager/shell/javapackager modules/fxpackager/src/main/native/javapackager/win/javapackager.cpp modules/fxpackager/src/main/native/javapackager/win/javapackager.manifest modules/fxpackager/src/main/native/javapackager/win/javapackager.rc modules/fxpackager/src/main/resources/com/oracle/tools/packager/AbstractBundler.properties modules/fxpackager/src/main/resources/com/oracle/tools/packager/StandardBundlerParam.properties modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/LinuxAppBundler.properties modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/LinuxDebBundler.properties modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/LinuxRpmBundler.properties modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/javalogo_white_16.png modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/javalogo_white_32.png modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/javalogo_white_48.png modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/template.control modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/template.copyright modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/template.deb.init.script modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/template.desktop modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/template.postinst modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/template.postrm modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/template.preinst modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/template.prerm modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/template.rpm.init.script modules/fxpackager/src/main/resources/com/oracle/tools/packager/linux/template.spec modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/DMGsetup.scpt modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/GenericApp.icns modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/GenericAppHiDPI.icns modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/Info.plist.template modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/MacAppBundler.properties modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/MacAppStore.entitlements modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/MacAppStoreBundler.properties modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/MacAppStore_Inherit.entitlements modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/MacBaseInstallerBundler.properties modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/MacDaemonBundler.properties modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/MacDmgBundler.properties modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/MacPkgBundler.properties modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/background_dmg.png modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/background_pkg.png modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/launchd.plist.template modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/lic_template.plist modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/postinstall.template modules/fxpackager/src/main/resources/com/oracle/tools/packager/mac/preinstall.template modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/WinAppBundler.properties modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/WinExeBundler.properties modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/WinMsiBundler.properties modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/WinServiceBundler.properties modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/WindowsBundlerParam.properties modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/icon_inno_setup.bmp modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/javalogo_white_16.ico modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/javalogo_white_32.ico modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/javalogo_white_48.ico modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/template.iss modules/fxpackager/src/main/resources/com/oracle/tools/packager/windows/template.wxs modules/fxpackager/src/main/resources/com/sun/javafx/tools/packager/Bundle.properties modules/fxpackager/src/main/resources/com/sun/javafx/tools/packager/Bundle_ja.properties modules/fxpackager/src/main/resources/com/sun/javafx/tools/packager/Bundle_zh_CN.properties modules/fxpackager/src/test/java/com/oracle/tools/packager/BundleParamsTest.java modules/fxpackager/src/test/java/com/oracle/tools/packager/BundlersTest.java modules/fxpackager/src/test/java/com/oracle/tools/packager/CLITest.java modules/fxpackager/src/test/java/com/oracle/tools/packager/linux/LinuxAppBundlerTest.java modules/fxpackager/src/test/java/com/oracle/tools/packager/linux/LinuxDebBundlerTest.java modules/fxpackager/src/test/java/com/oracle/tools/packager/linux/LinuxRpmBundlerTest.java modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacAppBundlerTest.java modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacAppStoreBundlerTest.java modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacDaemonBundlerTest.java modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacDmgBundlerTest.java modules/fxpackager/src/test/java/com/oracle/tools/packager/mac/MacPkgBundlerTest.java modules/fxpackager/src/test/java/com/oracle/tools/packager/windows/RuntimeFlagsParserTest.java modules/fxpackager/src/test/java/com/oracle/tools/packager/windows/WinAppBundlerTest.java modules/fxpackager/src/test/java/com/oracle/tools/packager/windows/WinExeBundlerTest.java modules/fxpackager/src/test/java/com/oracle/tools/packager/windows/WinMsiBundlerTest.java modules/fxpackager/src/test/java/com/oracle/tools/packager/windows/WinServiceBundlerTest.java
diffstat 17 files changed, 1720 insertions(+), 709 deletions(-) [+]
line wrap: on
line diff
--- a/build.gradle	Mon Apr 28 21:29:27 2014 -0600
+++ b/build.gradle	Tue Apr 29 14:28:02 2014 -0600
@@ -1813,23 +1813,23 @@
         }
     }
 
-    // Builds the javafxpackager executable. For everything other than windows,
+    // Builds the javapackager executable. For everything other than windows,
     // this is simply moving the existing shell script and ensuring it has proper
     // permissions. For Windows, this includes compiling the native executable
     if (IS_WINDOWS && COMPILE_FXPACKAGER){
-        task buildJavaFXPackager(type: CCTask, group: "Build") {
-            description = "Compiles native sources for javafxpackager.exe"
-            matches = "javafxpackager\\.cpp"
+        task buildJavaPackager(type: CCTask, group: "Build") {
+            description = "Compiles native sources for javapackager.exe"
+            matches = "javapackager\\.cpp"
             params.addAll(WIN.fxpackager.ccFlags)
             compiler = WIN.fxpackager.compiler
-            output(file("$buildDir/native/javafxpackager"))
+            output(file("$buildDir/native/javapackager"))
             source WIN.fxpackager.nativeSource
             doFirst {
                 copy {
                     mkdir "$buildDir/native"
-                    mkdir "$buildDir/native/javafxpackager"
-                    from file("src/main/native/javafxpackager/win/javafxpackager.manifest")
-                    into file("$buildDir/native/javafxpackager")
+                    mkdir "$buildDir/native/javapackager"
+                    from file("src/main/native/javapackager/win/javapackager.manifest")
+                    into file("$buildDir/native/javapackager")
                     filter { line->
                         line = line.replace("FXVERSION", "${RAW_VERSION}.${HUDSON_BUILD_NUMBER}");
                     }
@@ -1839,48 +1839,59 @@
                 mkdir "$buildDir/native"
                 exec({
                     commandLine("$RC", "/nologo", "/l", "0x409", "/r", "/dJFX_DVERSION=8", "/dJFX_VERSION=8",
-                            "/fo$buildDir/native/javafxpackager/javafxpackager.res",
-                            "src/main/native/javafxpackager/win/javafxpackager.rc");
+                            "/fo$buildDir/native/javapackager/javapackager.res",
+                            "src/main/native/javapackager/win/javapackager.rc");
                     environment(WINDOWS_NATIVE_COMPILE_ENVIRONMENT);
                 });
             }
             doLast {
-                mkdir "$buildDir/javafxpackager"
+                mkdir "$buildDir/javapackager"
                 exec({
                     commandLine("$WIN.fxpackager.linker", "/nologo", "/opt:REF", "/incremental:no", "/manifest", "kernel32.lib", "advapi32.lib",
-                            "/out:$buildDir/native/javafxpackager/javafxpackager.exe",
-                            "$buildDir/native/javafxpackager/javafxpackager.obj",
-                            "$buildDir/native/javafxpackager/javafxpackager.res")
+                            "/out:$buildDir/native/javapackager/javapackager.exe",
+                            "$buildDir/native/javapackager/javapackager.obj",
+                            "$buildDir/native/javapackager/javapackager.res")
                     environment(WINDOWS_NATIVE_COMPILE_ENVIRONMENT)
                 })
             }
             doLast {
                 exec({
                     commandLine("$MC", "-manifest",
-                                       "$buildDir/native/javafxpackager/javafxpackager.manifest",
-                                       "-outputresource:$buildDir/native/javafxpackager/javafxpackager.exe")
+                                       "$buildDir/native/javapackager/javapackager.manifest",
+                                       "-outputresource:$buildDir/native/javapackager/javapackager.exe")
                     environment(WINDOWS_NATIVE_COMPILE_ENVIRONMENT)
                 })
                 copy {
-                    from file("$buildDir/native/javafxpackager/javafxpackager.exe")
-                    into file("$buildDir/javafxpackager")
+                    from file("$buildDir/native/javapackager/javapackager.exe")
+                    into file("$buildDir/javapackager")
+                }
+                copy {
+                    from file("$buildDir/native/javapackager/javapackager.exe")
+                    into file("$buildDir/javapackager")
+                    rename ('javapackager', 'javafxpackager')
                 }
             }
         }
     } else {
-        task buildJavaFXPackager(group: "Build") {
+        task buildJavaPackager(group: "Build") {
             enabled = COMPILE_FXPACKAGER
             doLast {
 	            copy {
-    	            from "src/main/native/javafxpackager/shell"
-        		    into "$buildDir/javafxpackager"
+    	            from "src/main/native/javapackager/shell"
+        		    into "$buildDir/javapackager"
+                	fileMode = 0755
+                }
+	            copy {
+    	            from "src/main/native/javapackager/shell"
+        		    into "$buildDir/javapackager"
+                    rename ('javapackager', 'javafxpackager')
                 	fileMode = 0755
                 }
             }
         }
     }
 
-    jar.dependsOn buildJavaFXPackager
+    jar.dependsOn buildJavaPackager
 
     classes << {
         // Copy all of the download libraries to libs directory for the sake of the IDEs
@@ -2825,10 +2836,10 @@
                 into "build/${sdkDirName}/man"
             }
 
-            // Copy over the javafxpackager executable
+            // Copy over the javapackager executable
             if (t.name == "win" || t.name == "linux" || t.name == "mac") {
                 copy {
-                    from "modules/fxpackager/build/javafxpackager"
+                    from "modules/fxpackager/build/javapackager"
                     into "build/${sdkDirName}/bin"
                 }
             }
--- a/buildSrc/win.gradle	Mon Apr 28 21:29:27 2014 -0600
+++ b/buildSrc/win.gradle	Tue Apr 29 14:28:02 2014 -0600
@@ -238,7 +238,7 @@
 
 WIN.fxpackager = [:]
 WIN.fxpackager.nativeSource = [
-    file("modules/fxpackager/src/main/native/javafxpackager/win")]
+    file("modules/fxpackager/src/main/native/javapackager/win")]
 WIN.fxpackager.compiler = compiler
 WIN.fxpackager.ccFlags = ["/nologo", "/W3", "/EHsc", "/MT", "/GS",
                     "/DWIN32", "/D_LITTLE_ENDIAN", "/DWIN32_LEAN_AND_MEAN",
--- a/modules/fxpackager/src/main/java/com/oracle/tools/packager/RelativeFileSet.java	Mon Apr 28 21:29:27 2014 -0600
+++ b/modules/fxpackager/src/main/java/com/oracle/tools/packager/RelativeFileSet.java	Tue Apr 29 14:28:02 2014 -0600
@@ -44,7 +44,7 @@
                 throw new RuntimeException("File " + f.getAbsolutePath() +
                         " does not belong to "+baseAbsolute);
             }
-            if (!absolute.equals(baseAbsolute)) { //possible in javafxpackager case
+            if (!absolute.equals(baseAbsolute)) { //possible in javapackager case
                this.files.add(absolute.substring(baseAbsolute.length()+1));
             }
         }
--- a/modules/fxpackager/src/main/java/com/sun/javafx/tools/packager/DeployParams.java	Mon Apr 28 21:29:27 2014 -0600
+++ b/modules/fxpackager/src/main/java/com/sun/javafx/tools/packager/DeployParams.java	Tue Apr 29 14:28:02 2014 -0600
@@ -324,7 +324,7 @@
     }
 
     //we need to expand as in some cases
-    // (most notably javafxpackager)
+    // (most notably javapackager)
     //we may get "." as filename and assumption is we include
     // everything in the given folder
     // (IOUtils.copyfiles() have recursive behavior)
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/fxpackager/src/main/man/ja_JP.UTF-8/man1/javapackager.1	Tue Apr 29 14:28:02 2014 -0600
@@ -0,0 +1,559 @@
+'\" t
+.\" Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved.
+.\" Title: javapackager
+.\" Language: English
+.\" Date: 2014年4月
+.\" SectDesc: ユーザー・コマンド
+.\" Software: Oracle Java
+.\" Arch: 汎用
+.\"
+.pl 99999
+.TH "javapackager" "1" "2014年4月" "Oracle Java" "ユーザー・コマンド"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el       .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+.SH "NAME"
+javapackager \- JavaFXアプリケーションのパッケージ化と署名に関連するタスクを実行します。
+.SH "概要"
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+\fIjavapackager\fR \fIcommand\fR [\fIoptions\fR]
+.fi
+.if n \{\
+.RE
+.\}
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+.fi
+.if n \{\
+.RE
+.\}
+.PP
+\fIcommand\fR
+.RS 4
+実行する必要のあるタスク。
+.RE
+.PP
+options
+.RS 4
+空白で区切られた1つ以上のコマンド・オプション。
+.RE
+.SH "コマンド"
+.PP
+次のいずれかのコマンドを指定できます。コマンドの後に、そのオプションを指定します。
+.PP
+\-createbss
+.RS 4
+CSSファイルをバイナリ形式に変換します。
+.RE
+.PP
+\-createjar
+.RS 4
+他のパラメータに従ってJARアーカイブを作成します。
+.RE
+.PP
+\-deploy
+.RS 4
+再配布用のアプリケーション・パッケージを組み立てます。デプロイ・タスクでは、デフォルトでベース・アプリケーション・パッケージが生成されますが、指定すれば自己完結型アプリケーション・パッケージも生成できます。
+.RE
+.PP
+\-makeall
+.RS 4
+大半は事前定義されている引数を使用して、コンパイル、\fIcreatejar\fR、\fIdeploy\fRのステップを1つの呼出しで実行します。デフォルトでは、該当する自己完結型アプリケーション・パッケージをすべて生成しようとします。ソース・ファイルはsrcというフォルダに配置する必要があり、生成されるファイル(JAR、JNLP、HTMLおよび自己完結型アプリケーション・パッケージ)はdistというフォルダに出力されます。このコマンドでは最小限の構成のみが可能で、可能な限り自動化されています。
+.RE
+.PP
+\-signjar
+.RS 4
+指定した証明書でJARファイルに署名します。
+.RE
+.SH "CREATEBSSコマンドのオプション"
+.PP
+\-outdir \fIdir\fR
+.RS 4
+生成された出力ファイルを受け取るディレクトリの名前。
+.RE
+.PP
+\-srcdir \fIdir\fR
+.RS 4
+パッケージ化するファイルのベース・ディレクトリ。
+.RE
+.PP
+\-srcfiles \fIfiles\fR
+.RS 4
+\fI\-srcdir\fRオプションで指定されたディレクトリ内のファイルのリスト。省略すると、ディレクトリ(この場合は必須の引数)にあるすべてのファイルが使用されます。リスト内のファイルはスペースで区切る必要があります。
+.RE
+.SH "CREATEJARコマンドのオプション"
+.PP
+\-appclass \fIapp\-class\fR
+.RS 4
+実行するアプリケーション・クラスの修飾名。
+.RE
+.PP
+\-argument \fIarg\fR
+.RS 4
+\fI<fx:argument>\fR要素としてJNLPファイルに挿入される名前なし引数。
+.RE
+.PP
+\-classpath \fIfiles\fR
+.RS 4
+依存するJARファイル名のリスト。
+.RE
+.PP
+\-manifestAttrs \fImanifest\-attributes\fR
+.RS 4
+追加のマニフェスト属性の名前と値のリスト。構文:
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+"name1=value1,name2=value2,name3=value3"
+.fi
+.if n \{\
+.RE
+.\}
+.RE
+.PP
+\-nocss2bin
+.RS 4
+パッケージャはJARにコピーする前にCSSファイルをバイナリ形式に変換しません。
+.RE
+.PP
+\-noembedlauncher
+.RS 4
+指定した場合、パッケージャはJARファイルにJavaFX起動クラスを追加しません。
+.RE
+.PP
+\-outdir \fIdir\fR
+.RS 4
+生成された出力ファイルを受け取るディレクトリの名前。
+.RE
+.PP
+\-outfile \fIfilename\fR
+.RS 4
+生成されるファイルの名前(拡張子なし)。
+.RE
+.PP
+\-paramfile \fIfile\fR
+.RS 4
+デフォルトの名前付きアプリケーション・パラメータが含まれるプロパティ・ファイル。
+.RE
+.PP
+\-preloader \fIpreloader\-class\fR
+.RS 4
+実行するプリローダー・クラスの修飾名。
+.RE
+.PP
+\-runtimeversion \fIversion\fR
+.RS 4
+必要なJavaFXランタイムのバージョン。
+.RE
+.PP
+\-srcdir \fIdir\fR
+.RS 4
+パッケージ化するファイルのベース・ディレクトリ。
+.RE
+.PP
+\-srcfiles \fIfiles\fR
+.RS 4
+\fI\-srcdir\fRオプションで指定されたディレクトリ内のファイルのリスト。省略すると、ディレクトリ(この場合は必須の引数)にあるすべてのファイルが使用されます。リスト内のファイルはスペースで区切る必要があります。
+.RE
+.SH "DEPLOYコマンドのオプション"
+.PP
+\-allpermissions
+.RS 4
+指定した場合、JNLPファイル内のすべてのセキュリティ権限がアプリケーションに必要になります。
+.RE
+.PP
+\-appclass \fIapp\-class\fR
+.RS 4
+実行するアプリケーション・クラスの修飾名。
+.RE
+.PP
+\-argument \fIarg\fR
+.RS 4
+JNLPファイルの\fI<fx:argument>\fR要素に挿入される名前なし引数。
+.RE
+.PP
+\-callbacks
+.RS 4
+生成後のHTMLでのユーザー・コールバック方式を指定します。形式は次のとおりです。
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+"name1:value1,name2:value2,\&.\&.\&."
+.fi
+.if n \{\
+.RE
+.\}
+.RE
+.PP
+\-description \fIdescription\fR
+.RS 4
+アプリケーションの説明。
+.RE
+.PP
+\-embedCertificates
+.RS 4
+指定した場合、証明書がJNLPファイルに埋め込まれます。
+.RE
+.PP
+\-embedjnlp
+.RS 4
+指定した場合、JNLPファイルがHTMLドキュメントに埋め込まれます。
+.RE
+.PP
+\-height \fIheight\fR
+.RS 4
+アプリケーションの高さ。
+.RE
+.PP
+\-htmlparamfile \fIfile\fR
+.RS 4
+生成されるアプリケーションをブラウザで実行する場合のパラメータが含まれるプロパティ・ファイル。
+.RE
+.PP
+\-isExtension
+.RS 4
+指定した場合、\fIsrcfiles\fRは拡張ファイルとして処理されます。
+.RE
+.PP
+\-name \fIname\fR
+.RS 4
+アプリケーションの名前。
+.RE
+.PP
+\-native \fItype\fR
+.RS 4
+自己完結型アプリケーション・バンドルを生成します(可能な場合)。\fItype\fRを指定すると、このタイプのバンドルのみが作成されます。サポートされるタイプは、\fIinstaller\fR、\fIimage\fR、\fIexe\fR、\fImsi\fR、\fIdmg\fR、\fIrpm\fR、\fIdeb\fRです。
+.RE
+.PP
+\-outdir \fIdir\fR
+.RS 4
+生成された出力ファイルを受け取るディレクトリの名前。
+.RE
+.PP
+\-outfile \fIfilename\fR
+.RS 4
+生成されるファイルの名前(拡張子なし)。
+.RE
+.PP
+\-paramfile \fIfile\fR
+.RS 4
+デフォルトの名前付きアプリケーション・パラメータが含まれるプロパティ・ファイル。
+.RE
+.PP
+\-preloader \fIpreloader\-class\fR
+.RS 4
+実行するプリローダー・クラスの修飾名。
+.RE
+.PP
+\-srcdir \fIdir\fR
+.RS 4
+パッケージ化するファイルのベース・ディレクトリ。
+.RE
+.PP
+\-srcfiles \fIfiles\fR
+.RS 4
+\fI\-srcdir\fRオプションで指定されたディレクトリ内のファイルのリスト。省略すると、ディレクトリ(この場合は必須の引数)にあるすべてのファイルが使用されます。リスト内のファイルはスペースで区切る必要があります。
+.RE
+.PP
+\-templateId
+.RS 4
+テンプレート処理を行うアプリケーションのアプリケーションID。
+.RE
+.PP
+\-templateInFilename
+.RS 4
+HTMLテンプレート・ファイルの名前。プレースホルダの形式は次のとおりです。
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+#XXXX\&.YYYY(APPID)#
+.fi
+.if n \{\
+.RE
+.\}
+APPIDはアプリケーションの識別子であり、XXXは次のいずれかです。
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+\fIDT\&.SCRIPT\&.URL\fR
+.sp
+Deployment Toolkitのdtjava\&.jsの場所。デフォルトでは、この場所は次のとおりです。
+.sp
+http://java\&.com/js/dtjava\&.js
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+\fIDT\&.SCRIPT\&.CODE\fR
+.sp
+Deployment Toolkitのdtjava\&.jsを含めるスクリプト要素。
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+\fIDT\&.EMBED\&.CODE\&.DYNAMIC\fR
+.sp
+特定のプレースホルダにアプリケーションを埋め込むコード。コードは、\fIfunction()\fRメソッドにラップされることが予想されます。
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+\fIDT\&.EMBED\&.CODE\&.ONLOAD\fR
+.sp
+\fIonload\fRフックを使用してWebページにアプリケーションを埋め込むために必要なすべてのコード(dtjava\&.jsのインクルードを除く)。
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+\fIDT\&.LAUNCH\&.CODE\fR
+.sp
+アプリケーションの起動に必要なコード。コードは、\fIfunction()\fRメソッドにラップされることが予想されます。
+.RE
+.RE
+.PP
+\-templateOutFilename
+.RS 4
+テンプレートから生成されるHTMLファイルの名前。
+.RE
+.PP
+\-title \fItitle\fR
+.RS 4
+アプリケーションのタイトル。
+.RE
+.PP
+\-vendor \fIvendor\fR
+.RS 4
+アプリケーションのベンダー。
+.RE
+.PP
+\-width \fIwidth\fR
+.RS 4
+アプリケーションの幅。
+.RE
+.PP
+\-updatemode \fIupdate\-mode\fR
+.RS 4
+JNLPファイルの更新モードを設定します。
+.RE
+.SH "MAKEALLコマンドのオプション"
+.PP
+\-appclass \fIapp\-class\fR
+.RS 4
+実行するアプリケーション・クラスの修飾名。
+.RE
+.PP
+\-classpath \fIfiles\fR
+.RS 4
+依存するJARファイル名のリスト。
+.RE
+.PP
+\-height \fIheight\fR
+.RS 4
+アプリケーションの高さ。
+.RE
+.PP
+\-name \fIname\fR
+.RS 4
+アプリケーションの名前。
+.RE
+.PP
+\-preloader \fIpreloader\-class\fR
+.RS 4
+実行するプリローダー・クラスの修飾名。
+.RE
+.PP
+\-width \fIwidth\fR
+.RS 4
+アプリケーションの幅。
+.RE
+.SH "SIGNJARコマンドのオプション"
+.PP
+\-alias
+.RS 4
+キーの別名。
+.RE
+.PP
+\-keyPass
+.RS 4
+キーを復元するためのパスワード。
+.RE
+.PP
+\-keyStore \fIfile\fR
+.RS 4
+キーストア・ファイル名。
+.RE
+.PP
+\-outdir \fIdir\fR
+.RS 4
+生成された出力ファイルを受け取るディレクトリの名前。
+.RE
+.PP
+\-srcdir \fIdir\fR
+.RS 4
+署名するファイルのベース・ディレクトリ。
+.RE
+.PP
+\-srcfiles \fIfiles\fR
+.RS 4
+\fI\-srcdir\fRオプションで指定されたディレクトリ内のファイルのリスト。省略すると、ディレクトリ(この場合は必須の引数)にあるすべてのファイルが使用されます。リスト内のファイルはスペースで区切る必要があります。
+.RE
+.PP
+\-storePass
+.RS 4
+キーストアの整合性を確認したり、ロックを解除するためのパスワード。
+.RE
+.PP
+\-storeType
+.RS 4
+キーストアのタイプ。デフォルト値は"jks"です。
+.RE
+.SH "注意"
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+タスク・コマンドとともに\fI\-v \fRオプションを使用すれば、詳細な出力が有効になります。
+.RE
+.sp
+.RS 4
+.ie n \{\
+\h'-04'\(bu\h'+03'\c
+.\}
+.el \{\
+.sp -1
+.IP \(bu 2.3
+.\}
+\fI\-srcdir\fRオプションをコマンドで使用できる場合は、複数回使用できます。\fI\-srcfiles\fRオプションを指定すると、引数に指定されたファイル名が、その前に指定されている\fIsrcdir\fRオプションで指定された場所で検索されます。\fI\-srcdir\fRが\fI\-srcfiles\fRの前に指定されていない場合は、\fIjavapackager\fRコマンドが実行されるディレクトリが使用されます。
+.RE
+.SH "例"
+.PP
+\fBExample 1\fR, \-createjarコマンドの使用
+.RS 4
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+javapackager \-createjar \-appclass package\&.ClassName
+  \-srcdir classes \-outdir out \-outfile outjar \-v
+.fi
+.if n \{\
+.RE
+.\}
+\fIclasses\fRディレクトリの内容を\fIoutjar\&.jar\fRにパッケージ化して、アプリケーション・クラスを\fIpackage\&.ClassName\fRに設定します。
+.RE
+.PP
+\fBExample 2\fR, \-deployコマンドの使用
+.RS 4
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+javapackager \-deploy \-outdir outdir \-outfile outfile \-width 34 \-height 43
+  \-name AppName \-appclass package\&.ClassName \-v \-srcdir compiled
+.fi
+.if n \{\
+.RE
+.\}
+\fIoutfile\&.jnlp\fRおよび対応する\fIoutfile\&.html\fRファイルをアプリケーション\fIAppName\fRの\fIoutdir\fRに生成します。これは\fIpackage\&.ClassName\fRで開始し、34 x 43ピクセルのサイズです。
+.RE
+.PP
+\fBExample 3\fR, \-makeallコマンドの使用
+.RS 4
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+javapackager \-makeall \-appclass brickbreaker\&.Main \-name BrickBreaker \-width 600
+\-height 600
+.fi
+.if n \{\
+.RE
+.\}
+コンパイルを含むすべてのパッケージ化作業(\fIcreatejar\fRおよび\fIdeploy\fR)を実行します。
+.RE
+.PP
+\fBExample 4\fR, \-signjarコマンドの使用
+.RS 4
+.sp
+.if n \{\
+.RS 4
+.\}
+.nf
+javapackager \-signJar \-\-outdir dist \-keyStore sampleKeystore\&.jks \-storePass ****
+\-alias javafx \-keypass **** \-srcdir dist
+.fi
+.if n \{\
+.RE
+.\}
+\fIdist\fRディレクトリにあるすべてのJARファイルに署名し、alias、\fIkeyStore\fRおよび\fIstorePass\fRを指定して証明書を添付し、署名されたJARファイルを\fIdist\fRディレクトリに戻します。
+.RE
+.br
+'pl 8.5i
+'bp
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/fxpackager/src/main/man/man1/javapackager.1	Tue Apr 29 14:28:02 2014 -0600
@@ -0,0 +1,420 @@
+'\" t
+.\"  Copyright (c) 1994, 2013, Oracle and/or its affiliates. All rights reserved.
+.\"     Arch: Generic
+.\"     Software: Oracle Java
+.\"     Date: April 2014
+.\"     SectDesc: User Commands
+.\"     Title: javapackager.1
+.\"
+.if n .pl 99999
+.TH javapackager 1 "April 2014" "Oracle Java" "User Commands"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el       .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+
+.SH NAME    
+javapackager \- Performs tasks related to packaging and signing JavaFX applications\&.
+.SH SYNOPSIS    
+.sp     
+.nf     
+
+\fBjavapackager\fR \fIcommand\fR [\fIoptions\fR]
+.fi     
+.nf     
+.fi     
+.sp     
+.TP     
+\fIcommand\fR
+The task that should be performed\&.
+.TP     
+options
+One or more options for the command separated by spaces\&.
+.SH COMMANDS    
+You can specify one of the following commands\&. After the command, specify the options for it\&.
+.TP
+-createbss
+.br
+Converts CSS files into binary form\&.
+.TP
+-createjar
+.br
+Produces a JAR archive according to other parameters\&.
+.TP
+-deploy
+.br
+Assembles the application package for redistribution\&. By default, the deploy task will generate the base application package, but it can also generate a self-contained application package if requested\&.
+.TP
+-makeall
+.br
+Performs compilation, \f3createjar\fR, and \f3deploy\fR steps as one call, with most arguments predefined\&. By default, it attempts to generate all applicable self-contained application packages\&. The source files must be located in a folder called src, and the resulting files (JAR, JNLP, HTML, and self-contained application packages) are put in a folder called dist\&. This command can only be configured in a minimal way and is as automated as possible\&.
+.TP
+-signjar
+.br
+Signs JAR file(s) with a provided certificate\&.
+.SH OPTIONS\ FOR\ THE\ CREATEBSS\ COMMAND    
+.TP
+-outdir \fIdir\fR
+.br
+Name of the directory that will receive generated output files\&.
+.TP
+-srcdir \fIdir\fR
+.br
+Base directory of the files to package\&.
+.TP
+-srcfiles \fIfiles\fR
+.br
+List of files in the directory specified by the \f3-srcdir\fR option\&. If omitted, all files in the directory (which is a mandatory argument in this case) will be used\&. Files in the list must be separated by spaces\&.
+.SH OPTIONS\ FOR\ THE\ CREATEJAR\ COMMAND    
+.TP
+-appclass \fIapp-class\fR
+.br
+Qualified name of the application class to be executed\&.
+.TP
+-argument \fIarg\fR
+.br
+An unnamed argument to be inserted into the JNLP file as an \f3<fx:argument>\fR element\&.
+.TP
+-classpath \fIfiles\fR
+.br
+List of dependent JAR file names\&.
+.TP
+-manifestAttrs \fImanifest-attributes\fR
+.br
+List of names and values for additional manifest attributes\&. Syntax:
+.sp     
+.nf     
+\f3"name1=value1,name2=value2,name3=value3"\fP
+.fi     
+.nf     
+\f3\fP
+.fi     
+.sp     
+
+.TP
+-nocss2bin
+.br
+The packager will not convert CSS files to binary form before copying to JAR\&.
+.TP
+-noembedlauncher
+.br
+If present, the packager will not add the JavaFX launcher classes to the JAR file\&.
+.TP
+-outdir \fIdir\fR
+.br
+Name of the directory that will receive generated output files\&.
+.TP
+-outfile \fIfilename\fR
+.br
+Name (without the extension) of the file that will be generated\&.
+.TP
+-paramfile \fIfile\fR
+.br
+A properties file with default named application parameters\&.
+.TP
+-preloader \fIpreloader-class\fR
+.br
+Qualified name of the preloader class to be executed\&.
+.TP
+-runtimeversion \fIversion\fR
+.br
+Version of the required JavaFX Runtime\&.
+.TP
+-srcdir \fIdir\fR
+.br
+Base directory of the files to package\&.
+.TP
+-srcfiles \fIfiles\fR
+.br
+List of files in the directory specified by the \f3-srcdir\fR option\&. If omitted, all files in the directory (which is a mandatory argument in this case) will be used\&. Files in the list must be separated by spaces\&.
+.SH OPTIONS\ FOR\ THE\ DEPLOY\ COMMAND    
+.TP
+-allpermissions
+.br
+If present, the application will require all security permissions in the JNLP file\&.
+.TP
+-appclass \fIapp-class\fR
+.br
+Qualified name of the application class to be executed\&.
+.TP
+-argument \fIarg\fR
+.br
+An unnamed argument to be inserted into an \f3<fx:argument>\fR element in the JNLP file\&.
+.TP
+-callbacks
+.br
+Specifies user callback methods in generated HTML\&. The format is the following:
+.sp     
+.nf     
+\f3"name1:value1,name2:value2,\&.\&.\&."\fP
+.fi     
+.nf     
+\f3\fP
+.fi     
+.sp     
+
+.TP
+-description \fIdescription\fR
+.br
+Description of the application\&.
+.TP
+-embedCertificates
+.br
+If present, the certificates will be embedded in the JNLP file\&.
+.TP
+-embedjnlp
+.br
+If present, the JNLP file will be embedded in the HTML document\&.
+.TP
+-height \fIheight\fR
+.br
+Height of the application\&.
+.TP
+-htmlparamfile \fIfile\fR
+.br
+Properties file with parameters for the resulting application when it is run in the browser\&.
+.TP
+-isExtension
+.br
+If present, the \f3srcfiles\fR are treated as extensions\&.
+.TP
+-name \fIname\fR
+.br
+Name of the application\&.
+.TP
+-native \fItype\fR
+.br
+Generate self-contained application bundles (if possible)\&. If \fItype\fR is specified, then only a bundle of this type is created\&. List of supported types includes: \f3installer\fR, \f3image\fR, \f3exe\fR, \f3msi\fR, \f3dmg\fR, \f3rpm\fR, \f3deb\fR\&.
+.TP
+-outdir \fIdir\fR
+.br
+Name of the directory that will receive generated output files\&.
+.TP
+-outfile \fIfilename\fR
+.br
+Name (without the extension) of the file that will be generated\&.
+.TP
+-paramfile \fIfile\fR
+.br
+Properties file with default named application parameters\&.
+.TP
+-preloader \fIpreloader-class\fR
+.br
+Qualified name of the preloader class to be executed\&.
+.TP
+-srcdir \fIdir\fR
+.br
+Base directory of the files to package\&.
+.TP
+-srcfiles \fIfiles\fR
+.br
+List of files in the directory specified by the \f3-srcdir\fR option\&. If omitted, all files in the directory (which is a mandatory argument in this case) will be used\&. Files in the list must be separated by spaces\&.
+.TP
+-templateId
+.br
+Application ID of the application for template processing\&.
+.TP
+-templateInFilename
+.br
+Name of the HTML template file\&. Placeholders are in the following form:
+.sp     
+.nf     
+\f3#XXXX\&.YYYY(APPID)#\fP
+.fi     
+.nf     
+\f3\fP
+.fi     
+.sp     
+
+
+Where APPID is the identifier of an application and XXX is one of following:
+.RS     
+.TP 0.2i    
+\(bu
+\f3DT\&.SCRIPT\&.URL\fR
+
+Location of dtjava\&.js in the Deployment Toolkit\&. By default, the location is
+
+http://java\&.com/js/dtjava\&.js
+.TP 0.2i    
+\(bu
+\f3DT\&.SCRIPT\&.CODE\fR
+
+Script element to include dtjava\&.js of the Deployment Toolkit\&.
+.TP 0.2i    
+\(bu
+\f3DT\&.EMBED\&.CODE\&.DYNAMIC\fR
+
+Code to embed the application into a given placeholder\&. It is expected that the code will be wrapped in the \f3function()\fR method\&.
+.TP 0.2i    
+\(bu
+\f3DT\&.EMBED\&.CODE\&.ONLOAD\fR
+
+All the code needed to embed the application into a web page using the \f3onload\fR hook (except inclusion of dtjava\&.js)\&.
+.TP 0.2i    
+\(bu
+\f3DT\&.LAUNCH\&.CODE\fR
+
+Code needed to launch the application\&. It is expected that the code will be wrapped in the \f3function()\fR method\&.
+.RE     
+
+.TP
+-templateOutFilename
+.br
+Name of the HTML file that will be generated from the template\&.
+.TP
+-title \fItitle\fR
+.br
+Title of the application\&.
+.TP
+-vendor \fIvendor\fR
+.br
+Vendor of the application\&.
+.TP
+-width \fIwidth\fR
+.br
+Width of the application\&.
+.TP
+-updatemode \fIupdate-mode\fR
+.br
+Sets the update mode for the JNLP file\&.
+.SH OPTIONS\ FOR\ THE\ MAKEALL\ COMMAND    
+.TP
+-appclass \fIapp-class\fR
+.br
+Qualified name of the application class to be executed\&.
+.TP
+-classpath \fIfiles\fR
+.br
+List of dependent JAR file names\&.
+.TP
+-height \fIheight\fR
+.br
+Height of the application\&.
+.TP
+-name \fIname\fR
+.br
+Name of the application\&.
+.TP
+-preloader \fIpreloader-class\fR
+.br
+Qualified name of the preloader class to be executed\&.
+.TP
+-width \fIwidth\fR
+.br
+Width of the application\&.
+.SH OPTIONS\ FOR\ THE\ SIGNJAR\ COMMAND    
+.TP
+-alias
+.br
+Alias for the key\&.
+.TP
+-keyPass
+.br
+Password for recovering the key\&.
+.TP
+-keyStore \fIfile\fR
+.br
+Keystore file name\&.
+.TP
+-outdir \fIdir\fR
+.br
+Name of the directory that will receive generated output files\&.
+.TP
+-srcdir \fIdir\fR
+.br
+Base directory of the files to be signed\&.
+.TP
+-srcfiles \fIfiles\fR
+.br
+List of files in the directory specified by the \f3-srcdir\fR option\&. If omitted, all files in the directory (which is a mandatory argument in this case) will be used\&. Files in the list must be separated by spaces\&.
+.TP
+-storePass
+.br
+Password to check integrity of the keystore or unlock the keystore
+.TP
+-storeType
+.br
+Keystore type\&. The default value is "jks"\&.
+.SH NOTES    
+.TP 0.2i    
+\(bu
+A \f3-v\fRoption can be used with any task command to enable verbose output\&.
+.TP 0.2i    
+\(bu
+When the \f3-srcdir\fR option is allowed in a command, it can be used more than once\&. If the \f3-srcfiles\fR option is specified, the files named in the argument will be looked for in the location specified in the preceding \f3srcdir\fR option\&. In case there is no \f3-srcdir\fR preceding \f3-srcfiles\fR, the directory where the \f3javapackager\fR command is executed will be used\&.
+.SH EXAMPLES    
+\f3Example 1 Using the -createjar Command\fR
+.sp     
+.nf     
+\f3javapackager \-createjar \-appclass package\&.ClassName\fP
+.fi     
+.nf     
+\f3  \-srcdir classes \-outdir out \-outfile outjar \-v\fP
+.fi     
+.nf     
+\f3\fP
+.fi     
+.sp     
+Packages the contents of the \f3classes\fR directory to \f3outjar\&.jar\fR, sets the application class to \f3package\&.ClassName\fR\&.
+.PP
+\f3Example 2 Using the -deploy Command\fR
+.sp     
+.nf     
+\f3javapackager \-deploy \-outdir outdir \-outfile outfile \-width 34 \-height 43 \fP
+.fi     
+.nf     
+\f3  \-name AppName \-appclass package\&.ClassName \-v \-srcdir compiled\fP
+.fi     
+.nf     
+\f3\fP
+.fi     
+.sp     
+Generates \f3outfile\&.jnlp\fR and the corresponding \f3outfile\&.html\fR files in \f3outdir\fR for application \f3AppName\fR, which is started by \f3package\&.ClassName\fR and has dimensions of 34 by 43 pixels\&.
+.PP
+\f3Example 3 Using the -makeall Command\fR
+.sp     
+.nf     
+\f3javapackager \-makeall \-appclass brickbreaker\&.Main \-name BrickBreaker \-width 600\fP
+.fi     
+.nf     
+\f3\-height 600\fP
+.fi     
+.nf     
+\f3\fP
+.fi     
+.sp     
+Does all the packaging work including compilation, \f3createjar\fR, and \f3deploy\fR\&.
+.PP
+\f3Example 4 Using the -signjar Command\fR
+.sp     
+.nf     
+\f3javapackager \-signJar \-\-outdir dist \-keyStore sampleKeystore\&.jks \-storePass ****\fP
+.fi     
+.nf     
+\f3\-alias javafx \-keypass **** \-srcdir dist\fP
+.fi     
+.nf     
+\f3\fP
+.fi     
+.sp     
+Signs all of the JAR files in the \f3dist\fR directory, attaches a certificate with the specified alias, \f3keyStore\fR and \f3storePass\fR, and puts the signed JAR files back into the \f3dist\fR directory\&.
+.RE
+.br
+'pl 8.5i
+'bp
--- a/modules/fxpackager/src/main/native/javafxpackager/shell/javafxpackager	Mon Apr 28 21:29:27 2014 -0600
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,81 +0,0 @@
-#!/bin/sh
-#
-# JavaFX Packager tool execution script for Linux/Solaris/OS X.
-#
-
-# resolve symlinks
-PRG=$0
-while [ -h "$PRG" ]; do
-    ls=`ls -ld "$PRG"`
-    link=`expr "$ls" : '^.*-> \(.*\)$' 2>/dev/null`
-    if expr "$link" : '^/' 2> /dev/null >/dev/null; then
-	PRG="$link"
-    else
-	PRG="`dirname "$PRG"`/$link"
-    fi
-done
-
-# detect Darwin and Cygwin environments
-darwin=false;
-cygwin=false;
-case "`uname`" in
-  Darwin*) darwin=true;
-           if [ -z "$JAVA_HOME" ] ; then
-               BIN_DIR=`dirname $PRG`
-               JAVA_HOME=`cd $BIN_DIR > /dev/null; pwd`/..
-           fi
-           ;;
-  CYGWIN*) cygwin=true;;
-esac
-
-if [ -n "$JAVA_HOME" -a -x "$JAVA_HOME/bin/javac" ] ; then
-    JAVA_CMD="$JAVA_HOME/bin/java"
-    export JAVA_HOME
-else
-  JAVAC_CMD=`which javac 2> /dev/null `
-  while [ -h "$JAVAC_CMD" ]; do
-    ls=`ls -ld "$JAVAC_CMD"`
-    link=`expr "$ls" : '^.*-> \(.*\)$' 2>/dev/null`
-    if expr "$link" : '^/' 2> /dev/null >/dev/null; then
-	JAVAC_CMD="$link"
-    else
-	JAVAC_CMD="`dirname "$JAVAC_CMD"`/$link"
-    fi
-  done
-  BIN_DIR=`dirname "$JAVAC_CMD"`
-  JAVA_HOME=`dirname "$BIN_DIR"`
-  if [ "m$JAVA_HOME" != "m." ]; then
-      JAVA_CMD="$JAVA_HOME/bin/java"
-      export JAVA_HOME
-  else
-    unset JAVA_HOME
-    JAVA_CMD=`which java 2> /dev/null `
-    if [ -z "$JAVA_CMD" ]; then
-      JAVA_CMD="java"
-    fi
-  fi
-fi
-
-
-if [ ! -x "$JAVA_CMD" ] ; then
-  echo 'Error: JAVA_HOME is not defined, cannot find "java" command.'
-  exit 1
-fi
-
-javafx_home=`dirname "$PRG"`/..
-
-classpath=".:$javafx_home/lib/ant-javafx.jar"
-
-if [ -e "$javafx_home/jre/lib/ext/jfxrt.jar" ] ; then
-  classpath="$classpath:$javafx_home/jre/lib/ext/jfxrt.jar"
-elif [ -e "$javafx_home/rt/lib/ext/jfxrt.jar" ] ; then
-  classpath="$classpath:$javafx_home/rt/lib/ext/jfxrt.jar"
-fi
-
-if $cygwin ; then
-    classpath=`cygpath --path --windows "$classpath"`
-    javafx_home=`cygpath --windows "$javafx_home"`
-    JAVA_CMD=`cygpath --unix "$JAVA_CMD"`
-fi
-
-exec "$JAVA_CMD" -Xmx256M "-Djavafx.home=$javafx_home" -classpath "$classpath" com.sun.javafx.tools.packager.Main "$@"
--- a/modules/fxpackager/src/main/native/javafxpackager/win/javafxpackager.cpp	Mon Apr 28 21:29:27 2014 -0600
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,488 +0,0 @@
-/*
- * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-#include <stdio.h>
-#include <stdlib.h>
-#include <string>
-#include <windows.h>
-
-//#define _DEBUG
-
-#ifdef _DEBUG
-#include <iostream>
-#include <sstream>
-#endif
-
-using namespace std;
-
-#define MAX_KEY_LENGTH 255
-#define MAX_VALUE_NAME 16383
-
-bool from_string (int &result, string &str) {
-    const char *p = str.c_str();
-    int res = 0;
-    for (int index = 0; ; index ++) {
-        char c = str[index];
-        if (c == 0  &&  index > 0) {
-            result = res;
-            return true;
-        }
-        if (c < '0'  ||  c > '9')
-            return false;
-        res = res * 10 + (c - '0');
-    }
-}
-/*
-template <class T>
-bool from_string(T& t,
-const std::string& s,
-std::ios_base& (*f)(std::ios_base&)) {
-    std::istringstream iss(s);
-    return !(iss >> f >> t).fail();
-};
-*/
-void PrintCSBackupAPIErrorMessage(DWORD dwErr) {
-
-    char wszMsgBuff[512]; // Buffer for text.
-
-    DWORD dwChars; // Number of chars returned.
-
-    // Try to get the message from the system errors.
-    dwChars = FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM |
-            FORMAT_MESSAGE_IGNORE_INSERTS,
-            NULL,
-            dwErr,
-            0,
-            wszMsgBuff,
-            512,
-            NULL);
-
-    if (0 == dwChars) {
-        // The error code did not exist in the system errors.
-        // Try ntdsbmsg.dll for the error code.
-
-        HINSTANCE hInst;
-
-        // Load the library.
-        hInst = LoadLibraryA("ntdsbmsg.dll");
-        if (NULL == hInst) {
-#ifdef _DEBUG
-            cerr << "cannot load ntdsbmsg.dll\n";
-#endif
-            return;
-
-        }
-
-        // Try getting message text from ntdsbmsg.
-        dwChars = FormatMessageA(FORMAT_MESSAGE_FROM_HMODULE |
-                FORMAT_MESSAGE_IGNORE_INSERTS,
-                hInst,
-                dwErr,
-                0,
-                wszMsgBuff,
-                512,
-                NULL);
-
-        // Free the library.
-        FreeLibrary(hInst);
-
-    }
-
-    // Display the error message, or generic text if not found.
-#ifdef _DEBUG
-    cerr << "Error value: " << dwErr << " Message: " << ((dwChars > 0) ? wszMsgBuff : "Error message not found.") << endl;
-#endif
-
-}
-
-class JavaVersion {
-public:
-    int v1;
-    int v2;
-    int v3;
-    string home;
-    string path;
-
-    JavaVersion(int pv1, int pv2, int pv3) {
-        v1 = pv1;
-        v2 = pv2;
-        v3 = pv3;
-    }
-
-    bool operator>(const JavaVersion &other) const {
-        if (v1 > other.v1)
-            return true;
-        if (v1 == other.v1) {
-            if (v2 > other.v2)
-                return true;
-            if (v2 == other.v2)
-                return v3 > other.v3;
-        }
-        return false;
-    }
-
-    bool operator>=(const JavaVersion &other) const {
-        if (v1 > other.v1)
-            return true;
-        if (v1 == other.v1) {
-            if (v2 > other.v2)
-                return true;
-            if (v2 == other.v2)
-                return v3 >= other.v3;
-        }
-        return false;
-    }
-
-    bool operator<(const JavaVersion &other) const {
-        if (v1 < other.v1)
-            return true;
-        if (v1 == other.v1) {
-            if (v2 < other.v2)
-                return true;
-            if (v2 == other.v2)
-                return v3 < other.v3;
-        }
-        return false;
-    }
-};
-
-bool checkJavaHome(HKEY key, const char * sKey, const char * jv, JavaVersion *version) {
-    char p[MAX_KEY_LENGTH];
-    HKEY hKey;
-    bool result = false;
-    int res;
-
-    strcpy_s(p, MAX_KEY_LENGTH, sKey);
-    strcat_s(p, MAX_KEY_LENGTH - strlen(p), "\\");
-    strcat_s(p, MAX_KEY_LENGTH - strlen(p), jv);
-
-    if (RegOpenKeyExA(key,
-            p,
-            0,
-            KEY_READ,
-            &hKey) == ERROR_SUCCESS
-            ) {
-        DWORD ot = REG_SZ;
-        DWORD size = 255;
-		char data[MAX_PATH] = {0};
-        if ((res = RegQueryValueExA(hKey, "JavaHome", NULL, &ot, (BYTE *) data, &size)) == ERROR_SUCCESS) {
-            version->home = data;
-            strcat_s(data, sizeof(data) - strlen(data), "\\bin\\java.exe");
-            version->path = data;
-            result = GetFileAttributesA(data) != 0xFFFFFFFF;
-        } else {
-            PrintCSBackupAPIErrorMessage(res);
-            result = false;
-        }
-        RegCloseKey(hKey);
-    } else {
-#ifdef _DEBUG
-        cerr << "Can not open registry key" << endl;
-#endif
-        result = false;
-    }
-
-    return result;
-}
-
-JavaVersion * parseName(const char * jName) {
-    string s(jName);
-
-    if (s.length() == 0) {
-        return NULL;
-    }
-
-    string n;
-    string::size_type pos;
-
-
-    pos = s.find_first_of(".");
-    if (pos != string::npos) {
-        n = s.substr(0, pos);
-        s = s.substr(pos + 1);
-    } else {
-        n = s;
-        s = "";
-    }
-
-    int v1 = 0;
-
-    if (n.length() > 0) {
-        if (!from_string(v1, n))
-//        if (!from_string<int>(v1, n, std::dec))
-            return NULL;
-    }
-
-
-    pos = s.find_first_of(".");
-    if (pos != string::npos) {
-        n = s.substr(0, pos);
-        s = s.substr(pos + 1);
-    } else {
-        n = s;
-        s = "";
-    }
-
-    int v2 = 0;
-
-    if (n.length() > 0) {
-        if (!from_string(v2, n))
-//        if (!from_string<int>(v2, n, std::dec))
-            return NULL;
-    }
-
-
-    int nn = s.length();
-    for (int i = 0; i < s.length(); i++) {
-        string c = s.substr(i, 1);
-        int tmp;
-        if (!from_string(tmp, c)) {
-//        if (!from_string<int>(tmp, c, std::dec)) {
-            nn = i;
-            break;
-        }
-    }
-
-    n = s.substr(0, nn);
-    if (nn < s.length()) {
-        s = s.substr(nn + 1);
-    } else s = "";
-
-    int v3 = 0;
-
-    if (n.length() > 0) {
-        if (!from_string(v3, n))
-//        if (!from_string<int>(v3, n, std::dec))
-            v3 = 0;
-    }
-
-    int v4 = 0;
-
-    //update version
-    if (s.length() > 0) {
-        nn = s.length();
-        for (int i = 0; i < s.length(); i++) {
-            string c = s.substr(i, 1);
-            int tmp;
-            if (!from_string(tmp, c)) {
-//            if (!from_string<int>(tmp, c, std::dec)) {
-                nn = i;
-                break;
-            }
-        }
-
-        n = s.substr(0, nn);
-
-        if (n.length() > 0) {
-            if (!from_string(v4, n))
-//            if (!from_string<int>(v4, n, std::dec))
-                v4 = 0;
-        }
-    }
-
-    return new JavaVersion(v2, v3, v4);
-}
-
-JavaVersion * GetMaxVersion(HKEY key, const char * sKey) {
-    HKEY hKey;
-    JavaVersion * result = NULL;
-
-    if (RegOpenKeyExA(key,
-            sKey,
-            0,
-            KEY_READ,
-            &hKey) == ERROR_SUCCESS
-            ) {
-        DWORD retCode;
-        char achClass[MAX_PATH]; // buffer for class name
-        DWORD cchClassName = MAX_PATH; // size of class string
-
-
-        DWORD cchValue = MAX_VALUE_NAME;
-        DWORD cSubKeys = 0; // number of subkeys
-        DWORD cbMaxSubKey; // longest subkey size
-        DWORD cchMaxClass; // longest class string
-        DWORD cValues; // number of values for key
-        DWORD cchMaxValue; // longest value name
-        DWORD cbMaxValueData; // longest value data
-        DWORD cbSecurityDescriptor; // size of security descriptor
-        FILETIME ftLastWriteTime; // last write time
-
-        retCode = RegQueryInfoKeyA(
-                hKey, // key handle
-                achClass, // buffer for class name
-                &cchClassName, // size of class string
-                NULL, // reserved
-                &cSubKeys, // number of subkeys
-                &cbMaxSubKey, // longest subkey size
-                &cchMaxClass, // longest class string
-                &cValues, // number of values for this key
-                &cchMaxValue, // longest value name
-                &cbMaxValueData, // longest value data
-                &cbSecurityDescriptor, // security descriptor
-                &ftLastWriteTime); // last write time
-
-        if (cSubKeys) {
-            for (unsigned int i = 0; i < cSubKeys; i++) {
-                char achKey[MAX_KEY_LENGTH]; // buffer for subkey name
-                DWORD cbName = MAX_KEY_LENGTH;
-                retCode = RegEnumKeyExA(hKey, i,
-                        achKey,
-                        &cbName,
-                        NULL,
-                        NULL,
-                        NULL,
-                        &ftLastWriteTime);
-
-                if (retCode == ERROR_SUCCESS) {
-#ifdef _DEBUG
-                    cout << achKey << endl;
-#endif
-                    JavaVersion * nv = parseName(achKey);
-
-                    bool isHome = checkJavaHome(key, sKey, achKey, nv);
-#ifdef _DEBUG
-                    cout << nv->home << " " << isHome << endl;
-#endif
-
-                    if (isHome)
-                        if (result == NULL) {
-                            result = nv;
-#ifdef _DEBUG
-                            cout << "NEW" << endl;
-#endif
-                        } else {
-                            if (nv != NULL) {
-                                if (*nv > *result) {
-#ifdef _DEBUG
-                                    cout << "REPLACE" << endl;
-#endif
-                                    delete result;
-                                    result = nv;
-                                } else {
-#ifdef _DEBUG
-                                    cout << "NO" << endl;
-#endif
-                                    delete nv;
-                                }
-                            }
-                        }
-
-                }
-
-            }
-        }
-
-        RegCloseKey(hKey);
-
-    }
-
-    return result;
-}
-// *****************************************************************************
-
-int fileExists (const std::string& path) {
-    WIN32_FIND_DATA ffd;
-    HANDLE hFind;
-
-    hFind = FindFirstFile (path.c_str(), &ffd);
-    if (hFind == INVALID_HANDLE_VALUE)
-        return FALSE;
-
-    FindClose (hFind);
-    return (ffd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) == 0;
-}
-
-int main(int argc, char** argv) {
-    char buf[MAX_PATH];
-    GetModuleFileName (NULL, buf, MAX_PATH);
-    std::string javafxhome = buf;
-    javafxhome.erase (javafxhome.rfind ("\\"));
-
-    std::string fxlib = javafxhome + "\\..\\lib\\";
-
-    const char *s = getenv ("JAVA_HOME");
-    std::string javacmd;
-    std::string javahome;
-    if (s != NULL) {
-        javahome = s;
-        javacmd = javahome + "\\bin\\java.exe";
-        std::string javaccmd = javahome + "\\bin\\javac.exe";
-        if (! fileExists (javacmd.c_str ())  ||  ! fileExists (javaccmd.c_str ())) {
-            javacmd = "";
-            javahome = "";
-        }
-    } else
-        javacmd = "";
-
-    if (javacmd.length() <= 0) {
-        //JavaVersion * jv = NULL;//GetMaxVersion(HKEY_LOCAL_MACHINE, "SOFTWARE\\JavaSoft\\Java Runtime Environment");
-        JavaVersion * jv2 = GetMaxVersion(HKEY_LOCAL_MACHINE, "SOFTWARE\\JavaSoft\\Java Development Kit");
-        if (jv2 != NULL) {
-            javacmd = jv2->path;
-            javahome = jv2->home;
-        } else
-            javacmd = "java.exe";
-    }
-
-    std::string cmd = "\"" + javacmd + "\"";
-    if (javahome.length() > 0) {
-//        cmd += " \"-Djava.home=" + javahome + "\"";
-        SetEnvironmentVariable ("JAVA_HOME", javahome.c_str ());
-    }
-    cmd += " -Xmx256M \"-Djavafx.home=" + javafxhome
-            + "\" -classpath \"" + fxlib + "ant-javafx.jar;"
-            + "\" com.sun.javafx.tools.packager.Main";
-
-    for (int i = 1; i < argc; i ++) {
-        cmd = cmd + " \"" + argv[i] + "\"";
-    }
-
-#ifdef _DEBUG
-    printf ("%s", cmd.c_str());
-#endif
-
-    STARTUPINFO start;
-    PROCESS_INFORMATION pi;
-    memset (&start, 0, sizeof (start));
-    start.cb = sizeof (start);
-
-    if (! CreateProcess (NULL, (char *) cmd.c_str (),
-            NULL, NULL, TRUE, NORMAL_PRIORITY_CLASS, NULL, NULL, &start, &pi)) {
-#ifdef _DEBUG
-        fprintf (stderr, "CAnnot start java.exe");
-#endif
-        return EXIT_FAILURE;
-    }
-
-    WaitForSingleObject (pi.hProcess, INFINITE);
-    unsigned long exitCode;
-    GetExitCodeProcess (pi.hProcess, &exitCode);
-
-    CloseHandle (pi.hProcess);
-    CloseHandle (pi.hThread);
-
-    return exitCode;
-}
--- a/modules/fxpackager/src/main/native/javafxpackager/win/javafxpackager.manifest	Mon Apr 28 21:29:27 2014 -0600
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,22 +0,0 @@
-<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
-<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
- <assemblyIdentity version="FXVERSION"
-         processorArchitecture="X86"
-         name="javafxpackager.exe"
-         type="win32"/>
-  <description>JavaFX application packager</description>
-  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
-    <security>
-      <requestedPrivileges>
-        <requestedExecutionLevel level='asInvoker' uiAccess='false' />
-      </requestedPrivileges>
-    </security>
-  </trustInfo>
-  <!-- Indicate this JDK version is Windows 7 compatible -->
-   <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
-      <application>
-        <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
-        <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
-      </application>
-    </compatibility>
-</assembly>
--- a/modules/fxpackager/src/main/native/javafxpackager/win/javafxpackager.rc	Mon Apr 28 21:29:27 2014 -0600
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,80 +0,0 @@
-/*
- * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
- * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
- *
- * This code is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License version 2 only, as
- * published by the Free Software Foundation.  Oracle designates this
- * particular file as subject to the "Classpath" exception as provided
- * by Oracle in the LICENSE file that accompanied this code.
- *
- * This code is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
- * version 2 for more details (a copy is included in the LICENSE file that
- * accompanied this code).
- *
- * You should have received a copy of the GNU General Public License version
- * 2 along with this work; if not, write to the Free Software Foundation,
- * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
- *
- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
- * or visit www.oracle.com if you need additional information or have any
- * questions.
- */
-
-#include "windows.h"
-
-// Need 2 defines so macro argument to XSTR will get expanded before quoting.
-#define XSTR(x) STR(x)
-#define STR(x)  #x
-
-LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
-
-/////////////////////////////////////////////////////////////////////////////
-//
-// Version
-//
-
-VS_VERSION_INFO VERSIONINFO
- FILEVERSION    JFX_VERSION
- PRODUCTVERSION JFX_VERSION
- FILEFLAGSMASK 0x3fL
-#ifdef _DEBUG
- FILEFLAGS 0x1L
-#else
- FILEFLAGS 0x0L
-#endif
- // FILEOS 0x4 is Win32, 0x40004 is Win32 NT only
- FILEOS 0x4L
- // FILETYPE should be 0x1 for .exe and 0x2 for .dll
- FILETYPE 0x1L
- FILESUBTYPE 0x0L
-BEGIN
-    BLOCK "StringFileInfo"
-    BEGIN
-        BLOCK "000004b0"
-        BEGIN
-            VALUE "CompanyName",      "Oracle Corporation\0"       "\0"
-            VALUE "FileDescription",  "JavaFX(TM) Packager\0"
-            VALUE "InternalName",     "javafxpackager\0"
-            VALUE "LegalCopyright",   "Copyright 2013\0"     "\0"
-            VALUE "OriginalFilename", "javafxpackager.exe\0"
-            VALUE "ProductName",      "JavaFX(TM) Runtime\0"          "\0"
-            VALUE "ProductVersion",   XSTR(JFX_DVERSION)           "\0"
-        END
-    END
-    BLOCK "VarFileInfo"
-    BEGIN
-        VALUE "Translation", 0x0, 1200
-    END
-END
-
-
-#define MANIFEST_RESOURCE_ID 1
-
-// Manifest
-//
-
-MANIFEST_RESOURCE_ID RT_MANIFEST "javafxpackager.manifest"
-
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/fxpackager/src/main/native/javapackager/shell/javapackager	Tue Apr 29 14:28:02 2014 -0600
@@ -0,0 +1,89 @@
+#!/bin/sh
+#
+# JavaFX Packager tool execution script for Linux/Solaris/OS X.
+#
+
+# resolve symlinks
+PRG=$0
+while [ -h "$PRG" ]; do
+    ls=`ls -ld "$PRG"`
+    link=`expr "$ls" : '^.*-> \(.*\)$' 2>/dev/null`
+    if expr "$link" : '^/' 2> /dev/null >/dev/null; then
+	PRG="$link"
+    else
+	PRG="`dirname "$PRG"`/$link"
+    fi
+done
+
+# detect Darwin and Cygwin environments
+darwin=false;
+cygwin=false;
+case "`uname`" in
+  Darwin*) darwin=true;
+           if [ -z "$JAVA_HOME" ] ; then
+               BIN_DIR=`dirname $PRG`
+               JAVA_HOME=`cd $BIN_DIR > /dev/null; pwd`/..
+           fi
+           ;;
+  CYGWIN*) cygwin=true;;
+esac
+
+if [ -n "$JAVA_HOME" -a -x "$JAVA_HOME/bin/javac" ] ; then
+    JAVA_CMD="$JAVA_HOME/bin/java"
+    export JAVA_HOME
+else
+  JAVAC_CMD=`which javac 2> /dev/null `
+  while [ -h "$JAVAC_CMD" ]; do
+    ls=`ls -ld "$JAVAC_CMD"`
+    link=`expr "$ls" : '^.*-> \(.*\)$' 2>/dev/null`
+    if expr "$link" : '^/' 2> /dev/null >/dev/null; then
+	JAVAC_CMD="$link"
+    else
+	JAVAC_CMD="`dirname "$JAVAC_CMD"`/$link"
+    fi
+  done
+  BIN_DIR=`dirname "$JAVAC_CMD"`
+  JAVA_HOME=`dirname "$BIN_DIR"`
+  if [ "m$JAVA_HOME" != "m." ]; then
+      JAVA_CMD="$JAVA_HOME/bin/java"
+      export JAVA_HOME
+  else
+    unset JAVA_HOME
+    JAVA_CMD=`which java 2> /dev/null `
+    if [ -z "$JAVA_CMD" ]; then
+      JAVA_CMD="java"
+    fi
+  fi
+fi
+
+
+if [ ! -x "$JAVA_CMD" ] ; then
+  echo 'Error: JAVA_HOME is not defined, cannot find "java" command.'
+  exit 1
+fi
+
+case "$PRG" in
+  *javafxpackager)
+  echo 'javafxpackager has been renamed javapackager';
+  echo 'The original file may be removed in a future release in lieu of javapackager.';
+  echo 'Please update your scripts.';
+  echo ;;
+esac
+
+javafx_home=`dirname "$PRG"`/..
+
+classpath=".:$javafx_home/lib/ant-javafx.jar"
+
+if [ -e "$javafx_home/jre/lib/ext/jfxrt.jar" ] ; then
+  classpath="$classpath:$javafx_home/jre/lib/ext/jfxrt.jar"
+elif [ -e "$javafx_home/rt/lib/ext/jfxrt.jar" ] ; then
+  classpath="$classpath:$javafx_home/rt/lib/ext/jfxrt.jar"
+fi
+
+if $cygwin ; then
+    classpath=`cygpath --path --windows "$classpath"`
+    javafx_home=`cygpath --windows "$javafx_home"`
+    JAVA_CMD=`cygpath --unix "$JAVA_CMD"`
+fi
+
+exec "$JAVA_CMD" -Xmx256M "-Djavafx.home=$javafx_home" -classpath "$classpath" com.sun.javafx.tools.packager.Main "$@"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/fxpackager/src/main/native/javapackager/win/javapackager.cpp	Tue Apr 29 14:28:02 2014 -0600
@@ -0,0 +1,501 @@
+/*
+ * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.  Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the LICENSE file that accompanied this code.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+#include <stdio.h>
+#include <stdlib.h>
+#include <string>
+#include <windows.h>
+
+//#define _DEBUG
+
+#ifdef _DEBUG
+#include <iostream>
+#include <sstream>
+#endif
+
+using namespace std;
+
+#define MAX_KEY_LENGTH 255
+#define MAX_VALUE_NAME 16383
+
+bool from_string (int &result, string &str) {
+    const char *p = str.c_str();
+    int res = 0;
+    for (int index = 0; ; index ++) {
+        char c = str[index];
+        if (c == 0  &&  index > 0) {
+            result = res;
+            return true;
+        }
+        if (c < '0'  ||  c > '9')
+            return false;
+        res = res * 10 + (c - '0');
+    }
+}
+/*
+template <class T>
+bool from_string(T& t,
+const std::string& s,
+std::ios_base& (*f)(std::ios_base&)) {
+    std::istringstream iss(s);
+    return !(iss >> f >> t).fail();
+};
+*/
+void PrintCSBackupAPIErrorMessage(DWORD dwErr) {
+
+    char wszMsgBuff[512]; // Buffer for text.
+
+    DWORD dwChars; // Number of chars returned.
+
+    // Try to get the message from the system errors.
+    dwChars = FormatMessageA(FORMAT_MESSAGE_FROM_SYSTEM |
+            FORMAT_MESSAGE_IGNORE_INSERTS,
+            NULL,
+            dwErr,
+            0,
+            wszMsgBuff,
+            512,
+            NULL);
+
+    if (0 == dwChars) {
+        // The error code did not exist in the system errors.
+        // Try ntdsbmsg.dll for the error code.
+
+        HINSTANCE hInst;
+
+        // Load the library.
+        hInst = LoadLibraryA("ntdsbmsg.dll");
+        if (NULL == hInst) {
+#ifdef _DEBUG
+            cerr << "cannot load ntdsbmsg.dll\n";
+#endif
+            return;
+
+        }
+
+        // Try getting message text from ntdsbmsg.
+        dwChars = FormatMessageA(FORMAT_MESSAGE_FROM_HMODULE |
+                FORMAT_MESSAGE_IGNORE_INSERTS,
+                hInst,
+                dwErr,
+                0,
+                wszMsgBuff,
+                512,
+                NULL);
+
+        // Free the library.
+        FreeLibrary(hInst);
+
+    }
+
+    // Display the error message, or generic text if not found.
+#ifdef _DEBUG
+    cerr << "Error value: " << dwErr << " Message: " << ((dwChars > 0) ? wszMsgBuff : "Error message not found.") << endl;
+#endif
+
+}
+
+class JavaVersion {
+public:
+    int v1;
+    int v2;
+    int v3;
+    string home;
+    string path;
+
+    JavaVersion(int pv1, int pv2, int pv3) {
+        v1 = pv1;
+        v2 = pv2;
+        v3 = pv3;
+    }
+
+    bool operator>(const JavaVersion &other) const {
+        if (v1 > other.v1)
+            return true;
+        if (v1 == other.v1) {
+            if (v2 > other.v2)
+                return true;
+            if (v2 == other.v2)
+                return v3 > other.v3;
+        }
+        return false;
+    }
+
+    bool operator>=(const JavaVersion &other) const {
+        if (v1 > other.v1)
+            return true;
+        if (v1 == other.v1) {
+            if (v2 > other.v2)
+                return true;
+            if (v2 == other.v2)
+                return v3 >= other.v3;
+        }
+        return false;
+    }
+
+    bool operator<(const JavaVersion &other) const {
+        if (v1 < other.v1)
+            return true;
+        if (v1 == other.v1) {
+            if (v2 < other.v2)
+                return true;
+            if (v2 == other.v2)
+                return v3 < other.v3;
+        }
+        return false;
+    }
+};
+
+bool checkJavaHome(HKEY key, const char * sKey, const char * jv, JavaVersion *version) {
+    char p[MAX_KEY_LENGTH];
+    HKEY hKey;
+    bool result = false;
+    int res;
+
+    strcpy_s(p, MAX_KEY_LENGTH, sKey);
+    strcat_s(p, MAX_KEY_LENGTH - strlen(p), "\\");
+    strcat_s(p, MAX_KEY_LENGTH - strlen(p), jv);
+
+    if (RegOpenKeyExA(key,
+            p,
+            0,
+            KEY_READ,
+            &hKey) == ERROR_SUCCESS
+            ) {
+        DWORD ot = REG_SZ;
+        DWORD size = 255;
+		char data[MAX_PATH] = {0};
+        if ((res = RegQueryValueExA(hKey, "JavaHome", NULL, &ot, (BYTE *) data, &size)) == ERROR_SUCCESS) {
+            version->home = data;
+            strcat_s(data, sizeof(data) - strlen(data), "\\bin\\java.exe");
+            version->path = data;
+            result = GetFileAttributesA(data) != 0xFFFFFFFF;
+        } else {
+            PrintCSBackupAPIErrorMessage(res);
+            result = false;
+        }
+        RegCloseKey(hKey);
+    } else {
+#ifdef _DEBUG
+        cerr << "Can not open registry key" << endl;
+#endif
+        result = false;
+    }
+
+    return result;
+}
+
+JavaVersion * parseName(const char * jName) {
+    string s(jName);
+
+    if (s.length() == 0) {
+        return NULL;
+    }
+
+    string n;
+    string::size_type pos;
+
+
+    pos = s.find_first_of(".");
+    if (pos != string::npos) {
+        n = s.substr(0, pos);
+        s = s.substr(pos + 1);
+    } else {
+        n = s;
+        s = "";
+    }
+
+    int v1 = 0;
+
+    if (n.length() > 0) {
+        if (!from_string(v1, n))
+//        if (!from_string<int>(v1, n, std::dec))
+            return NULL;
+    }
+
+
+    pos = s.find_first_of(".");
+    if (pos != string::npos) {
+        n = s.substr(0, pos);
+        s = s.substr(pos + 1);
+    } else {
+        n = s;
+        s = "";
+    }
+
+    int v2 = 0;
+
+    if (n.length() > 0) {
+        if (!from_string(v2, n))
+//        if (!from_string<int>(v2, n, std::dec))
+            return NULL;
+    }
+
+
+    int nn = s.length();
+    for (int i = 0; i < s.length(); i++) {
+        string c = s.substr(i, 1);
+        int tmp;
+        if (!from_string(tmp, c)) {
+//        if (!from_string<int>(tmp, c, std::dec)) {
+            nn = i;
+            break;
+        }
+    }
+
+    n = s.substr(0, nn);
+    if (nn < s.length()) {
+        s = s.substr(nn + 1);
+    } else s = "";
+
+    int v3 = 0;
+
+    if (n.length() > 0) {
+        if (!from_string(v3, n))
+//        if (!from_string<int>(v3, n, std::dec))
+            v3 = 0;
+    }
+
+    int v4 = 0;
+
+    //update version
+    if (s.length() > 0) {
+        nn = s.length();
+        for (int i = 0; i < s.length(); i++) {
+            string c = s.substr(i, 1);
+            int tmp;
+            if (!from_string(tmp, c)) {
+//            if (!from_string<int>(tmp, c, std::dec)) {
+                nn = i;
+                break;
+            }
+        }
+
+        n = s.substr(0, nn);
+
+        if (n.length() > 0) {
+            if (!from_string(v4, n))
+//            if (!from_string<int>(v4, n, std::dec))
+                v4 = 0;
+        }
+    }
+
+    return new JavaVersion(v2, v3, v4);
+}
+
+JavaVersion * GetMaxVersion(HKEY key, const char * sKey) {
+    HKEY hKey;
+    JavaVersion * result = NULL;
+
+    if (RegOpenKeyExA(key,
+            sKey,
+            0,
+            KEY_READ,
+            &hKey) == ERROR_SUCCESS
+            ) {
+        DWORD retCode;
+        char achClass[MAX_PATH]; // buffer for class name
+        DWORD cchClassName = MAX_PATH; // size of class string
+
+
+        DWORD cchValue = MAX_VALUE_NAME;
+        DWORD cSubKeys = 0; // number of subkeys
+        DWORD cbMaxSubKey; // longest subkey size
+        DWORD cchMaxClass; // longest class string
+        DWORD cValues; // number of values for key
+        DWORD cchMaxValue; // longest value name
+        DWORD cbMaxValueData; // longest value data
+        DWORD cbSecurityDescriptor; // size of security descriptor
+        FILETIME ftLastWriteTime; // last write time
+
+        retCode = RegQueryInfoKeyA(
+                hKey, // key handle
+                achClass, // buffer for class name
+                &cchClassName, // size of class string
+                NULL, // reserved
+                &cSubKeys, // number of subkeys
+                &cbMaxSubKey, // longest subkey size
+                &cchMaxClass, // longest class string
+                &cValues, // number of values for this key
+                &cchMaxValue, // longest value name
+                &cbMaxValueData, // longest value data
+                &cbSecurityDescriptor, // security descriptor
+                &ftLastWriteTime); // last write time
+
+        if (cSubKeys) {
+            for (unsigned int i = 0; i < cSubKeys; i++) {
+                char achKey[MAX_KEY_LENGTH]; // buffer for subkey name
+                DWORD cbName = MAX_KEY_LENGTH;
+                retCode = RegEnumKeyExA(hKey, i,
+                        achKey,
+                        &cbName,
+                        NULL,
+                        NULL,
+                        NULL,
+                        &ftLastWriteTime);
+
+                if (retCode == ERROR_SUCCESS) {
+#ifdef _DEBUG
+                    cout << achKey << endl;
+#endif
+                    JavaVersion * nv = parseName(achKey);
+
+                    bool isHome = checkJavaHome(key, sKey, achKey, nv);
+#ifdef _DEBUG
+                    cout << nv->home << " " << isHome << endl;
+#endif
+
+                    if (isHome)
+                        if (result == NULL) {
+                            result = nv;
+#ifdef _DEBUG
+                            cout << "NEW" << endl;
+#endif
+                        } else {
+                            if (nv != NULL) {
+                                if (*nv > *result) {
+#ifdef _DEBUG
+                                    cout << "REPLACE" << endl;
+#endif
+                                    delete result;
+                                    result = nv;
+                                } else {
+#ifdef _DEBUG
+                                    cout << "NO" << endl;
+#endif
+                                    delete nv;
+                                }
+                            }
+                        }
+
+                }
+
+            }
+        }
+
+        RegCloseKey(hKey);
+
+    }
+
+    return result;
+}
+// *****************************************************************************
+
+int fileExists (const std::string& path) {
+    WIN32_FIND_DATA ffd;
+    HANDLE hFind;
+
+    hFind = FindFirstFile (path.c_str(), &ffd);
+    if (hFind == INVALID_HANDLE_VALUE)
+        return FALSE;
+
+    FindClose (hFind);
+    return (ffd.dwFileAttributes & FILE_ATTRIBUTE_DIRECTORY) == 0;
+}
+
+bool hasEnding (std::string const &fullString, std::string const &ending) {
+    if (fullString.length() >= ending.length())
+        return (0 == fullString.compare (fullString.length() - ending.length(), ending.length(), ending));
+    else
+        return false;
+}
+
+int main(int argc, char** argv) {
+    char buf[MAX_PATH];
+    GetModuleFileName (NULL, buf, MAX_PATH);
+    std::string javafxhome = buf;
+    std::string ending = "javafxpackager.exe";
+
+    if (hasEnding (javafxhome, ending)) {
+        fprintf(stderr, "javafxpackager.exe has been renamed javapackager.exe.\nThe original file may be removed in a future release in lieu of javapackager.\nPlease update your scripts.\n\n");
+    }
+
+    javafxhome.erase (javafxhome.rfind ("\\"));
+
+    std::string fxlib = javafxhome + "\\..\\lib\\";
+
+    const char *s = getenv ("JAVA_HOME");
+    std::string javacmd;
+    std::string javahome;
+    if (s != NULL) {
+        javahome = s;
+        javacmd = javahome + "\\bin\\java.exe";
+        std::string javaccmd = javahome + "\\bin\\javac.exe";
+        if (! fileExists (javacmd.c_str ())  ||  ! fileExists (javaccmd.c_str ())) {
+            javacmd = "";
+            javahome = "";
+        }
+    } else
+        javacmd = "";
+
+    if (javacmd.length() <= 0) {
+        //JavaVersion * jv = NULL;//GetMaxVersion(HKEY_LOCAL_MACHINE, "SOFTWARE\\JavaSoft\\Java Runtime Environment");
+        JavaVersion * jv2 = GetMaxVersion(HKEY_LOCAL_MACHINE, "SOFTWARE\\JavaSoft\\Java Development Kit");
+        if (jv2 != NULL) {
+            javacmd = jv2->path;
+            javahome = jv2->home;
+        } else
+            javacmd = "java.exe";
+    }
+
+    std::string cmd = "\"" + javacmd + "\"";
+    if (javahome.length() > 0) {
+//        cmd += " \"-Djava.home=" + javahome + "\"";
+        SetEnvironmentVariable ("JAVA_HOME", javahome.c_str ());
+    }
+    cmd += " -Xmx256M \"-Djavafx.home=" + javafxhome
+            + "\" -classpath \"" + fxlib + "ant-javafx.jar;"
+            + "\" com.sun.javafx.tools.packager.Main";
+
+    for (int i = 1; i < argc; i ++) {
+        cmd = cmd + " \"" + argv[i] + "\"";
+    }
+
+#ifdef _DEBUG
+    printf ("%s", cmd.c_str());
+#endif
+
+    STARTUPINFO start;
+    PROCESS_INFORMATION pi;
+    memset (&start, 0, sizeof (start));
+    start.cb = sizeof (start);
+
+    if (! CreateProcess (NULL, (char *) cmd.c_str (),
+            NULL, NULL, TRUE, NORMAL_PRIORITY_CLASS, NULL, NULL, &start, &pi)) {
+#ifdef _DEBUG
+        fprintf (stderr, "Cannot start java.exe");
+#endif
+        return EXIT_FAILURE;
+    }
+
+    WaitForSingleObject (pi.hProcess, INFINITE);
+    unsigned long exitCode;
+    GetExitCodeProcess (pi.hProcess, &exitCode);
+
+    CloseHandle (pi.hProcess);
+    CloseHandle (pi.hThread);
+
+    return exitCode;
+}
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/fxpackager/src/main/native/javapackager/win/javapackager.manifest	Tue Apr 29 14:28:02 2014 -0600
@@ -0,0 +1,22 @@
+<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
+<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
+ <assemblyIdentity version="FXVERSION"
+         processorArchitecture="X86"
+         name="javapackager.exe"
+         type="win32"/>
+  <description>JavaFX application packager</description>
+  <trustInfo xmlns="urn:schemas-microsoft-com:asm.v3">
+    <security>
+      <requestedPrivileges>
+        <requestedExecutionLevel level='asInvoker' uiAccess='false' />
+      </requestedPrivileges>
+    </security>
+  </trustInfo>
+  <!-- Indicate this JDK version is Windows 7 compatible -->
+   <compatibility xmlns="urn:schemas-microsoft-com:compatibility.v1">
+      <application>
+        <supportedOS Id="{35138b9a-5d96-4fbd-8e2d-a2440225f93a}"/>
+        <supportedOS Id="{e2011457-1546-43c5-a5fe-008deee3d3f0}"/>
+      </application>
+    </compatibility>
+</assembly>
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/modules/fxpackager/src/main/native/javapackager/win/javapackager.rc	Tue Apr 29 14:28:02 2014 -0600
@@ -0,0 +1,80 @@
+/*
+ * Copyright (c) 2011, 2013, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation.  Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the LICENSE file that accompanied this code.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+
+#include "windows.h"
+
+// Need 2 defines so macro argument to XSTR will get expanded before quoting.
+#define XSTR(x) STR(x)
+#define STR(x)  #x
+
+LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
+
+/////////////////////////////////////////////////////////////////////////////
+//
+// Version
+//
+
+VS_VERSION_INFO VERSIONINFO
+ FILEVERSION    JFX_VERSION
+ PRODUCTVERSION JFX_VERSION
+ FILEFLAGSMASK 0x3fL
+#ifdef _DEBUG
+ FILEFLAGS 0x1L
+#else
+ FILEFLAGS 0x0L
+#endif
+ // FILEOS 0x4 is Win32, 0x40004 is Win32 NT only
+ FILEOS 0x4L
+ // FILETYPE should be 0x1 for .exe and 0x2 for .dll
+ FILETYPE 0x1L
+ FILESUBTYPE 0x0L
+BEGIN
+    BLOCK "StringFileInfo"
+    BEGIN
+        BLOCK "000004b0"
+        BEGIN
+            VALUE "CompanyName",      "Oracle Corporation\0"       "\0"
+            VALUE "FileDescription",  "JavaFX(TM) Packager\0"
+            VALUE "InternalName",     "javapackager\0"
+            VALUE "LegalCopyright",   "Copyright 2014\0"     "\0"
+            VALUE "OriginalFilename", "javapackager.exe\0"
+            VALUE "ProductName",      "JavaFX(TM) Runtime\0"          "\0"
+            VALUE "ProductVersion",   XSTR(JFX_DVERSION)           "\0"
+        END
+    END
+    BLOCK "VarFileInfo"
+    BEGIN
+        VALUE "Translation", 0x0, 1200
+    END
+END
+
+
+#define MANIFEST_RESOURCE_ID 1
+
+// Manifest
+//
+
+MANIFEST_RESOURCE_ID RT_MANIFEST "javapackager.manifest"
+
--- a/modules/fxpackager/src/main/resources/com/sun/javafx/tools/packager/Bundle.properties	Mon Apr 28 21:29:27 2014 -0600
+++ b/modules/fxpackager/src/main/resources/com/sun/javafx/tools/packager/Bundle.properties	Tue Apr 29 14:28:02 2014 -0600
@@ -1,5 +1,5 @@
-MSG_Version=JavaFX Packager version
-MSG_Help_1=Usage: javafxpackager -command [-options]\n\
+MSG_Version=Java Packager version
+MSG_Help_1=Usage: javapackager -command [-options]\n\
      \n\
 where command is one of: \n\
 \  -createjar\n\
@@ -155,16 +155,16 @@
 \n
 MSG_Help_7=Sample usages:\n\
 --------------\n\
-javafxpackager -createjar -appclass package.ClassName  \n\
+javapackager -createjar -appclass package.ClassName  \n\
 \  -srcdir classes -outdir out -outfile outjar -v\n\
 \          Packages the content of the classes directory to outjar.jar,\n\
 \          sets the application class to package.ClassName.\n\
-javafxpackager -deploy -outdir outdir -outfile outfile -width 34 -height 43 \n\
+javapackager -deploy -outdir outdir -outfile outfile -width 34 -height 43 \n\
 \  -name AppName -appclass package.ClassName -v -srcdir compiled\n\
 \          Generates outfile.jnlp and corresponding outfile.html files in \n\
 \          outdir for aplication AppName that is started by package.ClassName\n\
 \          class and has dimensions of 34x43.\n\
-javafxpackager -makeall -appclass brickbreaker.Main -name BrickBreaker\n\
+javapackager -makeall -appclass brickbreaker.Main -name BrickBreaker\n\
 \  -width 600 -height 600\n\
 \          This command does all the packaging work including compilation: \n\
 \          compile, createjar, deploy.
--- a/modules/fxpackager/src/main/resources/com/sun/javafx/tools/packager/Bundle_ja.properties	Mon Apr 28 21:29:27 2014 -0600
+++ b/modules/fxpackager/src/main/resources/com/sun/javafx/tools/packager/Bundle_ja.properties	Tue Apr 29 14:28:02 2014 -0600
@@ -1,12 +1,12 @@
-MSG_Version=JavaFX Packager\u30D0\u30FC\u30B8\u30E7\u30F3
-MSG_Help_1=\u4F7F\u7528\u65B9\u6CD5: javafxpackager -command [-options]\n\n\u3053\u306E\u30B3\u30DE\u30F3\u30C9\u306F\u6B21\u306E\u3044\u305A\u308C\u304B\u3067\u3059\u3002\n  -createjar\n          \u30D1\u30C3\u30B1\u30FC\u30B8\u30E3\u306F\u3001\u305D\u306E\u4ED6\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u306B\u5F93\u3063\u3066jar\u30A2\u30FC\u30AB\u30A4\u30D6\u3092\u751F\u6210\u3057\u307E\u3059\u3002 \n  -deploy \n          \u30D1\u30C3\u30B1\u30FC\u30B8\u30E3\u306F\u3001\u305D\u306E\u4ED6\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u306B\u5F93\u3063\u3066\u3001jnlp\u30D5\u30A1\u30A4\u30EB\u3068html\u30D5\u30A1\u30A4\u30EB\n          \u3092\u751F\u6210\u3057\u307E\u3059\u3002\n  -createbss\n          css\u30D5\u30A1\u30A4\u30EB\u3092\u30D0\u30A4\u30CA\u30EA\u5F62\u5F0F\u306B\u5909\u63DB\u3057\u307E\u3059 \n  -signJar\n          \u63D0\u4F9B\u3055\u308C\u305F\u8A3C\u660E\u66F8\u3067jar\u30D5\u30A1\u30A4\u30EB\u306B\u7F72\u540D\u3057\u307E\u3059\u3002\n  -makeall\n          \u4E8B\u524D\u5B9A\u7FA9\u3055\u308C\u305F\u5F15\u6570\u306E\u5927\u534A\u3092\u4F7F\u7528\u3057\u3066\u3001\u30B3\u30F3\u30D1\u30A4\u30EB\u3001jar\u306E\u4F5C\u6210\u3001\u30C7\u30D7\u30ED\u30A4\u306E \n          \u30B9\u30C6\u30C3\u30D7\u30921\u56DE\u306E\u547C\u51FA\u3057\u3067\u5B9F\u884C\u3057\u307E\u3059\u3002\u30BD\u30FC\u30B9\u306F"src"\u30D5\u30A9\u30EB\u30C0\u306B\u5B58\u5728\u3059\u308B\n          \u5FC5\u8981\u304C\u3042\u308A\u3001\u751F\u6210\u3055\u308C\u305F\u30D5\u30A1\u30A4\u30EB(jar\u3001jnlp\u3001html)\u306F"dist"\u30D5\u30A9\u30EB\u30C0\u306B\n          \u51FA\u529B\u3055\u308C\u307E\u3059\u3002\u3053\u306E\u30B3\u30DE\u30F3\u30C9\u306F\u6700\u5C0F\u9650\u306E\u69CB\u6210\u306E\u307F\u304C\u53EF\u80FD\u3067\u3001\u53EF\u80FD\u306A\u304B\u304E\u308A\n          \u81EA\u52D5\u5316\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\n\n
+MSG_Version=Java Packager\u30D0\u30FC\u30B8\u30E7\u30F3
+MSG_Help_1=\u4F7F\u7528\u65B9\u6CD5: javapackager -command [-options]\n\n\u3053\u306E\u30B3\u30DE\u30F3\u30C9\u306F\u6B21\u306E\u3044\u305A\u308C\u304B\u3067\u3059\u3002\n  -createjar\n          \u30D1\u30C3\u30B1\u30FC\u30B8\u30E3\u306F\u3001\u305D\u306E\u4ED6\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u306B\u5F93\u3063\u3066jar\u30A2\u30FC\u30AB\u30A4\u30D6\u3092\u751F\u6210\u3057\u307E\u3059\u3002 \n  -deploy \n          \u30D1\u30C3\u30B1\u30FC\u30B8\u30E3\u306F\u3001\u305D\u306E\u4ED6\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u306B\u5F93\u3063\u3066\u3001jnlp\u30D5\u30A1\u30A4\u30EB\u3068html\u30D5\u30A1\u30A4\u30EB\n          \u3092\u751F\u6210\u3057\u307E\u3059\u3002\n  -createbss\n          css\u30D5\u30A1\u30A4\u30EB\u3092\u30D0\u30A4\u30CA\u30EA\u5F62\u5F0F\u306B\u5909\u63DB\u3057\u307E\u3059 \n  -signJar\n          \u63D0\u4F9B\u3055\u308C\u305F\u8A3C\u660E\u66F8\u3067jar\u30D5\u30A1\u30A4\u30EB\u306B\u7F72\u540D\u3057\u307E\u3059\u3002\n  -makeall\n          \u4E8B\u524D\u5B9A\u7FA9\u3055\u308C\u305F\u5F15\u6570\u306E\u5927\u534A\u3092\u4F7F\u7528\u3057\u3066\u3001\u30B3\u30F3\u30D1\u30A4\u30EB\u3001jar\u306E\u4F5C\u6210\u3001\u30C7\u30D7\u30ED\u30A4\u306E \n          \u30B9\u30C6\u30C3\u30D7\u30921\u56DE\u306E\u547C\u51FA\u3057\u3067\u5B9F\u884C\u3057\u307E\u3059\u3002\u30BD\u30FC\u30B9\u306F"src"\u30D5\u30A9\u30EB\u30C0\u306B\u5B58\u5728\u3059\u308B\n          \u5FC5\u8981\u304C\u3042\u308A\u3001\u751F\u6210\u3055\u308C\u305F\u30D5\u30A1\u30A4\u30EB(jar\u3001jnlp\u3001html)\u306F"dist"\u30D5\u30A9\u30EB\u30C0\u306B\n          \u51FA\u529B\u3055\u308C\u307E\u3059\u3002\u3053\u306E\u30B3\u30DE\u30F3\u30C9\u306F\u6700\u5C0F\u9650\u306E\u69CB\u6210\u306E\u307F\u304C\u53EF\u80FD\u3067\u3001\u53EF\u80FD\u306A\u304B\u304E\u308A\n          \u81EA\u52D5\u5316\u3059\u308B\u3053\u3068\u304C\u3067\u304D\u307E\u3059\u3002\n\n
 MSG_Help_2=createjar\u30B3\u30DE\u30F3\u30C9\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u306F\u6B21\u306E\u3068\u304A\u308A\u3067\u3059\u3002\n  -appclass <application class>\n          \u5B9F\u884C\u3059\u308B\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u30FB\u30AF\u30E9\u30B9\u306E\u4FEE\u98FE\u540D\u3002\n  -preloader <preloader class>\n          \u5B9F\u884C\u3059\u308B\u30D7\u30EA\u30ED\u30FC\u30C0\u30FC\u30FB\u30AF\u30E9\u30B9\u306E\u4FEE\u98FE\u540D\u3002\n  -paramfile <file>\n          \u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u540D\u524D\u4ED8\u304D\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u30FB\u30D1\u30E9\u30E1\u30FC\u30BF\u304C\u542B\u307E\u308C\u308B\u30D7\u30ED\u30D1\u30C6\u30A3\u30FB\u30D5\u30A1\u30A4\u30EB\u3002\n  -argument arg\n          JNLP\u30D5\u30A1\u30A4\u30EB\u5185\u306E<fx:argument>\u8981\u7D20\u306B\u8A2D\u5B9A\u3059\u308B\u540D\u524D\u306A\u3057\u306E\n          \u5F15\u6570\u3002\n  -classpath <files>\n          \u4F9D\u5B58\u3059\u308Bjar\u30D5\u30A1\u30A4\u30EB\u306E\u540D\u524D\u306E\u30EA\u30B9\u30C8\u3002\n  -manifestAttrs <manifest attributes>\n          \u8FFD\u52A0\u306E\u30DE\u30CB\u30D5\u30A7\u30B9\u30C8\u5C5E\u6027\u306E\u30EA\u30B9\u30C8\u3002\u69CB\u6587: "name1=value1,\n          name2=value2,name3=value3\u3002\n  -noembedlauncher \n          \u5B58\u5728\u3059\u308B\u5834\u5408\u3001\u30D1\u30C3\u30B1\u30FC\u30B8\u30E3\u306F\u3001jar\u30D5\u30A1\u30A4\u30EB\u306BJavaFX\u8D77\u52D5\u30AF\u30E9\u30B9\u3092\n          \u8FFD\u52A0\u3057\u307E\u305B\u3093\u3002\n  -nocss2bin\n          \u30D1\u30C3\u30B1\u30FC\u30B8\u30E3\u306F\u3001CSS\u30D5\u30A1\u30A4\u30EB\u3092\u30D0\u30A4\u30CA\u30EA\u5F62\u5F0F\u306B\u5909\u63DB\u305B\u305A\u306Bjar\u306B\u30B3\u30D4\u30FC\n          \u3057\u307E\u3059\u3002 \n  -runtimeversion <version> \n          JavaFX\u30E9\u30F3\u30BF\u30A4\u30E0\u306E\u5FC5\u9808\u30D0\u30FC\u30B8\u30E7\u30F3\u3002\n  -outdir <dir>\n          \u51FA\u529B\u30D5\u30A1\u30A4\u30EB\u304C\u751F\u6210\u3055\u308C\u308B\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\u540D\u524D\u3002\n  -outfile <filename>\n          \u751F\u6210\u3055\u308C\u308B\u30D5\u30A1\u30A4\u30EB\u306E(\u62E1\u5F35\u5B50\u306A\u3057\u306E)\u540D\u524D\u3002\n  -srcdir <dir>\n          \u30D1\u30C3\u30B1\u30FC\u30B8\u5316\u3059\u308B\u30D5\u30A1\u30A4\u30EB\u306E\u30D9\u30FC\u30B9\u30FB\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3002\n  -srcfiles <files>\n          srcdir\u5185\u306E\u30D5\u30A1\u30A4\u30EB\u306E\u30EA\u30B9\u30C8\u3002\u7701\u7565\u3057\u305F\u5834\u5408\u306F\u3001srcdir\u5185\u306E\n          \u3059\u3079\u3066\u306E\u30D5\u30A1\u30A4\u30EB(\u3053\u306E\u5834\u5408\u306F\u5FC5\u9808\u306E\u5F15\u6570)\u304C\u30D1\u30C3\u30B1\u30FC\u30B8\u5316\u3055\u308C\u307E\u3059\u3002\n\n
 MSG_Help_3=deploy\u30B3\u30DE\u30F3\u30C9\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u306F\u6B21\u306E\u3068\u304A\u308A\u3067\u3059\u3002\n  -title <title>\n          \u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3002\n  -vendor <vendor>\n          \u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306E\u30D9\u30F3\u30C0\u30FC\u3002\n  -description <description>\n          \u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306E\u8AAC\u660E\u3002\n  -appclass <application class>\n          \u5B9F\u884C\u3059\u308B\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u30FB\u30AF\u30E9\u30B9\u306E\u4FEE\u98FE\u540D\u3002\n  -preloader <preloader class>\n          \u5B9F\u884C\u3059\u308B\u30D7\u30EA\u30ED\u30FC\u30C0\u30FC\u30FB\u30AF\u30E9\u30B9\u306E\u4FEE\u98FE\u540D\u3002\n  -paramfile <file>\n          \u30C7\u30D5\u30A9\u30EB\u30C8\u306E\u540D\u524D\u4ED8\u304D\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u30FB\u30D1\u30E9\u30E1\u30FC\u30BF\u304C\u542B\u307E\u308C\u308B\u30D7\u30ED\u30D1\u30C6\u30A3\u30FB\u30D5\u30A1\u30A4\u30EB\u3002\n  -htmlparamfile <file>\n          \u751F\u6210\u3055\u308C\u308B\u30A2\u30D7\u30EC\u30C3\u30C8\u7528\u306E\u30D1\u30E9\u30E1\u30FC\u30BF\u304C\u542B\u307E\u308C\u308B\u30D7\u30ED\u30D1\u30C6\u30A3\u30FB\u30D5\u30A1\u30A4\u30EB\u3002\n  -width <width>\n          \u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306E\u5E45\u3002\n  -height <height>\n          \u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306E\u9AD8\u3055\u3002\n  -native <type>\n          \u81EA\u5DF1\u5305\u542B\u578B\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u30FB\u30D0\u30F3\u30C9\u30EB\u3092\u4F5C\u6210\u3057\u307E\u3059(\u53EF\u80FD\u306A\u5834\u5408)\u3002\n          \u30BF\u30A4\u30D7\u304C\u6307\u5B9A\u3055\u308C\u3066\u3044\u308B\u5834\u5408\u306F\u3001\u3053\u306E\u30BF\u30A4\u30D7\u306E\u30D0\u30F3\u30C9\u30EB\u306E\u307F\u4F5C\u6210\u3055\u308C\u307E\u3059\u3002\n          \u30B5\u30DD\u30FC\u30C8\u3055\u308C\u308B\u30BF\u30A4\u30D7\u306E\u30EA\u30B9\u30C8: installer\u3001image\u3001exe\u3001msi\u3001dmg\u3001rpm\u3001deb\u3002\n  -name <name>\n          \u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306E\u540D\u524D\u3002\n  -embedjnlp\n          \u6307\u5B9A\u3057\u305F\u5834\u5408\u3001html\u30C9\u30AD\u30E5\u30E1\u30F3\u30C8\u306Bjnlp\u30D5\u30A1\u30A4\u30EB\u304C\u57CB\u3081\u8FBC\u307E\u308C\u307E\u3059\u3002\n  -embedCertificates\n          \u6307\u5B9A\u3057\u305F\u5834\u5408\u3001jnlp\u30D5\u30A1\u30A4\u30EB\u306B\u8A3C\u660E\u66F8\u304C\u57CB\u3081\u8FBC\u307E\u308C\u307E\u3059\u3002\n  -allpermissions\n          \u6307\u5B9A\u3057\u305F\u5834\u5408\u3001\u305D\u306E\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306F\u3001jnlp\u30D5\u30A1\u30A4\u30EB\u5185\u306E\u3059\u3079\u3066\u306E \n          \u30BB\u30AD\u30E5\u30EA\u30C6\u30A3\u6A29\u9650\u3092\u5FC5\u8981\u3068\u3059\u308B\u3088\u3046\u306B\u306A\u308A\u307E\u3059\u3002\n  -updatemode <updatemode>\n          jnlp\u30D5\u30A1\u30A4\u30EB\u306E\u66F4\u65B0\u30E2\u30FC\u30C9\u3092\u8A2D\u5B9A\u3057\u307E\u3059\u3002\n  -isExtension\n          \u6307\u5B9A\u3057\u305F\u5834\u5408\u3001srcfiles\u306F\u62E1\u5F35\u30D5\u30A1\u30A4\u30EB\u3068\u3057\u3066\u51E6\u7406\u3055\u308C\u307E\u3059\u3002\n  -callbacks\n          \u751F\u6210\u5F8C\u306EHTML\u3067\u306E\u30E6\u30FC\u30B6\u30FC\u30FB\u30B3\u30FC\u30EB\u30D0\u30C3\u30AF\u65B9\u5F0F\u3092\u6307\u5B9A\u3057\u307E\u3059\u3002\n          \u5F62\u5F0F\u306F"name1:value1,name2:value2,..."\u3067\u3059\n  -templateInFilename\n          HTML\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u30FB\u30D5\u30A1\u30A4\u30EB\u306E\u540D\u524D\u3002\u30D7\u30EC\u30FC\u30B9\u30DB\u30EB\u30C0\u306E\u5F62\u5F0F\u306F\u6B21\u306E\u3068\u304A\u308A\u3067\u3059\u3002\n          #XXXX.YYYY(APPID)#\n  -templateOutFilename\n          \u5165\u529B\u6E08\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u304C\u66F8\u304D\u8FBC\u307E\u308C\u308Bhtml\u30D5\u30A1\u30A4\u30EB\u306E\u540D\u524D\u3002\n  -templateId\n \
          \u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u51E6\u7406\u3092\u884C\u3046\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306E\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3ID\u3002\n  -argument arg\n          JNLP\u30D5\u30A1\u30A4\u30EB\u5185\u306E<fx:argument>\u8981\u7D20\u306B\u8A2D\u5B9A\u3059\u308B\u540D\u524D\u306A\u3057\u306E\n          \u5F15\u6570\u3002\n  -outdir <dir>\n          \u51FA\u529B\u30D5\u30A1\u30A4\u30EB\u304C\u751F\u6210\u3055\u308C\u308B\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\u540D\u524D\u3002\n  -outfile <filename>\n          \u751F\u6210\u3055\u308C\u308B\u30D5\u30A1\u30A4\u30EB\u306E(\u62E1\u5F35\u5B50\u306A\u3057\u306E)\u540D\u524D\u3002\n  -srcdir <dir>\n          \u30D1\u30C3\u30B1\u30FC\u30B8\u5316\u3059\u308B\u30D5\u30A1\u30A4\u30EB\u306E\u30D9\u30FC\u30B9\u30FB\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3002\n  -srcfiles <files>\n          srcdir\u5185\u306E\u30D5\u30A1\u30A4\u30EB\u306E\u30EA\u30B9\u30C8\u3002\u7701\u7565\u3057\u305F\u5834\u5408\u306F\u3001srcdir\u5185\u306E\n          \u3059\u3079\u3066\u306E\u30D5\u30A1\u30A4\u30EB(\u3053\u306E\u5834\u5408\u306F\u5FC5\u9808\u306E\u5F15\u6570)\u304C\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002\n\n
 MSG_Help_4=createbss\u30B3\u30DE\u30F3\u30C9\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u306F\u6B21\u306E\u3068\u304A\u308A\u3067\u3059\u3002\n  -outdir <dir>\n          \u51FA\u529B\u30D5\u30A1\u30A4\u30EB\u304C\u751F\u6210\u3055\u308C\u308B\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\u540D\u524D\u3002\n  -srcdir <dir>\n          \u30D1\u30C3\u30B1\u30FC\u30B8\u5316\u3059\u308B\u30D5\u30A1\u30A4\u30EB\u306E\u30D9\u30FC\u30B9\u30FB\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3002\n  -srcfiles <files>\n          srcdir\u5185\u306E\u30D5\u30A1\u30A4\u30EB\u306E\u30EA\u30B9\u30C8\u3002\u7701\u7565\u3057\u305F\u5834\u5408\u306F\u3001srcdir\u5185\u306E\n          \u3059\u3079\u3066\u306E\u30D5\u30A1\u30A4\u30EB(\u3053\u306E\u5834\u5408\u306F\u5FC5\u9808\u306E\u5F15\u6570)\u304C\u4F7F\u7528\u3055\u308C\u307E\u3059\u3002\n\n
 MSG_Help_5=signJar\u30B3\u30DE\u30F3\u30C9\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u306F\u6B21\u306E\u3068\u304A\u308A\u3067\u3059\u3002\n  -keyStore <file>\n          \u30AD\u30FC\u30B9\u30C8\u30A2\u30FB\u30D5\u30A1\u30A4\u30EB\u540D\u3002\n  -alias \n          \u30AD\u30FC\u306E\u5225\u540D\u3002\n  -storePass\n          \u30AD\u30FC\u30B9\u30C8\u30A2\u306E\u6574\u5408\u6027\u3092\u78BA\u8A8D\u3057\u305F\u308A\u3001\u30ED\u30C3\u30AF\u3092\u89E3\u9664\u3059\u308B\u305F\u3081\u306E\u30D1\u30B9\u30EF\u30FC\u30C9\u3002\n  -keyPass\n          \u30AD\u30FC\u3092\u5FA9\u5143\u3059\u308B\u305F\u3081\u306E\u30D1\u30B9\u30EF\u30FC\u30C9\u3002\n  -storeType\n          \u30AD\u30FC\u30B9\u30C8\u30A2\u306E\u30BF\u30A4\u30D7\u3002\u30C7\u30D5\u30A9\u30EB\u30C8\u5024\u306F"jks"\u3067\u3059\u3002\n  -outdir <dir>\n          \u51FA\u529B\u30D5\u30A1\u30A4\u30EB\u304C\u751F\u6210\u3055\u308C\u308B\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\u540D\u524D\u3002\n  -srcdir <dir>\n          \u7F72\u540D\u3059\u308B\u30D5\u30A1\u30A4\u30EB\u306E\u30D9\u30FC\u30B9\u30FB\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u3002\n  -srcfiles <files>\n          srcdir\u5185\u306E\u30D5\u30A1\u30A4\u30EB\u306E\u30EA\u30B9\u30C8\u3002\u7701\u7565\u3057\u305F\u5834\u5408\u306F\u3001srcdir\u5185\u306E\n          \u3059\u3079\u3066\u306E\u30D5\u30A1\u30A4\u30EB(\u3053\u306E\u5834\u5408\u306F\u5FC5\u9808\u306E\u5F15\u6570)\u304C\u7F72\u540D\u3055\u308C\u307E\u3059\u3002\n\n
 MSG_Help_6=makeAll\u30B3\u30DE\u30F3\u30C9\u306E\u30AA\u30D7\u30B7\u30E7\u30F3\u306F\u6B21\u306E\u3068\u304A\u308A\u3067\u3059\u3002\n  -appclass <application class>\n          \u5B9F\u884C\u3059\u308B\u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u30FB\u30AF\u30E9\u30B9\u306E\u4FEE\u98FE\u540D\u3002\n  -preloader <preloader class>\n          \u5B9F\u884C\u3059\u308B\u30D7\u30EA\u30ED\u30FC\u30C0\u30FC\u30FB\u30AF\u30E9\u30B9\u306E\u4FEE\u98FE\u540D\u3002\n  -classpath <files>\n          \u4F9D\u5B58\u3059\u308Bjar\u30D5\u30A1\u30A4\u30EB\u306E\u540D\u524D\u306E\u30EA\u30B9\u30C8\u3002\n  -name <name>\n          \u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306E\u540D\u524D\u3002\n  -width <width>\n          \u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306E\u5E45\u3002\n  -height <height>\n          \u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u306E\u9AD8\u3055\u3002\n  -v      \u8A73\u7D30\u306A\u51FA\u529B\u3092\u6709\u52B9\u306B\u3057\u307E\u3059\u3002\n\n
-MSG_Help_7=\u4F7F\u7528\u4F8B:\n--------------\njavafxpackager -createjar -appclass package.ClassName  \n  -srcdir classes -outdir out -outfile outjar -v\n          classes\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\u4E2D\u8EAB\u3092outjar.jar\u306B\u30D1\u30C3\u30B1\u30FC\u30B8\u5316\u3057\u3001\n          \u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u30FB\u30AF\u30E9\u30B9\u3092package.ClassNam\u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002\njavafxpackager -deploy -outdir outdir -outfile outfile -width 34 -height 43 \n  -name AppName -appclass package.ClassName -v -srcdir compiled\n          outfile.jnlp\u30D5\u30A1\u30A4\u30EB\u304A\u3088\u3073\u5BFE\u5FDC\u3059\u308Boutfile.html\u30D5\u30A1\u30A4\u30EB\u3092\u3001\n          package.ClassName\u30AF\u30E9\u30B9\u3067\u59CB\u307E\u308A\u300134x43\u306E\u914D\u5217\u3092\u6301\u3064\n          \u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3AppName\u306Eoutdir\u306B\u751F\u6210\u3057\u307E\u3059\u3002\njavafxpackager -makeall -appclass brickbreaker.Main -name BrickBreaker\n  -width 600 -height 600\n          \u3053\u306E\u30B3\u30DE\u30F3\u30C9\u306F\u3001\u30B3\u30F3\u30D1\u30A4\u30EB\u3092\u542B\u3080\u3059\u3079\u3066\u306E\u30D1\u30C3\u30B1\u30FC\u30B8\u5316\u51E6\u7406\n          (\u30B3\u30F3\u30D1\u30A4\u30EB\u3001Jar\u306E\u4F5C\u6210\u3001\u30C7\u30D7\u30ED\u30A4)\u3092\u5B9F\u884C\u3057\u307E\u3059\u3002
+MSG_Help_7=\u4F7F\u7528\u4F8B:\n--------------\njavapackager -createjar -appclass package.ClassName  \n  -srcdir classes -outdir out -outfile outjar -v\n          classes\u30C7\u30A3\u30EC\u30AF\u30C8\u30EA\u306E\u4E2D\u8EAB\u3092outjar.jar\u306B\u30D1\u30C3\u30B1\u30FC\u30B8\u5316\u3057\u3001\n          \u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3\u30FB\u30AF\u30E9\u30B9\u3092package.ClassNam\u306B\u8A2D\u5B9A\u3057\u307E\u3059\u3002\njavapackager -deploy -outdir outdir -outfile outfile -width 34 -height 43 \n  -name AppName -appclass package.ClassName -v -srcdir compiled\n          outfile.jnlp\u30D5\u30A1\u30A4\u30EB\u304A\u3088\u3073\u5BFE\u5FDC\u3059\u308Boutfile.html\u30D5\u30A1\u30A4\u30EB\u3092\u3001\n          package.ClassName\u30AF\u30E9\u30B9\u3067\u59CB\u307E\u308A\u300134x43\u306E\u914D\u5217\u3092\u6301\u3064\n          \u30A2\u30D7\u30EA\u30B1\u30FC\u30B7\u30E7\u30F3AppName\u306Eoutdir\u306B\u751F\u6210\u3057\u307E\u3059\u3002\njavapackager -makeall -appclass brickbreaker.Main -name BrickBreaker\n  -width 600 -height 600\n          \u3053\u306E\u30B3\u30DE\u30F3\u30C9\u306F\u3001\u30B3\u30F3\u30D1\u30A4\u30EB\u3092\u542B\u3080\u3059\u3079\u3066\u306E\u30D1\u30C3\u30B1\u30FC\u30B8\u5316\u51E6\u7406\n          (\u30B3\u30F3\u30D1\u30A4\u30EB\u3001Jar\u306E\u4F5C\u6210\u3001\u30C7\u30D7\u30ED\u30A4)\u3092\u5B9F\u884C\u3057\u307E\u3059\u3002
 
 
 ERR_UnknownArgument=\u30A8\u30E9\u30FC: \u4E0D\u660E\u306A\u5F15\u6570: {0}
--- a/modules/fxpackager/src/main/resources/com/sun/javafx/tools/packager/Bundle_zh_CN.properties	Mon Apr 28 21:29:27 2014 -0600
+++ b/modules/fxpackager/src/main/resources/com/sun/javafx/tools/packager/Bundle_zh_CN.properties	Tue Apr 29 14:28:02 2014 -0600
@@ -1,11 +1,11 @@
-MSG_Version=JavaFX \u6253\u5305\u7A0B\u5E8F\u7248\u672C
-MSG_Help_1=\u7528\u6CD5: javafxpackager -command [-options]\n\n\u5176\u4E2D command \u4E3A\u4EE5\u4E0B\u9879\u4E4B\u4E00: \n  -createjar\n          \u6253\u5305\u7A0B\u5E8F\u6839\u636E\u5176\u4ED6\u53C2\u6570\u751F\u6210 jar \u6863\u6848\u3002\n  -deploy \n          \u6253\u5305\u7A0B\u5E8F\u6839\u636E\u5176\u4ED6\u53C2\u6570\u751F\u6210 jnlp \u548C html \n          \u6587\u4EF6\u3002\n  -createbss\n          \u5C06 css \u6587\u4EF6\u8F6C\u6362\u4E3A\u4E8C\u8FDB\u5236\u5F62\u5F0F\n  -signJar\n          \u4F7F\u7528\u63D0\u4F9B\u7684\u8BC1\u4E66\u4E3A jar \u6587\u4EF6\u7B7E\u540D\u3002\n  -makeall\n          \u5C06 compilation, createjar \u548C deploy \u6B65\u9AA4\u4F5C\u4E3A\u4E00\u4E2A\u8C03\u7528\u6267\u884C, \n          \u5728\u5176\u4E2D\u9884\u5B9A\u4E49\u5927\u591A\u6570\u53C2\u6570\u3002\u6E90\u5FC5\u987B\u4F4D\u4E8E "src"\n          \u6587\u4EF6\u5939\u4E2D, \u751F\u6210\u7684\u6587\u4EF6 (jar, jnlp, html) \u5C06\u653E\u5165 "dist"\n          \u6587\u4EF6\u5939\u4E2D\u3002\u6B64\u547D\u4EE4\u53EA\u80FD\u4EE5\u6700\u7B80\u5355\u65B9\u5F0F\u914D\u7F6E, \u5E76\u4E14\n          \u5C3D\u53EF\u80FD\u81EA\u52A8\u8FDB\u884C\u3002\n\n
+MSG_Version=Java \u6253\u5305\u7A0B\u5E8F\u7248\u672C
+MSG_Help_1=\u7528\u6CD5: javapackager -command [-options]\n\n\u5176\u4E2D command \u4E3A\u4EE5\u4E0B\u9879\u4E4B\u4E00: \n  -createjar\n          \u6253\u5305\u7A0B\u5E8F\u6839\u636E\u5176\u4ED6\u53C2\u6570\u751F\u6210 jar \u6863\u6848\u3002\n  -deploy \n          \u6253\u5305\u7A0B\u5E8F\u6839\u636E\u5176\u4ED6\u53C2\u6570\u751F\u6210 jnlp \u548C html \n          \u6587\u4EF6\u3002\n  -createbss\n          \u5C06 css \u6587\u4EF6\u8F6C\u6362\u4E3A\u4E8C\u8FDB\u5236\u5F62\u5F0F\n  -signJar\n          \u4F7F\u7528\u63D0\u4F9B\u7684\u8BC1\u4E66\u4E3A jar \u6587\u4EF6\u7B7E\u540D\u3002\n  -makeall\n          \u5C06 compilation, createjar \u548C deploy \u6B65\u9AA4\u4F5C\u4E3A\u4E00\u4E2A\u8C03\u7528\u6267\u884C, \n          \u5728\u5176\u4E2D\u9884\u5B9A\u4E49\u5927\u591A\u6570\u53C2\u6570\u3002\u6E90\u5FC5\u987B\u4F4D\u4E8E "src"\n          \u6587\u4EF6\u5939\u4E2D, \u751F\u6210\u7684\u6587\u4EF6 (jar, jnlp, html) \u5C06\u653E\u5165 "dist"\n          \u6587\u4EF6\u5939\u4E2D\u3002\u6B64\u547D\u4EE4\u53EA\u80FD\u4EE5\u6700\u7B80\u5355\u65B9\u5F0F\u914D\u7F6E, \u5E76\u4E14\n          \u5C3D\u53EF\u80FD\u81EA\u52A8\u8FDB\u884C\u3002\n\n
 MSG_Help_2=createjar \u547D\u4EE4\u7684\u9009\u9879\u5305\u62EC: \n  -appclass <application class>\n          \u8981\u6267\u884C\u7684\u5E94\u7528\u7A0B\u5E8F\u7C7B\u7684\u9650\u5B9A\u540D\u79F0\u3002\n  -preloader <preloader class>\n          \u8981\u6267\u884C\u7684\u9884\u52A0\u8F7D\u5668\u7C7B\u7684\u9650\u5B9A\u540D\u79F0\u3002\n  -paramfile <file>\n          \u5305\u542B\u9ED8\u8BA4\u547D\u540D\u5E94\u7528\u7A0B\u5E8F\u53C2\u6570\u7684\u5C5E\u6027\u6587\u4EF6\u3002\n  -argument arg\n          JNLP \u6587\u4EF6\u7684 <fx:argument> \u5143\u7D20\u4E2D\u8981\u653E\u5165\u7684\u672A\u547D\u540D\n          \u53C2\u6570\u3002\n  -classpath <files>\n          \u76F8\u5173 jar \u6587\u4EF6\u540D\u5217\u8868\u3002\n  -manifestAttrs <manifest attributes>\n          \u9644\u52A0\u6E05\u5355\u5C5E\u6027\u5217\u8868\u3002\u8BED\u6CD5: "name1=value1,\n          name2=value2,name3=value3"\u3002\n  -noembedlauncher \n          \u5982\u679C\u5B58\u5728, \u6253\u5305\u7A0B\u5E8F\u5C06\u4E0D\u4F1A\u5411 jarfile \u6DFB\u52A0 JavaFX \n          \u542F\u52A8\u7A0B\u5E8F\u7C7B\u3002\n  -nocss2bin\n          \u5728\u590D\u5236\u5230 jar \u4E4B\u524D, \u6253\u5305\u7A0B\u5E8F\u4E0D\u4F1A\u5C06 CSS \u6587\u4EF6\u8F6C\u6362\u4E3A\n          \u4E8C\u8FDB\u5236\u5F62\u5F0F\u3002\n  -runtimeversion <version> \n          \u6240\u9700 JavaFX \u8FD0\u884C\u65F6\u7684\u7248\u672C\u3002\n  -outdir <dir>\n          \u8981\u5C06\u8F93\u51FA\u6587\u4EF6\u751F\u6210\u5230\u7684\u76EE\u5F55\u7684\u540D\u79F0\u3002\n  -outfile <filename>\n          \u751F\u6210\u7684\u6587\u4EF6\u7684\u540D\u79F0 (\u4E0D\u5E26\u6269\u5C55\u540D)\u3002\n  -srcdir <dir>\n          \u5F85\u6253\u5305\u6587\u4EF6\u7684\u57FA\u76EE\u5F55\u3002\n  -srcfiles <files>\n          srcdir \u4E2D\u7684\u6587\u4EF6\u7684\u5217\u8868\u3002\u5982\u679C\u7701\u7565, \u5C06\u5BF9 srcdir (\u5728\n          \u8FD9\u79CD\u60C5\u51B5\u4E0B\u662F\u5FC5\u9700\u7684\u53C2\u6570) \u4E2D\u7684\u6240\u6709\u6587\u4EF6\u8FDB\u884C\u6253\u5305\u3002\n\n
 MSG_Help_3=deploy \u547D\u4EE4\u7684\u9009\u9879\u5305\u62EC:\n  -title <title>\n          \u5E94\u7528\u7A0B\u5E8F\u7684\u6807\u9898\u3002\n  -vendor <vendor>\n          \u5E94\u7528\u7A0B\u5E8F\u7684\u4F9B\u5E94\u5546\u3002\n  -description <description>\n          \u5E94\u7528\u7A0B\u5E8F\u7684\u8BF4\u660E\u3002\n  -appclass <application class>\n          \u8981\u6267\u884C\u7684\u5E94\u7528\u7A0B\u5E8F\u7C7B\u7684\u9650\u5B9A\u540D\u79F0\u3002\n  -preloader <preloader class>\n          \u8981\u6267\u884C\u7684\u9884\u52A0\u8F7D\u5668\u7C7B\u7684\u9650\u5B9A\u540D\u79F0\u3002\n  -paramfile <file>\n          \u5305\u542B\u9ED8\u8BA4\u547D\u540D\u5E94\u7528\u7A0B\u5E8F\u53C2\u6570\u7684\u5C5E\u6027\u6587\u4EF6\u3002\n  -htmlparamfile <file>\n          \u5305\u542B\u6240\u751F\u6210\u5C0F\u5E94\u7528\u7A0B\u5E8F\u53C2\u6570\u7684\u5C5E\u6027\u6587\u4EF6\u3002\n  -width <width>\n          \u5E94\u7528\u7A0B\u5E8F\u7684\u5BBD\u5EA6\u3002\n  -height <height>\n          \u5E94\u7528\u7A0B\u5E8F\u7684\u9AD8\u5EA6\u3002\n  -native <type>\n          \u751F\u6210\u81EA\u5305\u542B\u7684\u5E94\u7528\u7A0B\u5E8F\u7ED1\u5B9A (\u5982\u679C\u53EF\u80FD)\u3002\n          \u5982\u679C\u6307\u5B9A\u4E86\u7C7B\u578B, \u5219\u53EA\u521B\u5EFA\u6B64\u7C7B\u578B\u7684\u7ED1\u5B9A\u3002\n          \u6240\u652F\u6301\u7C7B\u578B\u7684\u5217\u8868\u5305\u62EC: installer, image, exe, msi, dmg, rpm \u548C deb\u3002\n  -name <name>\n          \u5E94\u7528\u7A0B\u5E8F\u7684\u540D\u79F0\u3002\n  -embedjnlp\n          \u5982\u679C\u5B58\u5728, \u4F1A\u5C06 jnlp \u6587\u4EF6\u5D4C\u5165 html \u6587\u6863\u4E2D\u3002\n  -embedCertificates\n          \u5982\u679C\u5B58\u5728, \u4F1A\u5C06\u8BC1\u4E66\u5D4C\u5165 jnlp \u6587\u4EF6\u4E2D\u3002\n  -allpermissions\n          \u5982\u679C\u5B58\u5728, \u5E94\u7528\u7A0B\u5E8F\u5C06\u9700\u8981 jnlp \u6587\u4EF6\u4E2D\u7684\u6240\u6709\n          \u5B89\u5168\u6743\u9650\u3002\n  -updatemode <updatemode>\n          \u8BBE\u7F6E jnlp \u6587\u4EF6\u7684\u66F4\u65B0\u6A21\u5F0F\u3002\n  -isExtension\n          \u5982\u679C\u5B58\u5728, srcfile \u5C06\u88AB\u89C6\u4E3A\u6269\u5C55\u3002\n  -callbacks\n          \u5728\u751F\u6210\u7684 HTML \u4E2D\u6307\u5B9A\u7528\u6237\u56DE\u8C03\u65B9\u6CD5\u3002\u683C\u5F0F\u4E3A\n          "name1:value1,name2:value2,..."\n  -templateInFilename\n          html \u6A21\u677F\u6587\u4EF6\u7684\u540D\u79F0\u3002\u5360\u4F4D\u7B26\u683C\u5F0F\u4E3A\n          #XXXX.YYYY(APPID)#\n  -templateOutFilename\n          \u8981\u5C06\u5DF2\u586B\u5145\u7684\u6A21\u677F\u5199\u5165\u5230\u7684 html \u6587\u4EF6\u7684\u540D\u79F0\u3002\n  -templateId\n          \u7528\u4E8E\u6A21\u677F\u5904\u7406\u7684\u5E94\u7528\u7A0B\u5E8F\u7684\u5E94\u7528\u7A0B\u5E8F ID\u3002\n  -argument arg\n          JNLP \u6587\u4EF6\u7684 <fx:argument> \u5143\u7D20\u4E2D\u8981\u653E\u5165\u7684\u672A\u547D\u540D\n          \u53C2\u6570\u3002\n  -outdir <dir>\n          \u8981\u5C06\u8F93\u51FA\u6587\u4EF6\u751F\u6210\u5230\u7684\u76EE\u5F55\u7684\u540D\u79F0\u3002\n  -outfile <filename>\n          \u751F\u6210\u7684\u6587\u4EF6\u7684\u540D\u79F0 (\u4E0D\u5E26\u6269\u5C55\u540D)\u3002\n  -srcdir <dir>\n          \u5F85\u6253\u5305\u6587\u4EF6\u7684\u57FA\u76EE\u5F55\u3002\n  -srcfiles <files>\n          srcdir \u4E2D\u7684\u6587\u4EF6\u7684\u5217\u8868\u3002\u5982\u679C\u7701\u7565, \u5C06\u5BF9 srcdir (\u5728\n          \u8FD9\u79CD\u60C5\u51B5\u4E0B\u662F\u5FC5\u9700\u7684\u53C2\u6570) \u4E2D\u7684\u6240\u6709\u6587\u4EF6\u8FDB\u884C\u6253\u5305\u3002\n\n
 MSG_Help_4=createbss \u547D\u4EE4\u7684\u9009\u9879\u5305\u62EC:\n  -outdir <dir>\n          \u8981\u5C06\u8F93\u51FA\u6587\u4EF6\u751F\u6210\u5230\u7684\u76EE\u5F55\u7684\u540D\u79F0\u3002\n  -srcdir <dir>\n          \u5F85\u6253\u5305\u6587\u4EF6\u7684\u57FA\u76EE\u5F55\u3002\n  -srcfiles <files>\n          srcdir \u4E2D\u7684\u6587\u4EF6\u7684\u5217\u8868\u3002\u5982\u679C\u7701\u7565, \u5C06\u5BF9 srcdir (\u5728\n          \u8FD9\u79CD\u60C5\u51B5\u4E0B\u662F\u5FC5\u9700\u7684\u53C2\u6570) \u4E2D\u7684\u6240\u6709\u6587\u4EF6\u8FDB\u884C\u6253\u5305\u3002\n\n
 MSG_Help_5=signJar \u547D\u4EE4\u7684\u9009\u9879\u5305\u62EC:\n  -keyStore <file>\n          \u5BC6\u94A5\u5E93\u6587\u4EF6\u540D\u3002\n  -alias \n          \u5BC6\u94A5\u7684\u522B\u540D\u3002\n  -storePass\n          \u7528\u4E8E\u68C0\u67E5\u5BC6\u94A5\u5E93\u5B8C\u6574\u6027\u6216\u5BF9\u5BC6\u94A5\u5E93\u53D6\u6D88\u9501\u5B9A\u7684\u53E3\u4EE4\u3002\n  -keyPass\n          \u7528\u4E8E\u6062\u590D\u5BC6\u94A5\u7684\u53E3\u4EE4\u3002\n  -storeType\n          \u5BC6\u94A5\u5E93\u7C7B\u578B, \u9ED8\u8BA4\u503C\u4E3A "jks"\u3002\n  -outdir <dir>\n          \u8981\u5C06\u8F93\u51FA\u6587\u4EF6\u751F\u6210\u5230\u7684\u76EE\u5F55\u7684\u540D\u79F0\u3002\n  -srcdir <dir>\n          \u5F85\u7B7E\u540D\u6587\u4EF6\u7684\u57FA\u76EE\u5F55\u3002\n  -srcfiles <files>\n          srcdir \u4E2D\u7684\u6587\u4EF6\u7684\u5217\u8868\u3002\u5982\u679C\u7701\u7565, \u5C06\u5BF9 srcdir (\u5728\n          \u8FD9\u79CD\u60C5\u51B5\u4E0B\u662F\u5FC5\u9700\u7684\u53C2\u6570) \u4E2D\u7684\u6240\u6709\u6587\u4EF6\u8FDB\u884C\u6253\u5305\u3002\n\n
 MSG_Help_6=makeAll \u547D\u4EE4\u7684\u9009\u9879\u5305\u62EC:\n  -appclass <application class>\n          \u8981\u6267\u884C\u7684\u5E94\u7528\u7A0B\u5E8F\u7C7B\u7684\u9650\u5B9A\u540D\u79F0\u3002\n  -preloader <preloader class>\n          \u8981\u6267\u884C\u7684\u9884\u52A0\u8F7D\u5668\u7C7B\u7684\u9650\u5B9A\u540D\u79F0\u3002\n  -classpath <files>\n          \u76F8\u5173 jar \u6587\u4EF6\u540D\u5217\u8868\u3002\n  -name <name>\n          \u5E94\u7528\u7A0B\u5E8F\u7684\u540D\u79F0\u3002\n  -width <width>\n          \u5E94\u7528\u7A0B\u5E8F\u7684\u5BBD\u5EA6\u3002\n  -height <height>\n          \u5E94\u7528\u7A0B\u5E8F\u7684\u9AD8\u5EA6\u3002\n  -v      \u542F\u7528\u8BE6\u7EC6\u8F93\u51FA\u3002\n\n
-MSG_Help_7=\u793A\u4F8B\u7528\u6CD5:\n--------------\njavafxpackager -createjar -appclass package.ClassName  \n  -srcdir classes -outdir out -outfile outjar -v\n          \u5C06\u7C7B\u76EE\u5F55\u7684\u5185\u5BB9\u6253\u5305\u5230 outjar.jar,\n          \u5C06\u5E94\u7528\u7A0B\u5E8F\u7C7B\u8BBE\u7F6E\u4E3A package.ClassName\u3002\njavafxpackager -deploy -outdir outdir -outfile outfile -width 34 -height 43 \n  -name AppName -appclass package.ClassName -v -srcdir compiled\n          \u5728\u7531 package.ClassName \u7C7B\u542F\u52A8\u4E14\u5927\u5C0F\u4E3A 34x43 \u7684\n          \u5E94\u7528\u7A0B\u5E8F AppName \u7684 outdir \u4E2D\u751F\u6210\n          outfile.jnlp \u548C\u5BF9\u5E94\u7684 outfile.html \u6587\u4EF6\u3002\njavafxpackager -makeall -appclass brickbreaker.Main -name BrickBreaker\n  -width 600 -height 600\n          \u6B64\u547D\u4EE4\u6267\u884C\u5305\u542B\u7F16\u8BD1\u5728\u5185\u7684\u6240\u6709\u6253\u5305\u5DE5\u4F5C: \n          compile, createjar \u548C deploy\u3002
+MSG_Help_7=\u793A\u4F8B\u7528\u6CD5:\n--------------\njavapackager -createjar -appclass package.ClassName  \n  -srcdir classes -outdir out -outfile outjar -v\n          \u5C06\u7C7B\u76EE\u5F55\u7684\u5185\u5BB9\u6253\u5305\u5230 outjar.jar,\n          \u5C06\u5E94\u7528\u7A0B\u5E8F\u7C7B\u8BBE\u7F6E\u4E3A package.ClassName\u3002\njavapackager -deploy -outdir outdir -outfile outfile -width 34 -height 43 \n  -name AppName -appclass package.ClassName -v -srcdir compiled\n          \u5728\u7531 package.ClassName \u7C7B\u542F\u52A8\u4E14\u5927\u5C0F\u4E3A 34x43 \u7684\n          \u5E94\u7528\u7A0B\u5E8F AppName \u7684 outdir \u4E2D\u751F\u6210\n          outfile.jnlp \u548C\u5BF9\u5E94\u7684 outfile.html \u6587\u4EF6\u3002\njavapackager -makeall -appclass brickbreaker.Main -name BrickBreaker\n  -width 600 -height 600\n          \u6B64\u547D\u4EE4\u6267\u884C\u5305\u542B\u7F16\u8BD1\u5728\u5185\u7684\u6240\u6709\u6253\u5305\u5DE5\u4F5C: \n          compile, createjar \u548C deploy\u3002
 
 
 ERR_UnknownArgument=\u9519\u8BEF: \u672A\u77E5\u53C2\u6570: {0}