Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The <singlefile> Element

...

Limit the installation of this file to conditions depending on the target OS, see OS Restrictions.

<pack200>

The <pack200> element adds Java bytecode compression to this file.

Make sure to apply it only to a JAR file or similar file containing Java bytecode.

See Compressing pack files for more information how to cutomize this feature.

<additionaldata>

This tag can also be specified in order to pass additional data related to a file tag for customizing.

Attribute

Description

key

key to identify the data

value

value which can be used by a custom action

;<additionaldata> is an element which may provide additional information as key-value pairs to certain custom actions. The particular key-value pairs you might use depend on the particular custom action.

 Currently, there are two built-in custom actions consuming such data, ChmodCompilerListener and ChmodInstallerListener, where relevant keys are

  • permission.dir,
  • permission.file

with integer values interpreted as permissions like in the Unix chmod:

If value begins with "0" -> octal number,

otherwise is is a decimal number representing some permission.

These permissions are applied to the appropriate files either during the compilation of the package or while installing them later, depending on whether the consumer implements a CompilerListener or InstallerListener.


<pack200>


The <pack200> element adds Java bytecode compression to this file.


Make sure to apply it only to a JAR file or similar file containing Java bytecode.


See Compressing pack files for more information how to cutomize this feature.

Since: IzPack 5.1