blob: 61aca8591dc1c526432d2a84075f180b0d64f418 [file] [log] [blame]
Stephan Herrmann7b7062f2010-04-01 19:56:59 +00001<?xml version="1.0" encoding="UTF-8"?> <!--
2 Copyright (c) 2006, 2009 IBM Corporation and others.
3 All rights reserved. This program and the accompanying materials
4 are made available under the terms of the Eclipse Public License v1.0
5 which accompanies this distribution, and is available at
6 http://www.eclipse.org/legal/epl-v10.html
7
8 Contributors:
9 IBM Corporation - initial API and implementation
10 -->
11
12<!-- ===================================================================== -->
13<!-- Custom targets called from a project's generated build.xml -->
14<!-- Set customBuildCallbacks=<path/to/this/file> in your build.properties.-->
15<!-- ===================================================================== -->
16<project name="Build specific targets and properties" default="noDefault">
17
18 <!-- ===================================================================== -->
19 <!-- Default target -->
20 <!-- ===================================================================== -->
21 <target name="noDefault">
22 <echo message="This file must be called with explicit targets" />
23 </target>
24
25 <!-- ===================================================================== -->
26 <!-- Steps to do before the target build.jars -->
27 <!-- Available parameters : -->
28 <!-- build.result.folder - folder to contain the build results -->
29 <!-- ===================================================================== -->
30 <target name="pre.build.jars">
31 </target>
32
33 <!-- ===================================================================== -->
34 <!-- Steps to do after the target build.jars -->
35 <!-- Available parameters : -->
36 <!-- build.result.folder - folder to contain the build results -->
37 <!-- ===================================================================== -->
Stephan Herrmann6f85de92010-06-09 12:29:32 +000038 <target name="post.build.jars"> <!-- SH for OT: if we are running within a full build, fetch the build labels: --> <property file="${basedir}/../../label.properties"/> <!-- HS --> <property name="buildLabel" value="global" />
Stephan Herrmann7b7062f2010-04-01 19:56:59 +000039 <property name="build.result.folder" value="${basedir}" />
40 <property name="postingDirectory" value="${build.result.folder}/ecj" />
41 <property name="dest" value="${postingDirectory}/${buildLabel}" />
42 <ant antfile="${basedir}/scripts/export-ecj.xml" target="export"/>
43 </target>
44
45 <!-- ===================================================================== -->
46 <!-- Steps to do before the target build.sources -->
47 <!-- Available parameters : -->
48 <!-- build.result.folder - folder to contain the build results -->
49 <!-- ===================================================================== -->
50 <target name="pre.build.sources">
51 </target>
52
53 <!-- ===================================================================== -->
54 <!-- Steps to do after the target build.sources -->
55 <!-- Available parameters : -->
56 <!-- build.result.folder - folder to contain the build results -->
57 <!-- ===================================================================== -->
58 <target name="post.build.sources">
59 </target>
60
61 <!-- ===================================================================== -->
62 <!-- Steps to do before the compilation target <name> -->
63 <!-- Substitute "name" with the name of the compilation target, eg @dot -->
64 <!-- Available parameters : -->
65 <!-- source.foldern : n = 1 ... N, the source folders -->
66 <!-- target.folder : where the results of the compilation go -->
67 <!-- <name>.classpath : name = name of the compilation target. A -->
68 <!-- reference to the classpath structure. -->
69 <!-- ===================================================================== -->
70 <target name="pre.name">
71 </target>
72
73 <target name="pre.@dot">
74 </target>
75
76 <!-- ===================================================================== -->
77 <!-- Steps to do during the compilation target <name>, after the compile -->
78 <!-- but before jaring. Substitute "name" with the name of the compilation-->
79 <!-- target, eg @dot -->
80 <!-- Available parameters : -->
81 <!-- source.foldern : n = 1 ... N, the source folders -->
82 <!-- target.folder : where the results of the compilation go -->
83 <!-- <name>.classpath : name = name of the compilation target. A -->
84 <!-- reference to the classpath structure. -->
85 <!-- ===================================================================== -->
86 <target name="post.compile.name">
87 </target>
88
89 <target name="post.compile.@dot">
90 <ant antfile="${basedir}/scripts/export-ecj.xml" target="extract-batch-compiler"/>
91 </target>
92
93 <!-- ===================================================================== -->
94 <!-- Steps to do after the compilation target <name> -->
95 <!-- Substitute "name" with the name of the compilation target, eg @dot -->
96 <!-- Available parameters : -->
97 <!-- jar.location - the location of the compilation results -->
98 <!-- <name>.classpath : name = name of the compilation target. A -->
99 <!-- reference to the classpath structure. -->
100 <!-- ===================================================================== -->
101 <target name="post.name">
102 </target>
103
104 <target name="post.@dot">
105 </target>
106
107 <!-- ===================================================================== -->
108 <!-- Steps to do before the target gather.bin.parts -->
109 <!-- Available parameters : -->
110 <!-- build.result.folder - folder containing the build results -->
111 <!-- target.folder - destination folder -->
112 <!-- ===================================================================== -->
113 <target name="pre.gather.bin.parts">
114 </target>
115
116 <!-- ===================================================================== -->
117 <!-- Steps to do after the target gather.bin.parts -->
118 <!-- Available parameters : -->
119 <!-- build.result.folder - folder containing the build results -->
120 <!-- target.folder - destination folder -->
121 <!-- ===================================================================== -->
122 <target name="post.gather.bin.parts">
123 </target>
124
125 <!-- ===================================================================== -->
126 <!-- Steps to do before the target gather.sources -->
127 <!-- Available parameters : -->
128 <!-- destination.temp.folder - destination folder -->
129 <!-- ===================================================================== -->
130 <target name="pre.gather.sources">
131 </target>
132
133 <!-- ===================================================================== -->
134 <!-- Steps to do after the target gather.sources -->
135 <!-- Available parameters : -->
136 <!-- destination.temp.folder - destination folder -->
137 <!-- ===================================================================== -->
138 <target name="post.gather.sources">
139 </target>
140
141 <!-- ===================================================================== -->
142 <!-- Steps to do before the target gather.logs -->
143 <!-- Available parameters : -->
144 <!-- destination.temp.folder - destination folder -->
145 <!-- ===================================================================== -->
146 <target name="pre.gather.logs">
147 </target>
148
149 <!-- ===================================================================== -->
150 <!-- Steps to do after the target gather.logs -->
151 <!-- Available parameters : -->
152 <!-- destination.temp.folder - destination folder -->
153 <!-- ===================================================================== -->
154 <target name="post.gather.logs">
155 </target>
156
157 <!-- ===================================================================== -->
158 <!-- Steps to do before the target clean -->
159 <!-- Available parameters : -->
160 <!-- destination.temp.folder - destination folder -->
161 <!-- ===================================================================== -->
162 <target name="pre.clean">
163 </target>
164
165 <!-- ===================================================================== -->
166 <!-- Steps to do after the target clean -->
167 <!-- Available parameters : -->
168 <!-- plugin.destination - final destination of the build -->
169 <!-- build.result.folder - results of the compilation -->
170 <!-- temp.folder - temporary folder -->
171 <!-- ===================================================================== -->
172 <target name="post.clean">
173 </target>
174
175 <!-- ===================================================================== -->
176 <!-- Steps to do before the target jdtCompilerAdapter.jar -->
177 <!-- ===================================================================== -->
178 <target name="pre.jdtCompilerAdapter.jar">
179 </target>
180
181 <!-- ===================================================================== -->
182 <!-- Steps to do after the target compile.jdtCompilerAdapter.jar -->
183 <!-- ===================================================================== -->
184 <target name="post.compile.jdtCompilerAdapter.jar">
185 <ant antfile="${basedir}/scripts/export-ecj.xml" target="extract-ant-adapter-compiler"/>
186 </target>
187
188 <!-- ===================================================================== -->
189 <!-- Steps to do after the target jdtCompilerAdapter.jar -->
190 <!-- ===================================================================== -->
191 <target name="post.jdtCompilerAdapter.jar">
192 </target>
193</project>