Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Current »

When installing the IzPack distribution to  a local system there can be used scripts provided by the project to compile an installer description on the command line.

Example on UNIX
$ cd /home/rkrell/src/myapp_installer/
$ bin/compile install.xml -b . -o myapp_install.jar -k standard
#...
#(compiler console output)
#...
Command line parameterDescriptionDefaultPossible values / range of the argument following the parameter
-b

Base directory

 

current working directory

A valid directory according to your local OS.

Do not forget quotations if there are blanks in the path.

-c

Compression format

Indicates the compression format to be used for packs.

Default is the internal deflate compression (ZIP).

 default (default) | bzip2 | raw
-hIzPack distribution installation home directory

This will be needed if the compiler is not called in the root directory of IzPack.

current working directory

A valid directory containing the Izpack distribution.

Do not forget quotations if there are blanks in the path.

-l

Compression level

Indicates the level for the used compression format if supported.

  A valid integer: 0..9
-kType of installer (kind)standardstandard (default) | web
-oDedicated path of the resulting installer jar file-A valid file name for the resulting jar file,
-v

Indicates whether XML descriptors should be validated during compilation.

 true (default) | false
-?Does nothing but displaying a help text with the possible command line options.- 
  • No labels