1
<?xml version="1.0" encoding="UTF-8"?>
2
<project name="org.eclipse.linuxtools.changelog.ui.tests" default="build.jars" basedir=".">
4
<property name="p2.build.repo" value="file:${buildDirectory}/buildRepo"/>
5
<property name="basews" value="${ws}"/>
6
<property name="baseos" value="${os}"/>
7
<property name="basearch" value="${arch}"/>
8
<property name="basenl" value="${nl}"/>
9
<property name="bundleId" value="org.eclipse.linuxtools.changelog.ui.tests"/>
10
<property name="bundleVersion" value="2.7.0.201101171503"/>
11
<property name="p2.publishonerror" value="false"/>
13
<!-- Compiler settings. -->
14
<property name="javacFailOnError" value="false"/>
15
<property name="javacDebugInfo" value="on"/>
16
<property name="javacVerbose" value="false"/>
17
<property name="logExtension" value=".log"/>
18
<property name="compilerArg" value=""/>
19
<property name="compilation.prereq.log" value="${buildDirectory}/prereqErrors.log"/>
20
<property name="javacSource" value="1.3"/>
21
<property name="javacTarget" value="1.2"/>
22
<condition property="dir_bootclasspath" value="${java.home}/../Classes">
25
<property name="dir_bootclasspath" value="${java.home}/lib"/>
26
<path id="path_bootclasspath">
27
<fileset dir="${dir_bootclasspath}">
28
<include name="*.jar"/>
31
<property name="bootclasspath" refid="path_bootclasspath"/>
32
<condition property="bundleBootClasspath" value="${J2SE-1.5}" >
33
<isset property="J2SE-1.5"/>
35
<condition property="bundleJavacSource" value="1.5" >
36
<isset property="J2SE-1.5"/>
38
<condition property="bundleJavacTarget" value="1.5" >
39
<isset property="J2SE-1.5"/>
41
<condition property="bundleBootClasspath" value="${JavaSE-1.6}" >
42
<isset property="JavaSE-1.6"/>
44
<condition property="bundleJavacSource" value="1.6" >
45
<isset property="JavaSE-1.6"/>
47
<condition property="bundleJavacTarget" value="1.6" >
48
<isset property="JavaSE-1.6"/>
50
<property name="bundleJavacSource" value="${javacSource}"/>
51
<property name="bundleJavacTarget" value="${javacTarget}"/>
52
<property name="bundleBootClasspath" value="${bootclasspath}"/>
54
<target name="init" depends="properties">
55
<condition property="pluginTemp" value="${buildTempFolder}/plugins" >
56
<isset property="buildTempFolder"/>
58
<property name="pluginTemp" value="${basedir}"/>
59
<condition property="build.result.folder" value="${pluginTemp}/org.eclipse.linuxtools.changelog.ui.tests_2.7.0.201101171503" >
60
<isset property="buildTempFolder"/>
62
<property name="build.result.folder" value="${basedir}"/>
63
<property name="temp.folder" value="${basedir}/temp.folder"/>
64
<property name="plugin.destination" value="${basedir}"/>
65
<condition property="p2.publish.parts" value="true" >
66
<istrue value="${p2.gathering}"/>
68
<property name="compilation.problem.marker" value="${build.result.folder}/compilation.problem"/>
69
<condition property="compilation.problem.marker.exists" value="true" >
71
<available file="${compilation.problem.marker}"/>
72
<isfalse value="p2.publishonerror"/>
77
<target name="properties" if="eclipse.running">
78
<property name="build.compiler" value="org.eclipse.jdt.core.JDTCompilerAdapter"/>
82
<target name="build.update.jar" depends="init" description="Build the plug-in: org.eclipse.linuxtools.changelog.ui.tests for an update site.">
83
<delete dir="${temp.folder}"/>
84
<mkdir dir="${temp.folder}"/>
85
<antcall target="build.jars"/>
86
<antcall target="gather.bin.parts">
87
<param name="destination.temp.folder" value="${temp.folder}/"/>
89
<jar destfile="${plugin.destination}/org.eclipse.linuxtools.changelog.ui.tests_2.7.0.201101171503.jar" basedir="${temp.folder}/org.eclipse.linuxtools.changelog.ui.tests_2.7.0.201101171503" filesetmanifest="merge"/>
90
<delete dir="${temp.folder}"/>
93
<target name="@dot" depends="init" unless="@dot" description="Create jar: org.eclipse.linuxtools.changelog.ui.tests @dot.">
94
<delete dir="${build.result.folder}/@dot"/>
95
<mkdir dir="${build.result.folder}/@dot"/>
96
<path id="@dot.classpath">
97
<pathelement path="../../helios/eclipse/plugins/org.eclipse.core.resources_3.6.0.v20100526-0737.jar"/>
98
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ant.core_3.2.200.v20100427.jar"/>
99
<pathelement path="../../helios/eclipse/plugins/org.eclipse.core.variables_3.2.400.v20100505.jar"/>
100
<pathelement path="../../helios/eclipse/plugins/org.eclipse.core.runtime_3.6.0.v20100505.jar"/>
101
<pathelement path="../../helios/eclipse/plugins/org.eclipse.osgi_3.6.0.v20100517.jar"/>
102
<pathelement path="../../helios/eclipse/plugins/org.eclipse.equinox.common_3.6.0.v20100503.jar"/>
103
<pathelement path="../../helios/eclipse/plugins/org.eclipse.core.jobs_3.5.0.v20100515.jar"/>
104
<pathelement path="../../helios/eclipse/plugins/org.eclipse.core.runtime.compatibility.registry_3.3.0.v20100520/runtime_registry_compatibility.jar"/>
105
<pathelement path="../../helios/eclipse/plugins/org.eclipse.core.runtime.compatibility.registry_3.3.0.v20100520"/>
106
<pathelement path="../../helios/eclipse/plugins/org.eclipse.equinox.registry_3.5.0.v20100503.jar"/>
107
<pathelement path="../../helios/eclipse/plugins/org.eclipse.equinox.preferences_3.3.0.v20100503.jar"/>
108
<pathelement path="../../helios/eclipse/plugins/org.eclipse.core.contenttype_3.4.100.v20100505-1235.jar"/>
109
<pathelement path="../../helios/eclipse/plugins/org.eclipse.core.runtime.compatibility.auth_3.2.200.v20100517.jar"/>
110
<pathelement path="../../helios/eclipse/plugins/org.eclipse.equinox.app_1.3.0.v20100512.jar"/>
111
<pathelement path="../../helios/eclipse/plugins/org.eclipse.osgi.services_3.2.100.v20100503.jar"/>
112
<pathelement path="../../helios/eclipse/plugins/javax.servlet_2.5.0.v200910301333.jar"/>
113
<pathelement path="../../helios/eclipse/plugins/org.eclipse.core.expressions_3.4.200.v20100505.jar"/>
114
<pathelement path="../../helios/eclipse/plugins/org.eclipse.core.filesystem_1.3.0.v20100526-0737.jar"/>
115
<pathelement path="../../helios/eclipse/plugins/org.eclipse.core.filesystem.linux.x86_1.4.0.v20100505-1235.jar"/>
116
<pathelement path="../org.eclipse.linuxtools.changelog.tests/bin/"/>
117
<pathelement path="../org.eclipse.linuxtools.changelog.tests/@dot"/>
118
<pathelement path="../org.eclipse.cdt.core/bin"/>
119
<pathelement path="../org.eclipse.cdt.core/@dot"/>
120
<pathelement path="../org.eclipse.cdt.core.linux.x86/@dot"/>
121
<pathelement path="../org.eclipse.cdt.core.linux/bin"/>
122
<pathelement path="../org.eclipse.cdt.core.linux/cdt_linux.jar"/>
123
<pathelement path="../org.eclipse.cdt.core.linux/@dot"/>
124
<pathelement path="../../helios/eclipse/plugins/com.ibm.icu_4.2.1.v20100412.jar"/>
125
<pathelement path="../../helios/eclipse/plugins/org.eclipse.text_3.5.0.v20100601-1300.jar"/>
126
<pathelement path="../../helios/eclipse/plugins/org.eclipse.core.commands_3.6.0.I20100512-1500.jar"/>
127
<pathelement path="../../helios/eclipse/plugins/org.eclipse.core.filebuffers_3.5.100.v20100520-0800.jar"/>
128
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ltk.core.refactoring_3.5.100.v20100526-0800.jar"/>
129
<pathelement path="../org.eclipse.cdt.managedbuilder.core/bin"/>
130
<pathelement path="../org.eclipse.cdt.managedbuilder.core/@dot"/>
131
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ui_3.6.0.I20100603-1100.jar"/>
132
<pathelement path="../../helios/eclipse/plugins/org.eclipse.swt_3.6.0.v3650b.jar"/>
133
<pathelement path="../../helios/eclipse/plugins/org.eclipse.swt.gtk.linux.x86_3.6.0.v3650b.jar"/>
134
<pathelement path="../../helios/eclipse/plugins/org.eclipse.jface_3.6.0.I20100601-0800.jar"/>
135
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ui.workbench_3.6.0.I20100603-1100.jar"/>
136
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ui.workbench.compatibility_3.2.100.I20100511-0800/compatibility.jar"/>
137
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ui.workbench.compatibility_3.2.100.I20100511-0800/e4-workbench.jar"/>
138
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ui.workbench.compatibility_3.2.100.I20100511-0800"/>
139
<pathelement path="../../helios/eclipse/plugins/org.eclipse.help_3.5.0.v20100524.jar"/>
140
<pathelement path="../../helios/eclipse/plugins/org.eclipse.jface.databinding_1.4.0.I20100601-0800.jar"/>
141
<pathelement path="../../helios/eclipse/plugins/org.eclipse.core.databinding.observable_1.3.0.I20100601-0800.jar"/>
142
<pathelement path="../../helios/eclipse/plugins/org.eclipse.core.databinding.property_1.3.0.I20100601-0800.jar"/>
143
<pathelement path="../../helios/eclipse/plugins/org.eclipse.core.databinding_1.3.100.I20100601-0800.jar"/>
144
<pathelement path="../org.eclipse.cdt.make.core/bin"/>
145
<pathelement path="../org.eclipse.cdt.make.core/@dot"/>
146
<pathelement path="../../helios/eclipse/plugins/org.eclipse.compare_3.5.100.I20100526-0800.jar"/>
147
<pathelement path="../../helios/eclipse/plugins/org.eclipse.jface.text_3.6.0.v20100526-0800.jar"/>
148
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ui.ide_3.6.0.I20100601-0800.jar"/>
149
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ui.views_3.5.0.I20100527-0800.jar"/>
150
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ui.forms_3.5.0.v20100427.jar"/>
151
<pathelement path="../../helios/eclipse/plugins/org.eclipse.equinox.p2.engine_2.0.0.v20100606.jar"/>
152
<pathelement path="../../helios/eclipse/plugins/org.eclipse.equinox.p2.core_2.0.0.v20100510.jar"/>
153
<pathelement path="../../helios/eclipse/plugins/org.eclipse.equinox.p2.metadata_2.0.0.v20100601.jar"/>
154
<pathelement path="../../helios/eclipse/plugins/org.eclipse.equinox.p2.repository_2.0.0.v20100519.jar"/>
155
<pathelement path="../../helios/eclipse/plugins/org.eclipse.equinox.security_1.0.200.v20100503.jar"/>
156
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ecf.filetransfer_4.0.0.v20100529-0735.jar"/>
157
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ecf_3.1.0.v20100529-0735.jar"/>
158
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ecf.ssl_1.0.0.v20100529-0735.jar"/>
159
<pathelement path="../../helios/eclipse/plugins/org.eclipse.equinox.concurrent_1.0.100.v20100503.jar"/>
160
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ecf.identity_3.1.0.v20100529-0735.jar"/>
161
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ecf.provider.filetransfer_3.1.0.v20100529-0735.jar"/>
162
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ecf.provider.filetransfer.ssl_1.0.0.v20100529-0735.jar"/>
163
<pathelement path="../../helios/eclipse/plugins/org.eclipse.core.net_1.2.100.I20100511-0800.jar"/>
164
<pathelement path="../../helios/eclipse/plugins/org.eclipse.core.net.linux.x86_1.1.0.I20100505-1245.jar"/>
165
<pathelement path="../../helios/eclipse/plugins/org.eclipse.equinox.p2.metadata.repository_1.1.0.v20100513.jar"/>
166
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ui.workbench.texteditor_3.6.0.v20100520-0800.jar"/>
167
<pathelement path="../../helios/eclipse/plugins/org.eclipse.compare.core_3.5.100.I20100526-0800.jar"/>
168
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ui.editors_3.6.0.v20100520-0800.jar"/>
169
<pathelement path="../../helios/eclipse/plugins/org.eclipse.jdt.core_3.6.0.v_A58.jar"/>
170
<pathelement path="../../helios/eclipse/plugins/org.eclipse.jdt.compiler.apt_1.0.300.v20100513-0845.jar"/>
171
<pathelement path="../../helios/eclipse/plugins/org.eclipse.jdt.compiler.tool_1.0.100.v_A58.jar"/>
172
<pathelement path="../../helios/eclipse/plugins/org.eclipse.team.core_3.5.100.I20100527-0800.jar"/>
173
<pathelement path="../../helios/eclipse/plugins/org.eclipse.jdt.launching_3.5.100.v20100526.jar"/>
174
<pathelement path="../../helios/eclipse/plugins/org.eclipse.debug.core_3.6.0.v20100519.jar"/>
175
<pathelement path="../../helios/eclipse/plugins/org.eclipse.jdt.debug_3.6.0.v20100526/jdi.jar"/>
176
<pathelement path="../../helios/eclipse/plugins/org.eclipse.jdt.debug_3.6.0.v20100526/jdimodel.jar"/>
177
<pathelement path="../../helios/eclipse/plugins/org.eclipse.jdt.debug_3.6.0.v20100526/tools.jar"/>
178
<pathelement path="../org.eclipse.linuxtools.changelog.core/bin/"/>
179
<pathelement path="../org.eclipse.linuxtools.changelog.core/@dot"/>
180
<pathelement path="../org.eclipse.linuxtools.changelog.cparser/bin"/>
181
<pathelement path="../org.eclipse.linuxtools.changelog.cparser/@dot"/>
182
<pathelement path="../org.eclipse.linuxtools.changelog.javaparser/bin/"/>
183
<pathelement path="../org.eclipse.linuxtools.changelog.javaparser/@dot"/>
184
<pathelement path="../../helios/eclipse/plugins/org.eclipse.team.ui_3.5.100.I20100527-0800.jar"/>
185
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ui.navigator_3.5.0.I20100601-0800.jar"/>
186
<pathelement path="../org.eclipse.cdt.ui/bin"/>
187
<pathelement path="../org.eclipse.cdt.ui/@dot"/>
188
<pathelement path="../../helios/eclipse/plugins/org.eclipse.search_3.6.0.v20100520-0800.jar"/>
189
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ltk.ui.refactoring_3.5.0.v20100526-0800.jar"/>
190
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ui.console_3.5.0.v20100526.jar"/>
191
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ui.navigator.resources_3.4.200.I20100601-0800.jar"/>
192
<pathelement path="../../helios/eclipse/plugins/org.eclipse.ui.views.properties.tabbed_3.5.100.I20100509-0800.jar"/>
193
<pathelement path="../../helios/eclipse/plugins/org.eclipse.jdt.ui_3.6.0.v20100602-1600.jar"/>
194
<pathelement path="../../helios/eclipse/plugins/org.eclipse.debug.ui_3.6.0.v20100601-1530.jar"/>
195
<pathelement path="../../helios/eclipse/plugins/org.eclipse.jdt.core.manipulation_1.3.0.v20100520-0800.jar"/>
196
<pathelement path="../../helios/eclipse/plugins/org.junit4_4.8.1.v20100525"/>
197
<pathelement path="../../helios/eclipse/plugins/org.hamcrest.core_1.1.0.v20090501071000.jar"/>
198
<pathelement path="../../helios/eclipse/plugins/org.junit_4.8.1.v4_8_1_v20100427-1100/junit.jar"/>
199
<pathelement path="../../helios/eclipse/plugins/org.eclipse.swtbot.eclipse.core_2.0.2.20110117_1743-b492ddb-dev-e36.jar"/>
200
<pathelement path="../../helios/eclipse/plugins/org.eclipse.jdt.junit.runtime_3.4.200.v20100526-0800.jar"/>
201
<pathelement path="../../helios/eclipse/plugins/org.eclipse.swtbot.eclipse.finder_2.0.2.20110117_1743-b492ddb-dev-e36.jar"/>
202
<pathelement path="../../helios/eclipse/plugins/org.apache.log4j_1.2.13.v200903072027.jar"/>
203
<pathelement path="../../helios/eclipse/plugins/org.hamcrest_1.1.0.v20090501071000.jar"/>
204
<pathelement path="../../helios/eclipse/plugins/org.hamcrest.library_1.1.0.v20090501071000.jar"/>
205
<pathelement path="../../helios/eclipse/plugins/org.hamcrest.integration_1.1.0.v20090501071000.jar"/>
206
<pathelement path="../../helios/eclipse/plugins/org.easymock_2.4.0.v20090202-0900.jar"/>
207
<pathelement path="../../helios/eclipse/plugins/org.hamcrest.text_1.1.0.v20090501071000.jar"/>
208
<pathelement path="../../helios/eclipse/plugins/org.eclipse.swtbot.swt.finder_2.0.2.20110117_1743-b492ddb-dev-e36.jar"/>
209
<pathelement path="../../helios/eclipse/plugins/org.eclipse.swtbot.junit4_x_2.0.2.20110117_1743-b492ddb-dev-e36.jar"/>
210
<pathelement path="../../helios/eclipse/plugins/org.eclipse.swtbot.go_2.0.2.20110117_1743-b492ddb-dev-e36.jar"/>
212
<!-- compile the source code -->
213
<javac destdir="${build.result.folder}/@dot" failonerror="${javacFailOnError}" verbose="${javacVerbose}" debug="${javacDebugInfo}" includeAntRuntime="no" bootclasspath="${bundleBootClasspath}" source="${bundleJavacSource}" target="${bundleJavacTarget}" >
214
<compilerarg line="${compilerArg}" compiler="${build.compiler}"/>
215
<classpath refid="@dot.classpath" />
217
<compilerarg value="@${basedir}/javaCompiler...args" compiler="org.eclipse.jdt.core.JDTCompilerAdapter" />
218
<compilerarg line="-log '${build.result.folder}/@dot${logExtension}'" compiler="org.eclipse.jdt.core.JDTCompilerAdapter" />
220
<antcall target="checkCompilationResults"/>
221
<!-- Copy necessary resources -->
222
<copy todir="${build.result.folder}/@dot" failonerror="true" overwrite="false">
224
<exclude name="**/*.java"/>
225
<exclude name="**/package.htm*"/>
230
<target name="src.zip" depends="init" unless="src.zip">
231
<mkdir dir="${build.result.folder}"/>
232
<antcall target="zip.src.zip"/>
234
<target name="zip.src.zip">
235
<zip destfile="${build.result.folder}/src.zip" filesonly="false" whenempty="skip" update="false">
237
<include name="**/*.java"/>
241
<target name="copy.src.zip">
242
<copy todir="${source.destination.folder}/" failonerror="true" overwrite="true">
244
<include name="**/*.java"/>
249
<target name="build.jars" depends="init" description="Compile classes and build nested jars for the plug-in: org.eclipse.linuxtools.changelog.ui.tests.">
250
<delete file="${compilation.problem.marker}" quiet="true"/>
251
<available property="@dot" file="${build.result.folder}/@dot"/>
252
<antcall target="@dot"/>
255
<target name="checkCompilationResults" if="compilation.error.occured">
256
<echo file="${compilation.problem.marker}" message="org.eclipse.linuxtools.changelog.ui.tests_2.7.0.201101171503${line.separator}compilation.error.occured=${compilation.error.occured}"/>
257
<eclipse.logCompileError bundle="org.eclipse.linuxtools.changelog.ui.tests_2.7.0.201101171503" log="${compilation.prereq.log}">
258
<include name="/notnfs/jjohnstn/workspace-3.6RC1/org.eclipse.linuxtools.changelog.core/compilation.problem"/>
259
<include name="${pluginTemp}/org.eclipse.linuxtools.changelog.core_2.7.0.201101171503/compilation.problem"/>
260
<include name="/notnfs/jjohnstn/workspace-3.6RC1/org.eclipse.cdt.ui/compilation.problem"/>
261
<include name="${pluginTemp}/org.eclipse.cdt.ui_5.2.1.201101171503/compilation.problem"/>
262
<include name="/notnfs/jjohnstn/workspace-3.6RC1/org.eclipse.linuxtools.changelog.javaparser/compilation.problem"/>
263
<include name="${pluginTemp}/org.eclipse.linuxtools.changelog.parsers.java_2.7.0.201101171503/compilation.problem"/>
264
<include name="/notnfs/jjohnstn/workspace-3.6RC1/org.eclipse.cdt.core.linux/compilation.problem"/>
265
<include name="${pluginTemp}/org.eclipse.cdt.core.linux_5.2.0.201101171503/compilation.problem"/>
266
<include name="/notnfs/jjohnstn/workspace-3.6RC1/org.eclipse.linuxtools.changelog.tests/compilation.problem"/>
267
<include name="${pluginTemp}/org.eclipse.linuxtools.changelog.tests_2.7.0.201101171503/compilation.problem"/>
268
<include name="/notnfs/jjohnstn/workspace-3.6RC1/org.eclipse.linuxtools.changelog.cparser/compilation.problem"/>
269
<include name="${pluginTemp}/org.eclipse.linuxtools.changelog.cparser_2.7.0.201101171503/compilation.problem"/>
270
<include name="/notnfs/jjohnstn/workspace-3.6RC1/org.eclipse.cdt.core.linux.x86/compilation.problem"/>
271
<include name="${pluginTemp}/org.eclipse.cdt.core.linux.x86_5.2.0.201101171503/compilation.problem"/>
272
<include name="/notnfs/jjohnstn/workspace-3.6RC1/org.eclipse.cdt.core/compilation.problem"/>
273
<include name="${pluginTemp}/org.eclipse.cdt.core_5.2.1.201101171503/compilation.problem"/>
274
<include name="/notnfs/jjohnstn/workspace-3.6RC1/org.eclipse.cdt.managedbuilder.core/compilation.problem"/>
275
<include name="${pluginTemp}/org.eclipse.cdt.managedbuilder.core_7.0.1.201101171503/compilation.problem"/>
276
<include name="/notnfs/jjohnstn/workspace-3.6RC1/org.eclipse.cdt.make.core/compilation.problem"/>
277
<include name="${pluginTemp}/org.eclipse.cdt.make.core_7.0.0.201101171503/compilation.problem"/>
278
</eclipse.logCompileError>
281
<target name="build.sources" depends="init">
282
<available property="src.zip" file="${build.result.folder}/src.zip"/>
283
<antcall target="src.zip"/>
286
<target name="publish.bin.parts" depends="init" if="p2.publish.parts" unless="compilation.problem.marker.exists">
287
<mkdir dir="${build.result.folder}/org.eclipse.linuxtools.changelog.ui.tests_2.7.0.201101171503"/>
288
<copy todir="${build.result.folder}" failonerror="true" overwrite="true">
289
<fileset dir="${basedir}">
290
<include name="META-INF/MANIFEST.MF"/>
291
<include name="plugin.xml"/>
292
<include name="fragment.xml"/>
295
<eclipse.versionReplacer path="${build.result.folder}" version="2.7.0.201101171503"/>
296
<antcall target="apitools.generation">
297
<param name="target.folder" value="${build.result.folder}"/>
298
<param name="projectLocation" value="${basedir}"/>
299
<param name="binary.folders" value="${build.result.folder}/@dot"/>
300
<param name="projectName" value="${bundleId}_${bundleVersion}"/>
302
<eclipse.gatherBundle
303
metadataRepository="${p2.build.repo}"
304
artifactRepository="${p2.build.repo}"
305
buildResultFolder="${build.result.folder}"
306
baseDirectory="${basedir}"
310
<target name="gather.bin.parts" depends="init" if="destination.temp.folder">
311
<mkdir dir="${destination.temp.folder}/org.eclipse.linuxtools.changelog.ui.tests_2.7.0.201101171503"/>
312
<copy todir="${destination.temp.folder}/org.eclipse.linuxtools.changelog.ui.tests_2.7.0.201101171503" failonerror="true" overwrite="false">
313
<fileset dir="${build.result.folder}/@dot">
317
<copy todir="${destination.temp.folder}/org.eclipse.linuxtools.changelog.ui.tests_2.7.0.201101171503" failonerror="true" overwrite="true">
318
<fileset dir="${basedir}">
319
<include name="META-INF/"/>
322
<eclipse.versionReplacer path="${destination.temp.folder}/org.eclipse.linuxtools.changelog.ui.tests_2.7.0.201101171503" version="2.7.0.201101171503"/>
323
<antcall target="apitools.generation">
324
<param name="target.folder" value="${destination.temp.folder}/org.eclipse.linuxtools.changelog.ui.tests_2.7.0.201101171503"/>
325
<param name="projectLocation" value="${basedir}"/>
326
<param name="binary.folders" value="${build.result.folder}/@dot"/>
327
<param name="projectName" value="${bundleId}_${bundleVersion}"/>
331
<target name="build.zips" depends="init">
334
<target name="gather.sources" depends="init" if="destination.temp.folder">
335
<mkdir dir="${destination.temp.folder}/org.eclipse.linuxtools.changelog.ui.tests_2.7.0.201101171503"/>
336
<copy file="${build.result.folder}/src.zip" todir="${destination.temp.folder}/org.eclipse.linuxtools.changelog.ui.tests_2.7.0.201101171503" failonerror="false" overwrite="false"/>
337
<antcall target="copy.src.includes">
338
<param name="source.destination.folder" value="${destination.temp.folder}/org.eclipse.linuxtools.changelog.ui.tests_2.7.0.201101171503"/>
342
<target name="gather.individual.sources" depends="init">
343
<antcall target="copy.src.zip">
344
<param name="source.destination.folder" value="${destination.temp.folder}"/>
346
<antcall target="copy.src.includes">
347
<param name="source.destination.folder" value="${destination.temp.folder}"/>
351
<target name="copy.src.includes" depends="init">
354
<target name="gather.logs" depends="init" if="destination.temp.folder">
355
<mkdir dir="${destination.temp.folder}/org.eclipse.linuxtools.changelog.ui.tests_2.7.0.201101171503"/>
356
<copy todir="${destination.temp.folder}/org.eclipse.linuxtools.changelog.ui.tests_2.7.0.201101171503" failonerror="false" overwrite="false">
357
<fileset dir="${build.result.folder}">
358
<include name="@dot${logExtension}"/>
363
<target name="clean" depends="init" description="Clean the plug-in: org.eclipse.linuxtools.changelog.ui.tests of all the zips, jars and logs created.">
364
<delete dir="${build.result.folder}/@dot"/>
365
<delete file="${build.result.folder}/src.zip"/>
366
<delete file="${plugin.destination}/org.eclipse.linuxtools.changelog.ui.tests_2.7.0.201101171503.jar"/>
367
<delete file="${plugin.destination}/org.eclipse.linuxtools.changelog.ui.tests_2.7.0.201101171503.zip"/>
368
<delete dir="${temp.folder}"/>
369
<delete file="${compilation.problem.marker}" quiet="true"/>
372
<target name="refresh" depends="init" if="eclipse.running" description="Refresh this folder.">
373
<eclipse.convertPath fileSystemPath="/notnfs/jjohnstn/workspace-3.6RC1/org.eclipse.linuxtools.changelog.ui.tests" property="resourcePath"/>
374
<eclipse.refreshLocal resource="${resourcePath}" depth="infinite"/>
377
<target name="zip.plugin" depends="init" description="Create a zip containing all the elements for the plug-in: org.eclipse.linuxtools.changelog.ui.tests.">
378
<delete dir="${temp.folder}"/>
379
<mkdir dir="${temp.folder}"/>
380
<antcall target="build.jars"/>
381
<antcall target="build.sources"/>
382
<antcall target="gather.bin.parts">
383
<param name="destination.temp.folder" value="${temp.folder}/"/>
385
<antcall target="gather.sources">
386
<param name="destination.temp.folder" value="${temp.folder}/"/>
389
<fileset dir="${temp.folder}">
390
<include name="**/*.bin${logExtension}"/>
393
<zip destfile="${plugin.destination}/org.eclipse.linuxtools.changelog.ui.tests_2.7.0.201101171503.zip" basedir="${temp.folder}" filesonly="true" whenempty="skip" update="false"/>
394
<delete dir="${temp.folder}"/>
397
<target name="apitools.generation" if="generateAPIDescription">
398
<apitooling.apigeneration projectName="${projectName}" project="${projectLocation}" binary="${binary.folders}" target="${target.folder}" extramanifests="${extraManifests}" />