svn-gvsig-desktop / branches / F2 / extensions / extJCRS / install / IzPack / src / dtd / installation.dtd @ 20036
History | View | Annotate | Download (6.59 KB)
1 |
<?xml version="1.0" encoding="iso-8859-1" ?> |
---|---|
2 |
|
3 |
<!-- |
4 |
|
5 |
===================================== |
6 |
The DTD for IzPack Installation Files |
7 |
===================================== |
8 |
$Id: installation.dtd 5819 2006-06-14 07:29:09Z cesar $ |
9 |
|
10 |
--> |
11 |
|
12 |
<!-- The root element --> |
13 |
<!ELEMENT installation (preinstall?, info, variables?, guiprefs?, locale, resources?, panels, |
14 |
listeners?, packs, jar*, native*, postinstall?)> |
15 |
<!ATTLIST installation version CDATA #REQUIRED> |
16 |
|
17 |
<!-- The info section (general information on an installation) --> |
18 |
<!ELEMENT info (appname, appversion, appsubpath?, authors?, url?, javaversion?, uninstaller?, webdir?)> |
19 |
<!ELEMENT appname (#PCDATA)> |
20 |
<!ELEMENT appversion (#PCDATA)> |
21 |
<!ELEMENT appsubpath (#PCDATA)> |
22 |
<!ELEMENT authors (author*)> |
23 |
<!ELEMENT author EMPTY> |
24 |
<!ATTLIST author name CDATA #REQUIRED> |
25 |
<!ATTLIST author email CDATA #REQUIRED> |
26 |
<!ELEMENT url (#PCDATA)> |
27 |
<!ELEMENT javaversion (#PCDATA)> |
28 |
<!ELEMENT uninstaller EMPTY> |
29 |
<!ATTLIST uninstaller write (yes|no) "yes"> |
30 |
<!ELEMENT webdir (#PCDATA)> |
31 |
|
32 |
<!-- The variables markup (variable declarations ) --> |
33 |
<!ELEMENT variables (variable*)> |
34 |
<!ELEMENT variable EMPTY> |
35 |
<!ATTLIST variable name CDATA #REQUIRED> |
36 |
<!ATTLIST variable value CDATA #REQUIRED> |
37 |
|
38 |
|
39 |
<!-- The guiprefs markup (customizes the installer in GUI mode) --> |
40 |
<!ELEMENT guiprefs (laf*, modifier*)> |
41 |
<!ATTLIST guiprefs resizable (yes|no) #REQUIRED> |
42 |
<!ATTLIST guiprefs width CDATA #REQUIRED> |
43 |
<!ATTLIST guiprefs height CDATA #REQUIRED> |
44 |
<!ELEMENT laf (os+, param*)> |
45 |
<!ATTLIST laf name CDATA #REQUIRED> |
46 |
<!ELEMENT param EMPTY> |
47 |
<!ATTLIST param |
48 |
name CDATA #REQUIRED |
49 |
value CDATA #REQUIRED> |
50 |
<!-- Well defined modifier for gui characteristics. |
51 |
Possible keys are "useButtonIcons" and |
52 |
"useLabelIcons" both with value "yes" or "no". |
53 |
--> |
54 |
<!ELEMENT modifier EMPTY> |
55 |
<!ATTLIST modifier key CDATA #REQUIRED> |
56 |
<!ATTLIST modifier value CDATA #REQUIRED> |
57 |
|
58 |
|
59 |
<!-- The locale section (indicates which langpacks to include) --> |
60 |
<!ELEMENT locale (langpack+)> |
61 |
<!ELEMENT langpack EMPTY> |
62 |
<!ATTLIST langpack iso3 CDATA #REQUIRED> |
63 |
|
64 |
<!-- The resources section (resources for the panel's usings) --> |
65 |
<!ELEMENT resources (res*)> |
66 |
<!ELEMENT res EMPTY> |
67 |
<!ATTLIST res src CDATA #REQUIRED> |
68 |
<!ATTLIST res id CDATA #REQUIRED> |
69 |
<!ATTLIST res parse (yes|no) "no"> |
70 |
<!ATTLIST res type CDATA "plain"> |
71 |
<!ATTLIST res encoding CDATA #IMPLIED> |
72 |
|
73 |
<!-- The panels section (indicates the panels to use) --> |
74 |
<!ELEMENT panels (panel+)> |
75 |
<!ELEMENT panel EMPTY> |
76 |
<!ATTLIST panel classname CDATA #REQUIRED> |
77 |
|
78 |
<!-- The listener section (indicates which listener where to use) --> |
79 |
<!ELEMENT listeners (listener*)> |
80 |
<!ELEMENT listener ( os*)> |
81 |
<!ATTLIST listener compiler CDATA #IMPLIED> |
82 |
<!ATTLIST listener installer CDATA #IMPLIED> |
83 |
<!ATTLIST listener uninstaller CDATA #IMPLIED> |
84 |
|
85 |
<!-- The packs section (indicates the packs to create) --> |
86 |
<!ELEMENT packs (pack+)> |
87 |
<!ELEMENT pack (description, os*, file*, singlefile*, fileset*, updatecheck?, parsable*, executable*, depends*)> |
88 |
<!ATTLIST pack name CDATA #REQUIRED> |
89 |
<!ATTLIST pack id CDATA #IMPLIED> |
90 |
<!ATTLIST pack required (yes|no) #REQUIRED> |
91 |
<!ATTLIST pack preselected (yes|no) "yes"> |
92 |
<!ATTLIST pack os CDATA #IMPLIED> |
93 |
<!ATTLIST pack loose (true|false) "false"> |
94 |
<!ELEMENT description (#PCDATA)> |
95 |
<!ELEMENT file (os*, additionaldata*)> |
96 |
<!ATTLIST file src CDATA #REQUIRED> |
97 |
<!ATTLIST file targetdir CDATA #REQUIRED> |
98 |
<!ATTLIST file os (unix|windows|mac) #IMPLIED> |
99 |
<!ATTLIST file override (true|false|asktrue|askfalse|update) "update"> |
100 |
<!ELEMENT singlefile (os*, additionaldata*)> |
101 |
<!ATTLIST singlefile src CDATA #REQUIRED> |
102 |
<!ATTLIST singlefile target CDATA #REQUIRED> |
103 |
<!ATTLIST singlefile os (unix|windows|mac) #IMPLIED> |
104 |
<!ATTLIST singlefile override (true|false|asktrue|askfalse|update) "update"> |
105 |
<!ELEMENT fileset (include*, exclude*, os*, additionaldata*)> |
106 |
<!ATTLIST fileset dir CDATA #REQUIRED> |
107 |
<!ATTLIST fileset targetdir CDATA #REQUIRED> |
108 |
<!ATTLIST fileset casesensitive (yes|no) "yes"> |
109 |
<!ATTLIST fileset defaultexcludes (yes|no) "yes"> |
110 |
<!ATTLIST fileset os (unix|windows|mac) #IMPLIED> |
111 |
<!ATTLIST fileset override (true|false|asktrue|askfalse|update) "update"> |
112 |
<!ATTLIST fileset includes CDATA #IMPLIED> |
113 |
<!ATTLIST fileset excludes CDATA #IMPLIED> |
114 |
<!ELEMENT include EMPTY> |
115 |
<!ATTLIST include name CDATA #REQUIRED> |
116 |
<!ELEMENT exclude EMPTY> |
117 |
<!ATTLIST exclude name CDATA #REQUIRED> |
118 |
<!ELEMENT additionaldata EMPTY> |
119 |
<!ATTLIST additionaldata key CDATA #REQUIRED> |
120 |
<!ATTLIST additionaldata value CDATA #REQUIRED> |
121 |
<!ELEMENT parsable (os*)> |
122 |
<!ATTLIST parsable targetfile CDATA #REQUIRED> |
123 |
<!ATTLIST parsable type CDATA "plain"> |
124 |
<!ATTLIST parsable encoding CDATA #IMPLIED> |
125 |
<!ATTLIST parsable os (unix|windows|mac) #IMPLIED> |
126 |
<!ELEMENT executable (args?, os*)> |
127 |
<!ATTLIST executable targetfile CDATA #IMPLIED> |
128 |
<!ATTLIST executable class CDATA #IMPLIED> |
129 |
<!ATTLIST executable type (bin|jar) "bin"> |
130 |
<!ATTLIST executable stage (postinstall|never|uninstall) "never"> |
131 |
<!ATTLIST executable failure (abort|warn|ask) "ask"> |
132 |
<!ATTLIST executable keep (true|false) "false"> |
133 |
<!ELEMENT args (arg+)> |
134 |
<!ELEMENT arg EMPTY> |
135 |
<!ATTLIST arg value CDATA #REQUIRED> |
136 |
<!ELEMENT os EMPTY> |
137 |
<!ATTLIST os family (unix|windows|mac) #REQUIRED> |
138 |
<!ATTLIST os name CDATA #IMPLIED> |
139 |
<!ATTLIST os version CDATA #IMPLIED> |
140 |
<!ATTLIST os arch CDATA #IMPLIED> |
141 |
<!ELEMENT updatecheck (include*, exclude*)> |
142 |
<!ELEMENT depends EMPTY> |
143 |
<!ATTLIST depends packname CDATA #REQUIRED> |
144 |
|
145 |
<!-- Allows the inclusion in the installer or uninstaller of a native library --> |
146 |
<!ELEMENT native (os*)> |
147 |
<!ATTLIST native type (izpack|3rdparty) #REQUIRED> |
148 |
<!ATTLIST native name CDATA #REQUIRED> |
149 |
<!ATTLIST native stage (install|uninstall|both) "install"> |
150 |
|
151 |
<!-- Allows the inclusion in the installer of an additional jar file content --> |
152 |
<!ELEMENT jar EMPTY> |
153 |
<!ATTLIST jar src CDATA #REQUIRED> |
154 |
<!ATTLIST jar stage (install|uninstall|both) "install"> |