Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Williams2013-06-04 17:40:30 -0400
committerDavid Williams2013-06-04 17:40:30 -0400
commitb77b2b09ffaf98aa8b306d5688ea7ea708bf0019 (patch)
tree17e8b1136db8334b559a85b0b3683efeaec0395b /eclipse.platform.releng.tychoeclipsebuilder/eclipse/buildScripts/api-tools-builder.xml
parent8e01a70b2329a0b4c233cab46d00fd66548cc16b (diff)
downloadeclipse.platform.releng.aggregator-b77b2b09ffaf98aa8b306d5688ea7ea708bf0019.tar.gz
eclipse.platform.releng.aggregator-b77b2b09ffaf98aa8b306d5688ea7ea708bf0019.tar.xz
eclipse.platform.releng.aggregator-b77b2b09ffaf98aa8b306d5688ea7ea708bf0019.zip
Bug 409817 - All API Tools reports are missing
work in test branch: david_williams/apitooling
Diffstat (limited to 'eclipse.platform.releng.tychoeclipsebuilder/eclipse/buildScripts/api-tools-builder.xml')
-rw-r--r--eclipse.platform.releng.tychoeclipsebuilder/eclipse/buildScripts/api-tools-builder.xml41
1 files changed, 29 insertions, 12 deletions
diff --git a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/buildScripts/api-tools-builder.xml b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/buildScripts/api-tools-builder.xml
index 421e5cb3..6bd79b2a 100644
--- a/eclipse.platform.releng.tychoeclipsebuilder/eclipse/buildScripts/api-tools-builder.xml
+++ b/eclipse.platform.releng.tychoeclipsebuilder/eclipse/buildScripts/api-tools-builder.xml
@@ -12,23 +12,15 @@
====================================================================== -->
<project name="API Tools builder integration" default="apiToolsReports">
- <!-- The name for the build - i.e. I20130603-2000 -->
- <property name="buildLabel" value=""/>
-
- <!-- The on-disk location of the previous Eclipse build - for example Eclipse 4.2.2 -->
- <property name="previousBaselineName" value=""/>
-
- <!-- Default buildDirectory -->
- <property name="buildDirectory" value=""/>
+
<!--
The default target that calls apitooling.apifreeze, apitooling.analysis and apitooling.apideprecation
and their respective _reportconversion tasks
-->
- <target name="apiToolsReports">
- <!-- a dir to extract previous baselines in -->
- <property name="reference" value="${buildDirectory}/apitooolingreference" />
- <mkdir dir="${reference}"/>
+ <target name="apiToolsReports"
+ depends="init">
+
<!-- make a dir to place the XML and HTML output in, per build -->
<property name="report" value="${buildDirectory}/${buildLabel}/apitools"/>
@@ -112,4 +104,29 @@
debug="true"
htmlfile="${deprecation_html}"/>
</target>
+
+ <target name="init"
+ unless="apitoolinginitialized">
+
+ <!-- The name for the build - i.e. I20130603-2000 -->
+ <fail unless="buildLabel" message="buildLabel must be provided."/>
+
+ <!-- The on-disk location of the previous Eclipse build - for example Eclipse 4.2.2 -->
+ <fail unless="previousBaselineName" message="previousBaselineName must be provided"/>
+
+ <fail unless="previousBaseURL" message="full URL of previous build must be provided" />
+
+ <!-- Default buildDirectory -->
+ <fail unless="buildDirectory" message="buildDirectory much be provided"/>
+
+ <!-- a dir to extract previous baselines in -->
+ <property name="reference" value="${buildDirectory}/apitooolingreference" />
+ <mkdir dir="${reference}"/>
+
+ <get dest="${reference}" src="${previousBaseURL}"/>
+
+
+ <property name="apitoolinginitialized" value="true"/>
+
+ </target>
</project>

Back to the top