from small one page howto to huge articles all in one place
 

search text in:





Poll
Which linux distribution do you use?







poll results

Last additions:
using iotop to find disk usage hogs

using iotop to find disk usage hogs

words:

887

views:

104241

userrating:

average rating: 1.7 (85 votes) (1=very good 6=terrible)


May 25th. 2007:
Words

486

Views

218822

why adblockers are bad


Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

Workaround and fixes for the current Core Dump Handling vulnerability affected kernels

words:

161

views:

99365

userrating:

average rating: 1.3 (28 votes) (1=very good 6=terrible)


April, 26th. 2006:

Druckversion
You are here: manpages





javafxpackager

Section: User Commands (1)
Updated: August 2013
Index Return to Main Contents

 

NAME

javafxpackager - A tool with commands that perform tasks related to packaging and signing JavaFX applications.  

SYNOPSIS

javafxpackager -taskcommand[-options]


where -taskcommand is one of the following:

-createjar

Produces a JAR archive according to other parameters.

-deploy

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.

-createbss

Converts CSS files into binary form.

-signJar

Signs JAR file(s) with a provided certificate.

-makeall

Performs compilation, createjar, and deploy 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.

Note that all options are case-insensitive.

 

OPTIONS FOR THE CREATEJAR COMMAND

-appclass <application class>

Qualified name of the application class to be executed.

-preloader <preloader class>

Qualified name of the preloader class to be executed.

-paramfile <file>

A properties file with default named application parameters.

-argument arg

An unnamed argument to be inserted into the JNLP file as an <fx:argument> element.

-classpath <files>

List of dependent JAR file names.

-manifestAttrs <manifest attributes>

List of additional manifest attributes. Syntax:
"name1=value1,name2=value2,name3=value3"

-noembedlauncher

If present, the packager will not add the JavaFX launcher classes to the JAR file.

-nocss2bin

The packager will not convert CSS files to binary form before copying to JAR.

-runtimeversion <version>

Version of the required JavaFX Runtime.

-outdir <dir>

Name of the directory that will receive generated output files.

-outfile <filename>

Name (without the extension) of the file that will be generated.

-srcdir <dir>

Base directory of the files to package.

-srcfiles <files>

List of files in srcdir. If omitted, all files in srcdir (which is a mandatory argument in this case) will be used.
 

OPTIONS FOR THE DEPLOY COMMAND

 

OPTIONS FOR THE CREATEBSS COMMAND

-outdir <dir>

Name of the directory that will receive generated output files.

-srcdir <dir>

Base directory of the files to package.

-srcfiles <files>

List of files in srcdir. If omitted, all files in srcdir (which is a mandatory argument in this case) will be used.
 

OPTIONS FOR THE SIGNJAR COMMAND

-keyStore <file>

Keystore file name.

-alias

Alias for the key.

-storePass

Password to check integrity of the keystore or unlock the keystore

-keyPass

Password for recovering the key.

-storeType

Keystore type. The default value is "jks".

-outdir <dir>

Name of the directory that will receive generated output files.

-srcdir <dir>

Base directory of the files to be signed.

-srcfiles <files>

List of files in srcdir. If omitted, all files in srcdir (which is a mandatory argument in this case) will be used.
 

OPTIONS FOR THE MAKEALL COMMAND

-appclass <application class>

Qualified name of the application class to be executed.

-preloader <preloader class>

Qualified name of the preloader class to be executed.

-classpath <files>

List of dependent JAR file names.

-name <name>

Name of the application.

-width <width>

Width of the application.

-height <height>

Height of the application.
 

NOTES

*
A -voption can be used with any task command to enable verbose output.
*
When the -srcdir option is allowed in a command, it can be used more than once. If the -srcfiles option is specified, the files named in the argument will be looked for in the location specified in the preceding srcdir option. In case there is no -srcdir preceding -srcfiles, the directory where the javafxpackager command is executed will be used.
 

EXAMPLES

Example 1 -createjar Command Usage
javafxpackager -createjar -appclass package.ClassName
  -srcdir classes -outdir out -outfile outjar -v


Packages the contents of the classes directory to outjar.jar, sets the application class to package.ClassName.

Example 2 -deploy Command Usage

javafxpackager -deploy -outdir outdir -outfile outfile -width 34 -height 43 
  -name AppName -appclass package.ClassName -v -srcdir compiled


Generates outfile.jnlp and the corresponding outfile.html files in outdir for application AppName, which is started by package.ClassName and has dimensions of 34 x 43.

Example 3 -makeall command Usage

javafxpackager -makeall -appclass brickbreaker.Main -name BrickBreaker
  -width 600 -height 600


Does all the packaging work including compilation: compile, createjar, deploy.

Example 4 -signJar Command Usage

javafxpackager -signJar --outdir dist -keyStore sampleKeystore.jks 
    -storePass **** -alias javafx -keypass **** -srcdir dist
Signs all of the JAR files in the dist directory, attaches a certificate with the specified alias, keyStore and storePass, and puts the signed JAR files back into the dist directory.


 

Index

NAME
SYNOPSIS
OPTIONS FOR THE CREATEJAR COMMAND
OPTIONS FOR THE DEPLOY COMMAND
OPTIONS FOR THE CREATEBSS COMMAND
OPTIONS FOR THE SIGNJAR COMMAND
OPTIONS FOR THE MAKEALL COMMAND
NOTES
EXAMPLES


Please read "Why adblockers are bad".



Other free services
toURL.org
Shorten long
URLs to short
links like
http://tourl.org/2
tourl.org
.
Reverse DNS lookup
Find out which hostname(s)
resolve to a
given IP or other hostnames for the server
www.reversednslookup.org
rdf newsfeed | rss newsfeed | Atom newsfeed
- Powered by LeopardCMS - Running on Gentoo -
Copyright 2004-2017 Sascha Nitsch Unternehmensberatung UG(haftungsbeschränkt)
Valid XHTML1.1 : Valid CSS : buttonmaker
- Level Triple-A Conformance to Web Content Accessibility Guidelines 1.0 -
- Copyright and legal notices -
Time to create this page: 4.0 ms