Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 06b78e53e847bc3d924ae70d6474a090315b0912 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<project default="run" name="Project's .releng buildExtra.xml">

	<target name="init">
	</target>

	<target name="run">
		<!-- TODO: write code that's hooked into o.e.d.commonbuilder.releng's build.xml to do extra configs (eg., for inserting 3rd party libs into plugins) 
		-->
	</target>

	<target name="extraPackaging">
		<!-- Delete source checkout zip, shouldn't even be there -->
		<delete file="${buildDirectory}/${buildLabel}/${zipPrefix}-Sources${incubation}-${buildAlias}.zip" />

		<condition property="lastBuildLogFile" value="https://build.eclipse.org/hudson/job/cbi-papyrus-0.7-nightly/lastBuild/consoleText" else="https://build.eclipse.org/hudson/job/cbi-papyrus-0.7-integration/lastBuild/consoleText">
			<equals arg1="${buildType}" arg2="N" />
		</condition>
		<echo>retrieving build log: ${lastBuildLogFile} (for build type "${buildType}")</echo>
		<get dest="${buildDirectory}/${buildLabel}/buildlog.txt" src="${lastBuildLogFile}" />
		<!--
		<property name="hudsonRoot" location="${buildDirectory}/../../../../" />
		<available type="file" file="${hudsonRoot}/nextBuildNumber" property="foundHudsonRoot" />
		<antcall target="addLog" />
		-->
		<!-- create ALL zip from ${allZip} -->
		<!--
		<echo>Building ALL zip</echo>
		<zip destfile="${buildDirectory}/${buildLabel}/MODISCO-ALL${incubation}-${buildAlias}.zip" update="true">
			<zipfileset src="${buildDirectory}/${buildLabel}/${allZip}" dirmode="775" filemode="664" />
		</zip>
		-->
	</target>

	<!--
	<target name="addLog" if="foundHudsonRoot">
		<loadfile property="lastBuildNumber" srcFile="${hudsonRoot}/nextBuildNumber" />
		<math result="buildNumber" operand1="${lastBuildNumber}" operation="-" operand2="1" datatype="int" />
		<copy tofile="${buildDirectory}/${buildLabel}/buildlog.txt" file="${hudsonRoot}/builds/${buildNumber}/log" />
	</target>
	-->

	<!-- to do other unpacking of dependencies not already unpacked or installed by p2.director by default (eg., third party stuff) -->
	<target name="getDependencies">
		<!-- if your project requires more dependencies, add them here; if it does not require all of these, remove those not required -->
	</target>

	<!-- ===================================================================== -->
	<!-- Steps to do before fetching the build elements -->
	<!-- ===================================================================== -->
	<target name="preFetch">
	</target>

	<!-- ===================================================================== -->
	<!-- Steps to do after the fetch -->
	<!-- ===================================================================== -->
	<target name="postFetch">
	</target>

	<!-- ===================================================================== -->
	<!-- Steps to do before generating build scripts -->
	<!-- ===================================================================== -->
	<target name="preGenerate">
	</target>

	<!-- ===================================================================== -->
	<!-- Steps to do after generating the build scripts -->
	<!-- ===================================================================== -->
	<target name="postGenerate">
	</target>

	<!-- ===================================================================== -->
	<!-- Steps to do before assembling -->
	<!-- ===================================================================== -->
	<target name="preAssemble">
		<echo>Replacing @buildid@</echo>
		<replace dir="${buildDirectory}/plugins" value="${timestamp}" token="@buildid@">
			<include name="**/about.mappings" />
		</replace>
	</target>

	<!-- ===================================================================== -->
	<!-- Steps to do after assembling-->
	<!-- ===================================================================== -->
	<target name="postAssemble">
	</target>

	<!-- ===================================================================== -->
	<!-- Steps to do before running package. -->
	<!-- ===================================================================== -->
	<target name="prePackage">
	</target>

	<!-- ===================================================================== -->
	<!-- Steps to do after  running package. -->
	<!-- ===================================================================== -->
	<target name="postPackage">
	</target>

	<!-- ===================================================================== -->
	<!-- Steps to do before running the build.xmls for the elements being built. -->
	<!-- ===================================================================== -->
	<target name="preProcess">
	</target>

	<!-- ===================================================================== -->
	<!-- Steps to do after running the build.xmls for the elements being built. -->
	<!-- ===================================================================== -->
	<target name="postProcess">
		<!--
		<echo>generating javadoc</echo>
		<ant target="javadoc" antfile="javadoc.xml" dir="${buildDirectory}/plugins/org.eclipse.gmt.modisco.infra.doc/" />
		-->
	</target>

	<!-- ===================================================================== -->
	<!-- Steps to do after everything is built and assembled -->
	<!-- (e.g., testing, posting, emailing, ...) -->
	<!-- ===================================================================== -->
	<target name="postBuild">
	</target>


</project>

Back to the top