...
Example::
Code Block | ||||
---|---|---|---|---|
| ||||
<updatecheck>
<include name="lib/**" />
<exclude name="config/local/** />
</updatecheck>
|
...
Attribute | Description | Required | Values |
---|---|---|---|
| the file to parse, could be something like | yes |
|
| Specifies the text file type. | no |
|
| The file encoding | no | A valid Java encoding string |
| Limits this action on a particular OS, works like for | no |
|
| Limits this action on a particular condition with the specified ID which has to be fulfilled | no |
|
Nested Elements
- <os> - restrict parsing depending on the target operating system, see the OS Restriction element
...
Attribute | Description | Required | Values |
---|---|---|---|
| the file to run, could be something like | yes | A previously added pack file path |
|
| no | "bin" | "jar" |
| If the executable is a jar file, this is the class to run for a Java program | no | A valid Java class within the jar file |
| Specifies at which stage when to launch the executable:
| no | "never" | "postinstall" | "uninstall" |
| specifies what to do when an error occurs:
| no | "ask" | "abort" | "warn" | "ignore" |
| specifies the operating system, works like for | no |
|
| Whether the file will be kept after execution | no | "true" | "false" |
| ID of a condition which has to be fulfilled to execute this file | no | A valid condition ID |
Nested Elements
- <os> - restrict parsing depending on the target operating system, see the OS Restriction element
- <args>
Pass one or more arguments with nested <arg> tags (one<arg>
tag per argument) to the executable
Attributes: value - the argument value
Example:
<args><arg value="-version"/></args>
Slashes are handled special (see attribute targetfile of tag<parsable>.
...
In order to provide internationalization for the PacksPanel, so that your users can be presented with a different name and description for each language you support, you have to create a file named packsLang.xml_xyz where xyz is the ISO3 code of the language in lowercase. Please be aware that case is significant. This file has to be inserted in the resources section of `` install.xml`` with the id and src attributes set at the name of the file. The format of these files is identical with the distribution langpack files located at `` $IZPACK_HOME/bin/langpacks/installer``. For the name of the panel you just use the pack id as the txt id. For the description you use the pack id suffixed with .description.
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
<resources>
<res id="packsLang.xml_eng" src="i18n/myPacksLang.xml_eng"/>
</resources>
|
...