|
Spec-Zone .ru
спецификации, руководства, описания, API
|
|
Spec-Zone .ru
спецификации, руководства, описания, API
|
javafxpackager - JavaFX File Packager Utility javafxpackager - Packages files comprising a Javafx Script application for deployment.
javafxpackager [options] class [args...]
The javafxpackager tool creates an application in a format that is specific for a target profile, either desktop or mobile. .
The javafxpackager utility supports the following command line options:
The -profile option specifies the javafx platform. javafx SDK Version 1.0 supports desktop and mobile, and defaults to desktop. Use the -profile mobile option setting to generate files needed by the JavaFX emulator tool. See the emulator man page for details.
Internally the -profile option specifies the configuration-file that sets environment variables.
Required. Specifies the root directory of the source tree holding the application to be packaged.
Here is an example of a source tree that illustrates these required option settings:
MyApp/
src/
package1/
Main.fx
package2/
Class.fx
In the example below, the -src option specifies src as the root directory. The appClass option specifies the Main.fx file in the Package1 source file subdirectory.
javafxpackager -src src -appClass package1.Main
At least one source root is required.
Optional. Specifies classpath.
Optional. Specifies resource path.
Default target directory is ./dist
Optional.
Enables verbose output.
Default application name is the application class name.
Default application vendor is the user.name Java system property.
Default application version is 1.0.
Specifies the class containing main for applets. Mandatory argument.
Default applet width is 200 pixels.
Default applet height is 200 pixels.
Default code base is empty.
Temporary self-signature is created when keystore is not specified.
Mandatory when signing with specific keystore.
Mandatory when signing with specific keystore.
keystore Password is used instead when not specified.
Prints a help screen.
Prints the JavaFX Toolchain version number.
javafxpackager -src ./mysources -appClass mypackage.MyApplication
Builds all JavaFX and Java sources into ./dist/MyApplication.html, ./dist/MyApplication.jnlp, ./dist/MyApplication.jar and ./dist/MyApplication.jar.pack.gz
javafxpackager -src ./mysources -appClass mypackage.MyApplication -p mobile
Builds all JavaFX and Java sources according to MOBILE profile specification into ./dist/MyApplication.jad and ./dist/MyApplication.jar.
| Copyright © 2008 All Rights Reserved. |
|