Message-ID: <2107195483.40934.1371632381289.JavaMail.email@example.com> Subject: Exported From Confluence MIME-Version: 1.0 Content-Type: multipart/related; boundary="----=_Part_40933_1999903240.1371632381289" ------=_Part_40933_1999903240.1371632381289 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Content-Location: file:///C:/exported.html
Q: I received notification mail of changed language fil= e. Why my modifications look different in my mail as I was edited in the ed= itor? There seem to be wrong characters.
A: First line in language XML file tells the encoding o= f the text. It could be for example "iso-8859-1", "utf-8&quo= t; and so on. When version system sends the notification mail the content m= ay not be in the same format as your modifications. In addition your mail p= rogram will view text with encoding which is in settings and it may differ = from language file encoding. You may change encoding for current viewed mai= l in some mail programs. Changing encoding to correct one should view text = with your language characters. Note that this change might not be permament= .
Q: I have made XML file with UTF-8 encoding. Why it has= extra characters beginning of the file? Another problem may occure too: s= ome panes won't be shown.
A: You should use encoding aware editor and save it wit= hout BOM (Byter Order Mark). XML parser which IzPack is using at this mom= ent won't work correct with BOM.
In order to have correct encoding to work add following line in very be= ginning of IzPack XML files:
and save them without byte order mark. If you use this for all other en= codings too, some editors will warn you if you are adding characters which= won't be able to be encoded with current encoding setting. There is alway= s encoding in language pack files. See them too.
Don't use Windows Notepad.exe editor because it automatically adds BOM = into the file when it is encoded with UTF-8. Here is just brief list of th= e editors which will handle encodings:
Open Source editors:
Q: How can I execute the a package installer on Mac OSX= from IzPack?
A: You can include a shell script with your IzPack inst= aller that mounts a dmg, then launches the installer within it. The shell = script looks something like this:
To execute the shell script from within a <pack> in your install.x= ml file, use the following lines:
The <parsable> line replaces the $INSTALL_PATH token in your shell= script so that IzPack can call the shell script. The <file> line co= pies the actual dmg to your installation path. The first <executable>= ; line makes the shell script executable (i.e. chmod a+rx). The second <= ;executable> line executes the shell script. This code assumes you've n= amed your shellscript 'loaddmg.sh'. When you run your installer, you shoul= d see the external installer launch at the end of your installers execution= .
Q: How can I get more debug output from an installer? A: You can execute the installer with the following comman= d to get a full debug stream from IzPack:
Q: How can I debug an uninstaller as it launches itself=
several times to remove file locks and hence we get no console output?
A: See the solution proposed by Christian d'Heureuse at http://jira.codehaus.org/browse/IZPACK-331