Packaging

Version 1 (Severine Gedzelman, 03/04/2015 02:39 pm)

1 1 Severine Gedzelman
h1. Packaging
2 1 Severine Gedzelman
3 1 Severine Gedzelman
h2. Téléchargement de IzPack
4 1 Severine Gedzelman
5 1 Severine Gedzelman
h2. Customization de l'installeur
6 1 Severine Gedzelman
7 1 Severine Gedzelman
Copier les éléments d'Izpack dans un autre dossier, ex: /Applications/IzpackHM/
8 1 Severine Gedzelman
9 1 Severine Gedzelman
Ce dossier "IzpackHM" doit contenir au minimum :
10 1 Severine Gedzelman
** le dossier doc/ (par exemple les différents fichiers hmtl et le sous-dossier img/)
11 1 Severine Gedzelman
** le dossier src/ avec laa hiérarchie de dossiers correspondant au préfixe des packages java d'hypermachiavel : fr/triangle/hyperalign
12 1 Severine Gedzelman
** les fichiers :
13 1 Severine Gedzelman
*** 
14 1 Severine Gedzelman
***
15 1 Severine Gedzelman
16 1 Severine Gedzelman
Pour compiler cette installeur avec Izpack, voici 
17 1 Severine Gedzelman
18 1 Severine Gedzelman
<code><pre>
19 1 Severine Gedzelman
./bin/compile install.xml -b /Applications/IzpackHM/
20 1 Severine Gedzelman
</pre></code>
21 1 Severine Gedzelman
22 1 Severine Gedzelman
Quand tout se passe bien :
23 1 Severine Gedzelman
<code><pre>
24 1 Severine Gedzelman
.::  IzPack - Version 4.3.5 ::.
25 1 Severine Gedzelman
26 1 Severine Gedzelman
< compiler specifications version: 1.0 >
27 1 Severine Gedzelman
28 1 Severine Gedzelman
- Copyright (c) 2001-2008 Julien Ponge
29 1 Severine Gedzelman
- Visit http://izpack.org/ for the latest releases
30 1 Severine Gedzelman
- Released under the terms of the Apache Software License version 2.0.
31 1 Severine Gedzelman
32 1 Severine Gedzelman
-> Processing  : install.xml
33 1 Severine Gedzelman
-> Output      : install.jar
34 1 Severine Gedzelman
-> Base path   : /Applications/IzpackHM/
35 1 Severine Gedzelman
-> Kind        : standard
36 1 Severine Gedzelman
-> Compression : default
37 1 Severine Gedzelman
-> Compr. level: -1
38 1 Severine Gedzelman
-> IzPack home : /Applications/IzpackHM
39 1 Severine Gedzelman
40 1 Severine Gedzelman
Adding resource: IzPack.uninstaller
41 1 Severine Gedzelman
Setting the installer information
42 1 Severine Gedzelman
Setting the GUI preferences
43 1 Severine Gedzelman
Adding langpack: eng
44 1 Severine Gedzelman
Adding resource: flag.eng
45 1 Severine Gedzelman
Adding langpack: fra
46 1 Severine Gedzelman
Adding resource: flag.fra
47 1 Severine Gedzelman
Adding langpack: ita
48 1 Severine Gedzelman
Adding resource: flag.ita
49 1 Severine Gedzelman
Adding resource: InfoPanel.info
50 1 Severine Gedzelman
Adding resource: Installer.mac
51 1 Severine Gedzelman
Adding resource: Installer.windows
52 1 Severine Gedzelman
Adding resource: LicencePanel.licence
53 1 Severine Gedzelman
Adding content of jar: file:/Applications/IzpackHM/lib/standalone-compiler.jar!/bin/panels/HelloPanel.jar
54 1 Severine Gedzelman
Adding content of jar: file:/Applications/IzpackHM/lib/standalone-compiler.jar!/bin/panels/InfoPanel.jar
55 1 Severine Gedzelman
Adding content of jar: file:/Applications/IzpackHM/lib/standalone-compiler.jar!/bin/panels/LicencePanel.jar
56 1 Severine Gedzelman
Adding content of jar: file:/Applications/IzpackHM/lib/standalone-compiler.jar!/bin/panels/TargetPanel.jar
57 1 Severine Gedzelman
Adding content of jar: file:/Applications/IzpackHM/lib/standalone-compiler.jar!/bin/panels/PacksPanel.jar
58 1 Severine Gedzelman
Adding content of jar: file:/Applications/IzpackHM/lib/standalone-compiler.jar!/bin/panels/InstallPanel.jar
59 1 Severine Gedzelman
Building installer jar: /Applications/IzpackHM/install.jar
60 1 Severine Gedzelman
[ Begin ]
61 1 Severine Gedzelman
62 1 Severine Gedzelman
Copying the skeleton installer
63 1 Severine Gedzelman
Copying 11 files into installer
64 1 Severine Gedzelman
Merging 6 jars into installer
65 1 Severine Gedzelman
Writing 3 Packs into installer
66 1 Severine Gedzelman
Writing Pack 0: Base
67 1 Severine Gedzelman
Writing Pack 1: Docs
68 1 Severine Gedzelman
Writing Pack 2: Sources
69 1 Severine Gedzelman
70 1 Severine Gedzelman
[ End ]
71 1 Severine Gedzelman
Build time: Wed Mar 04 14:34:54 CET 2015
72 1 Severine Gedzelman
</pre></code>