Statistics
| Revision:

root / trunk / install / IzPack / src / dtd / event / antaction.dtd @ 11445

History | View | Annotate | Download (3.14 KB)

1
<?xml version="1.0" encoding="iso-8859-1" ?>
2

    
3
<!--
4

    
5
        =====================================
6
        The DTD for the IzPack CustomActions
7
        AntActionInstallerListener and
8
        AntActionUninstallerListener
9
        =====================================
10
$Id: antaction.dtd 5819 2006-06-14 07:29:09Z cesar $
11
        
12
-->
13

    
14
<!-- The root element -->
15
<!ELEMENT antactions (pack*)>
16

    
17
<!--  -->
18
<!--  -->
19
    <!-- The pack sections. The names should be the same as the pack sections in
20
         the install xml file (see also installation.dtd). The defined actions 
21
         are performed only for packs which are selected for installation.
22
    -->
23
    <!ELEMENT pack (antcall+)>
24
        <!ATTLIST pack name CDATA #REQUIRED>
25
        <!-- The antcall section. It defines, what antcall to perform at what time
26
             of installation with what environment.
27
        -->
28
        <!ELEMENT antcall (property*, propertyfile*, target*, uninstall_target*)>
29
            <!-- Attribute order determine at what point of installation the antcalls
30
                 defined by ELEMENT target should be performed.
31
            -->
32
            <!ATTLIST antcall order (beforepack|afterpack|beforepacks|afterpacks) #REQUIRED>
33
            <!-- Attribute uninstall_order determine at what point of uninstallation 
34
                 the antcalls defined by ELEMENT uninstall_target should be performed.
35
            -->
36
            <!ATTLIST antcall uninstall_order (beforedeletion|afterdeletion) "beforedeletion">
37
            <!ATTLIST antcall quiet (yes|no) "no">
38
            <!ATTLIST antcall verbose (yes|no) "no">
39
            <!ATTLIST antcall logfile CDATA  #IMPLIED>
40
            <!-- ID of the message which should be displayed in the InstallPanel. The ID 
41
                 is related to the &lt;language&gt;.xml file.
42
			-->
43
            <!ATTLIST antcall messageid CDATA  #IMPLIED>
44
            <!-- Path of the file which contains the antcall. -->
45
            <!ATTLIST antcall buildfile CDATA #REQUIRED>
46
            <!-- Properties to be used with all targets and uninstall_targets 
47
                 which are defined for this antcall.
48
            -->
49
            <!ELEMENT property EMPTY>
50
                <!ATTLIST property name CDATA #REQUIRED>
51
                <!ATTLIST property value CDATA #REQUIRED>
52
            <!-- Properties to be used with all targets and uninstall_targets 
53
                 which are defined for this antcall given by the path of a properties
54
                 file..
55
            -->
56
            <!ELEMENT propertyfile EMPTY>
57
                <!ATTLIST propertyfile path CDATA #REQUIRED>
58
            <!-- Targets to perform with this antcall at installation time.
59
                 The targets should be defined in the given buildfile, else an
60
                 ant exception will be raised.
61
            -->
62
            <!ELEMENT target EMPTY>
63
                <!ATTLIST target name CDATA #REQUIRED>
64
            <!-- Targets to perform with this antcall at uninstallation time.
65
                 The targets should be defined in the given buildfile, else an
66
                 ant exception will be raised.
67
            -->
68
            <!ELEMENT uninstall_target EMPTY>
69
                <!ATTLIST uninstall_target name CDATA #IMPLIED>
70

    
71