We need you!

Icon

The IzPack documentation needs work, and you are invited to edit it!

Versions Compared

Key

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

...

Using the ConfigurationInstallerListener requires the following definitions in the install descriptor:

Define the following jar files o be explicitely included in the installation:

 

  • There might be a couple of additional libraries bound to the installer depending on the needs:
    • In order to use XML merge/patch actions in common you need to add jdom:jdom2 artifact to the installer.
      JDom 2.0.5 is the current minimum requirement IzPack has been tested against. 
    • In order to use XPath queries you need also to add the jaxen:jaxen artifact to the installer.
      JDom 2.0.5 currently optionally depends on Jaxen 1.1.4
    • In order to use the "dtd" XML merge action you need to add com.wutka:dtdparser artifact to the installer.

Example of  adding all optional libraries:

 

Code Block
xml
xml
<jar src="dtdparser-1.21.jar" stage="install"/>
<jar src="jaxen-1.1.

...

4.jar" stage="install"/>
<jar src="jdom-

...

2.

...

0.

...

5.jar" stage="install"/>

...

 

  • Define the configuration action descriptor as resource "ConfigurationActionsSpec.xml"
    Example:

    Code Block
    xml
    xml
    <resources>
        <res id="ConfigurationActionsSpec.xml" src="resources/config-actions-spec.xml"/>
    </resources>
    
  • Include the ConfigurationsInstallerListener as custom action

    Code Block
    xml
    xml
    <listeners>
        <listener classname="ConfigurationInstallerListener" stage="install"/>
    </listeners>
    

Configuration Actions Example

...