1) Added missing strings for italic, underline and strike through.
[phpeclipse.git] / build / customTargets.xml
1 <project name="Build specific targets and properties" default="noDefault">
2
3         <!-- ===================================================================== -->
4         <!-- Run a given ${target} on all elements being built -->
5         <!-- Add on <ant> task for each top level element being built. -->
6         <!-- ===================================================================== -->
7         <property name="allElementsFile" value="allElements.xml" />
8         <import file="${allElementsFile}" />
9         <target name="allElements">
10                 <antcall target="allElementsDelegator" />
11         </target>
12
13         <!-- ===================================================================== -->
14         <!-- Fetch a base eclipse environment matching your local (linux/mac/win)  -->
15         <!-- os/ws to use in the build. only for linux/gtk/x86, win32 and macosx   -->
16         <!-- this is used to bootstrap the build and guarantee that the build      -->
17         <!-- runs against the correct version of Eclipse                           -->
18         <!-- ===================================================================== -->
19         <target name="getBaseComponents" depends="checkLocalBase" unless="skipBase">
20                 <condition property="download.extension" value="win32.zip">
21                         <os family="windows" />
22                 </condition>
23                 <condition property="download.extension" value="macosx-carbon.tar.gz">
24                         <and>
25                                 <os family="mac" />
26                                 <os family="unix" />
27                         </and>
28                 </condition>
29                 <condition property="download.extension" value="linux-gtk.tar.gz">
30                         <and>
31                                 <not>
32                                         <os family="mac" />
33                                 </not>
34                                 <os family="unix" />
35                         </and>
36                 </condition>
37
38                 <property name="eclipseURL" value="http://download.eclipse.org/eclipse/downloads/drops" />
39                 <property name="eclipseBaseURL" value="${eclipseURL}/${eclipseBuildId}/eclipse-platform-${eclipseBuildId}-${download.extension}" />
40
41                 <get usetimestamp="true" src="${eclipseBaseURL}" dest="${buildDirectory}/downloads/eclipse-platform-${eclipseBuildId}-${download.extension}" />
42                 <unzip dest="${base}" overwrite="true" src="${buildDirectory}/downloads/eclipse-platform-${eclipseBuildId}-${download.extension}" />
43         </target>
44
45         <target name="checkLocalBase">
46                 <available file="${base}" property="skipBase" />
47         </target>
48
49         <!-- ===================================================================== -->
50         <!-- Check out map files from correct repository -->
51         <!-- Replace values for mapsCheckoutTag as desired. -->
52         <!-- ===================================================================== -->
53         <target name="getMapFiles" depends="checkLocalMaps" unless="skipMaps">
54                 <property name="mapsCheckoutTag" value="HEAD" />
55                 <cvs cvsRoot="${mapsRepo}" package="${mapsRoot}" dest="${buildDirectory}/maps" tag="${mapsCheckoutTag}" />
56         </target>
57
58         <target name="checkLocalMaps">
59                 <available property="skipMaps" file="${buildDirectory}/maps" />
60         </target>
61
62         <target name="tagMapFiles" if="tagMaps">
63                 <cvs dest="${buildDirectory}/maps/${mapsRoot}" command="tag ${mapsTagTag}" />
64         </target>
65
66         <!-- ===================================================================== -->
67
68         <target name="clean" unless="noclean">
69                 <antcall target="allElements">
70                         <param name="target" value="cleanElement" />
71                 </antcall>
72         </target>
73
74         <target name="gatherLogs">
75                 <mkdir dir="${buildDirectory}/${buildLabel}/compilelogs" />
76                 <antcall target="allElements">
77                         <param name="target" value="gatherLogs" />
78                 </antcall>
79                 <unzip dest="${buildDirectory}/${buildLabel}/compilelogs" overwrite="true">
80                         <fileset dir="${buildDirectory}/features">
81                                 <include name="**/*.log.zip" />
82                         </fileset>
83                 </unzip>
84         </target>
85
86         <!-- ===================================================================== -->
87         <!-- Steps to do before setup -->
88         <!-- ===================================================================== -->
89         <target name="preSetup">
90         </target>
91
92         <!-- ===================================================================== -->
93         <!-- Steps to do after setup but before starting the build proper -->
94         <!-- ===================================================================== -->
95         <target name="postSetup">
96                 <antcall target="getBaseComponents" />
97         </target>
98
99         <!-- ===================================================================== -->
100         <!-- Steps to do before fetching the build elements -->
101         <!-- ===================================================================== -->
102         <target name="preFetch">
103         </target>
104
105         <!-- ===================================================================== -->
106         <!-- Steps to do after fetching the build elements -->
107         <!-- ===================================================================== -->
108         <target name="postFetch">
109         </target>
110
111         <!-- ===================================================================== -->
112         <!-- Steps to do before generating the build scripts. -->
113         <!-- ===================================================================== -->
114         <target name="preGenerate">
115         </target>
116
117         <!-- ===================================================================== -->
118         <!-- Steps to do after generating the build scripts. -->
119         <!-- ===================================================================== -->
120         <target name="postGenerate">
121                 <antcall target="clean" />
122         </target>
123
124         <!-- ===================================================================== -->
125         <!-- Steps to do before running the build.xmls for the elements being built. -->
126         <!-- ===================================================================== -->
127         <target name="preProcess">
128         </target>
129
130         <!-- ===================================================================== -->
131         <!-- Steps to do after running the build.xmls for the elements being built. -->
132         <!-- ===================================================================== -->
133         <target name="postProcess">
134         </target>
135
136         <!-- ===================================================================== -->
137         <!-- Steps to do before running assemble. -->
138         <!-- ===================================================================== -->
139         <target name="preAssemble">
140         </target>
141
142         <!-- ===================================================================== -->
143         <!-- Steps to do after  running assemble. -->
144         <!-- ===================================================================== -->
145         <target name="postAssemble">
146         </target>
147
148         <!-- ===================================================================== -->
149         <!-- Steps to do before running package. -->
150         <!-- ===================================================================== -->
151         <target name="prePackage">
152         </target>
153
154         <!-- ===================================================================== -->
155         <!-- Steps to do after  running package. -->
156         <!-- ===================================================================== -->
157         <target name="postPackage">
158         </target>
159
160         <!-- ===================================================================== -->
161         <!-- Steps to do after the build is done. -->
162         <!-- ===================================================================== -->
163         <target name="postBuild">
164                 <antcall target="gatherLogs" />
165         </target>
166
167         <!-- ===================================================================== -->
168         <!-- Steps to do to test the build results -->
169         <!-- ===================================================================== -->
170         <target name="test">
171         </target>
172
173         <!-- ===================================================================== -->
174         <!-- Steps to do to publish the build results -->
175         <!-- ===================================================================== -->
176         <target name="publish">
177         </target>
178
179         <!-- ===================================================================== -->
180         <!-- Default target                                                        -->
181         <!-- ===================================================================== -->
182         <target name="noDefault">
183                 <echo message="You must specify a target when invoking this file" />
184         </target>
185
186 </project>