|
Lines 1-305
Link Here
|
| 1 |
<project name="Build specific targets and properties" default="noDefault" basedir="."> |
1 |
<project name="Build specific targets and properties" default="noDefault" basedir="."> |
| 2 |
|
2 |
|
| 3 |
<property name="postingDirectory" value="${buildDirectory}" /> |
3 |
<property name="postingDirectory" value="${buildDirectory}" /> |
|
|
4 |
|
| 5 |
<!-- ===================================================================== --> |
| 6 |
<!-- Run a given ${target} on all elements being built --> |
| 7 |
<!-- ===================================================================== --> |
| 8 |
<target name="allElements"> |
| 9 |
<ant antfile="${genericTargets}" target="${target}"> |
| 10 |
<property name="type" value="feature" /> |
| 11 |
<property name="id" value="org.eclipse.rcp" /> |
| 12 |
</ant> |
| 13 |
</target> |
| 14 |
|
| 15 |
<!-- ===================================================================== --> |
| 16 |
<!-- Targets to assemble the built elements for particular configurations --> |
| 17 |
<!-- These generally call the generated assemble scripts (named in --> |
| 18 |
<!-- ${assembleScriptName}) but may also add pre and post processing --> |
| 19 |
<!-- Add one target for each root element and each configuration --> |
| 20 |
<!-- ===================================================================== --> |
| 21 |
|
| 22 |
<!-- POST STEPS TO ADD --> |
| 23 |
<target name="assemble.org.eclipse.rcp.win32.win32.x86"> |
| 24 |
<property name="archiveName" value="eclipse-RCP-${buildId}-win32.zip" /> |
| 25 |
<antcall target="assemble" /> |
| 26 |
</target> |
| 27 |
|
| 28 |
<target name="assemble.org.eclipse.rcp.win32.win32.x86_64"> |
| 29 |
<property name="archiveName" value="eclipse-RCP-${buildId}-win32-x86_64.zip" /> |
| 30 |
<antcall target="assemble" /> |
| 31 |
</target> |
| 32 |
|
| 33 |
<target name="assemble.org.eclipse.rcp.win32.wpf.x86"> |
| 34 |
<property name="archiveName" value="eclipse-RCP-${buildId}-win32-wpf.zip" /> |
| 35 |
<antcall target="assemble" /> |
| 36 |
</target> |
| 37 |
|
| 38 |
<target name="assemble.org.eclipse.rcp.linux.motif.x86"> |
| 39 |
<property name="archiveName" value="eclipse-RCP-${buildId}-linux-motif.tar.gz" /> |
| 40 |
<antcall target="assemble" /> |
| 41 |
</target> |
| 42 |
|
| 43 |
<target name="assemble.org.eclipse.rcp.linux.gtk.x86"> |
| 44 |
<property name="archiveName" value="eclipse-RCP-${buildId}-linux-gtk.tar.gz" /> |
| 45 |
<antcall target="assemble" /> |
| 46 |
</target> |
| 47 |
|
| 48 |
<target name="assemble.org.eclipse.rcp.linux.gtk.ppc"> |
| 49 |
<property name="archiveName" value="eclipse-RCP-${buildId}-linux-gtk-ppc.tar.gz" /> |
| 50 |
<antcall target="assemble" /> |
| 51 |
</target> |
| 52 |
|
| 53 |
<target name="assemble.org.eclipse.rcp.linux.gtk.x86_64"> |
| 54 |
<property name="archiveName" value="eclipse-RCP-${buildId}-linux-gtk-x86_64.tar.gz" /> |
| 55 |
<antcall target="assemble" /> |
| 56 |
</target> |
| 57 |
|
| 58 |
<target name="assemble.org.eclipse.rcp.hpux.motif.ia64_32"> |
| 59 |
<property name="archiveName" value="eclipse-RCP-${buildId}-hpux-motif-ia64_32.zip" /> |
| 60 |
<antcall target="assemble" /> |
| 61 |
</target> |
| 62 |
|
| 63 |
|
| 64 |
<target name="assemble.org.eclipse.rcp.solaris.gtk.sparc"> |
| 65 |
<property name="archiveName" value="eclipse-RCP-${buildId}-solaris-gtk.zip" /> |
| 66 |
<antcall target="assemble" /> |
| 67 |
</target> |
| 68 |
|
| 69 |
<target name="assemble.org.eclipse.rcp.solaris.motif.sparc"> |
| 70 |
<property name="archiveName" value="eclipse-RCP-${buildId}-solaris-motif.zip" /> |
| 71 |
<antcall target="assemble" /> |
| 72 |
</target> |
| 73 |
|
| 74 |
<target name="assemble.org.eclipse.rcp.qnx.photon.x86" /> |
| 75 |
<target name="assemble.org.eclipse.rcp.hpux.motif.PA_RISC" /> |
| 76 |
<target name="assemble.org.eclipse.rcp.linux.gtk.ia64" /> |
| 77 |
|
| 78 |
<target name="assemble.org.eclipse.rcp.aix.motif.ppc"> |
| 79 |
<property name="archiveName" value="eclipse-RCP-${buildId}-aix-motif.zip" /> |
| 80 |
<antcall target="assemble" /> |
| 81 |
</target> |
| 82 |
|
| 83 |
<target name="assemble.org.eclipse.rcp.macosx.carbon.ppc"> |
| 84 |
<property name="archiveName" value="eclipse-RCP-${buildId}-macosx-carbon.tar.gz" /> |
| 85 |
<antcall target="assemble" /> |
| 86 |
</target> |
| 87 |
|
| 88 |
<target name="assemble.org.eclipse.rcp.macosx.cocoa.x86"> |
| 89 |
<property name="archiveName" value="eclipse-RCP-${buildId}-macosx-cocoa.tar.gz" /> |
| 90 |
<antcall target="assemble" /> |
| 91 |
</target> |
| 92 |
|
| 93 |
<target name="assemble.org.eclipse.rcp.macosx.cocoa.x86_64"> |
| 94 |
<property name="archiveName" value="eclipse-RCP-${buildId}-macosx-cocoa-x86_64.tar.gz" /> |
| 95 |
<antcall target="assemble" /> |
| 96 |
</target> |
| 4 |
|
97 |
|
| 5 |
<!-- ===================================================================== --> |
|
|
| 6 |
<!-- Run a given ${target} on all elements being built --> |
| 7 |
<!-- ===================================================================== --> |
| 8 |
<target name="allElements"> |
| 9 |
<ant antfile="${genericTargets}" target="${target}" > |
| 10 |
<property name="type" value="feature" /> |
| 11 |
<property name="id" value="org.eclipse.rcp" /> |
| 12 |
</ant> |
| 13 |
</target> |
| 14 |
|
| 15 |
<!-- ===================================================================== --> |
| 16 |
<!-- Targets to assemble the built elements for particular configurations --> |
| 17 |
<!-- These generally call the generated assemble scripts (named in --> |
| 18 |
<!-- ${assembleScriptName}) but may also add pre and post processing --> |
| 19 |
<!-- Add one target for each root element and each configuration --> |
| 20 |
<!-- ===================================================================== --> |
| 21 |
|
| 22 |
<!-- POST STEPS TO ADD --> |
| 23 |
<target name="assemble.org.eclipse.rcp.win32.win32.x86"> |
| 24 |
<property name="archiveName" value="eclipse-RCP-${buildId}-win32.zip"/> |
| 25 |
<antcall target="assemble" /> |
| 26 |
</target> |
| 27 |
|
| 28 |
<target name="assemble.org.eclipse.rcp.win32.win32.x86_64"> |
| 29 |
<property name="archiveName" value="eclipse-RCP-${buildId}-win32-x86_64.zip"/> |
| 30 |
<antcall target="assemble" /> |
| 31 |
</target> |
| 32 |
|
| 33 |
<target name="assemble.org.eclipse.rcp.win32.wpf.x86"> |
| 34 |
<property name="archiveName" value="eclipse-RCP-${buildId}-win32-wpf.zip"/> |
| 35 |
<antcall target="assemble" /> |
| 36 |
</target> |
| 37 |
|
| 38 |
<target name="assemble.org.eclipse.rcp.linux.motif.x86"> |
| 39 |
<property name="archiveName" value="eclipse-RCP-${buildId}-linux-motif.tar.gz"/> |
| 40 |
<antcall target="assemble" /> |
| 41 |
</target> |
| 42 |
|
| 43 |
<target name="assemble.org.eclipse.rcp.linux.gtk.x86"> |
| 44 |
<property name="archiveName" value="eclipse-RCP-${buildId}-linux-gtk.tar.gz"/> |
| 45 |
<antcall target="assemble" /> |
| 46 |
</target> |
| 47 |
|
| 48 |
<target name="assemble.org.eclipse.rcp.linux.gtk.ppc"> |
| 49 |
<property name="archiveName" value="eclipse-RCP-${buildId}-linux-gtk-ppc.tar.gz"/> |
| 50 |
<antcall target="assemble" /> |
| 51 |
</target> |
| 52 |
|
| 53 |
<target name="assemble.org.eclipse.rcp.linux.gtk.x86_64"> |
| 54 |
<property name="archiveName" value="eclipse-RCP-${buildId}-linux-gtk-x86_64.tar.gz"/> |
| 55 |
<antcall target="assemble" /> |
| 56 |
</target> |
| 57 |
|
| 58 |
<target name="assemble.org.eclipse.rcp.hpux.motif.ia64_32"> |
| 59 |
<property name="archiveName" value="eclipse-RCP-${buildId}-hpux-motif-ia64_32.zip"/> |
| 60 |
<antcall target="assemble" /> |
| 61 |
</target> |
| 62 |
|
| 63 |
|
| 64 |
<target name="assemble.org.eclipse.rcp.solaris.gtk.sparc"> |
| 65 |
<property name="archiveName" value="eclipse-RCP-${buildId}-solaris-gtk.zip"/> |
| 66 |
<antcall target="assemble" /> |
| 67 |
</target> |
| 68 |
|
| 69 |
<target name="assemble.org.eclipse.rcp.solaris.motif.sparc"> |
| 70 |
<property name="archiveName" value="eclipse-RCP-${buildId}-solaris-motif.zip"/> |
| 71 |
<antcall target="assemble" /> |
| 72 |
</target> |
| 73 |
|
| 74 |
<target name="assemble.org.eclipse.rcp.qnx.photon.x86"/> |
| 75 |
<target name="assemble.org.eclipse.rcp.hpux.motif.PA_RISC"/> |
| 76 |
<target name="assemble.org.eclipse.rcp.linux.gtk.ia64" /> |
| 77 |
|
| 78 |
<target name="assemble.org.eclipse.rcp.aix.motif.ppc"> |
| 79 |
<property name="archiveName" value="eclipse-RCP-${buildId}-aix-motif.zip"/> |
| 80 |
<antcall target="assemble" /> |
| 81 |
</target> |
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
<target name="assemble.org.eclipse.rcp.macosx.carbon.ppc"> |
| 86 |
<property name="archiveName" value="eclipse-RCP-${buildId}-macosx-carbon.tar.gz"/> |
| 87 |
<antcall target="assemble" /> |
| 88 |
</target> |
| 89 |
|
| 90 |
<target name="assemble.org.eclipse.rcp.macosx.cocoa.x86"> |
| 91 |
<property name="archiveName" value="eclipse-RCP-${buildId}-macosx-cocoa.tar.gz"/> |
| 92 |
<antcall target="assemble" /> |
| 93 |
</target> |
| 94 |
|
98 |
|
| 95 |
<target name="assemble"> |
99 |
<target name="assemble"> |
| 96 |
<property name="archiveFullPath" value="${buildDirectory}/${buildLabel}/${archiveName}" /> |
100 |
<property name="archiveFullPath" value="${buildDirectory}/${buildLabel}/${archiveName}" /> |
| 97 |
<ant antfile="${assembleScriptName}" /> |
101 |
<ant antfile="${assembleScriptName}" /> |
| 98 |
</target> |
102 |
</target> |
| 99 |
<target name="postPackage"> |
103 |
<target name="postPackage"> |
| 100 |
<mkdir dir="${buildDirectory}/${buildLabel}/checksum"/> |
104 |
<mkdir dir="${buildDirectory}/${buildLabel}/checksum" /> |
| 101 |
<exec executable="sh" dir="${buildDirectory}/${buildLabel}"> |
105 |
<exec executable="sh" dir="${buildDirectory}/${buildLabel}"> |
| 102 |
<arg line="${eclipse.build.configs}/../../extras/produceChecksum" /> |
106 |
<arg line="${eclipse.build.configs}/../../extras/produceChecksum" /> |
| 103 |
</exec> |
107 |
</exec> |
| 104 |
<move todir="${postingDirectory}/${buildLabel}"> |
108 |
<move todir="${postingDirectory}/${buildLabel}"> |
| 105 |
<fileset dir="${buildDirectory}/${buildLabel}" /> |
109 |
<fileset dir="${buildDirectory}/${buildLabel}" /> |
| 106 |
</move> |
110 |
</move> |
| 107 |
</target> |
111 |
</target> |
| 108 |
|
112 |
|
| 109 |
|
113 |
|
| 110 |
<!-- ===================================================================== --> |
114 |
<!-- ===================================================================== --> |
| 111 |
<!-- Check out map files from correct repository --> |
115 |
<!-- Check out map files from correct repository --> |
| 112 |
<!-- Replace values for cvsRoot, package and mapVersionTag as desired. --> |
116 |
<!-- Replace values for cvsRoot, package and mapVersionTag as desired. --> |
| 113 |
<!-- ===================================================================== --> |
117 |
<!-- ===================================================================== --> |
| 114 |
<target name="checkLocal"> |
118 |
<target name="checkLocal"> |
| 115 |
<available property="mapsLocal" file="${buildDirectory}/maps/org.eclipse.releng" /> |
119 |
<available property="mapsLocal" file="${buildDirectory}/maps/org.eclipse.releng" /> |
| 116 |
</target> |
120 |
</target> |
| 117 |
<target name="getMapFiles" depends="checkLocal" unless="mapsLocal"> |
121 |
<target name="getMapFiles" depends="checkLocal" unless="mapsLocal"> |
| 118 |
|
122 |
|
| 119 |
<!-- *** change the repo info --> |
123 |
<!-- *** change the repo info --> |
| 120 |
<property name="mapCvsRoot" value=":pserver:anonymous@dev.eclipse.org:/home/eclipse" /> |
124 |
<property name="mapCvsRoot" value=":pserver:anonymous@dev.eclipse.org:/home/eclipse" /> |
| 121 |
<property name="mapVersionTag" value="HEAD" /> |
125 |
<property name="mapVersionTag" value="HEAD" /> |
| 122 |
<cvs cvsRoot="${mapCvsRoot}" |
126 |
<cvs cvsRoot="${mapCvsRoot}" package="org.eclipse.releng" dest="${buildDirectory}/maps" tag="${mapVersionTag}" /> |
| 123 |
package="org.eclipse.releng" |
127 |
<!--tag the map files project--> |
| 124 |
dest="${buildDirectory}/maps" |
128 |
<antcall target="tagMapFiles" /> |
| 125 |
tag="${mapVersionTag}" |
129 |
<antcall target="getPrebuiltElements" /> |
| 126 |
/> |
130 |
</target> |
| 127 |
<!--tag the map files project--> |
131 |
|
| 128 |
<antcall target="tagMapFiles" /> |
132 |
<target name="compareMapFiles" if="compareMaps"> |
| 129 |
<antcall target="getPrebuiltElements" /> |
133 |
<property file="${mapTag.properties}" /> |
| 130 |
</target> |
134 |
<property name="cvsDiffFile" value="${buildDirectory}/cvsDiff.txt" /> |
| 131 |
|
135 |
<cvs cvsRoot="${mapCvsRoot}" dest="${buildDirectory}/maps" command="diff -w -r ${lastMapTag}" output="${cvsDiffFile}" /> |
| 132 |
<target name="compareMapFiles" if="compareMaps"> |
136 |
<modifiedMaps mapDiffFile="${cvsDiffFile}" /> |
| 133 |
<property file="${mapTag.properties}"/> |
137 |
</target> |
| 134 |
<property name="cvsDiffFile" value="${buildDirectory}/cvsDiff.txt" /> |
138 |
|
| 135 |
<cvs cvsRoot="${mapCvsRoot}" dest="${buildDirectory}/maps" command="diff -w -r ${lastMapTag}" output="${cvsDiffFile}" /> |
139 |
<target name="tagMapFiles" if="tagMaps"> |
| 136 |
<modifiedMaps mapDiffFile="${cvsDiffFile}" /> |
140 |
<!-- Stores tag on the filesystem so map files can be compared --> |
| 137 |
</target> |
141 |
<echo file="${mapTag.properties}"> |
| 138 |
|
|
|
| 139 |
<target name="tagMapFiles" if="tagMaps"> |
| 140 |
<!-- Stores tag on the filesystem so map files can be compared --> |
| 141 |
<echo file="${mapTag.properties}"> |
| 142 |
lastMapTag=${buildId} |
142 |
lastMapTag=${buildId} |
| 143 |
</echo> |
143 |
</echo> |
| 144 |
<cvs dest="${buildDirectory}/maps/org.eclipse.releng" command="tag ${buildId}" /> |
144 |
<cvs dest="${buildDirectory}/maps/org.eclipse.releng" command="tag ${buildId}" /> |
| 145 |
</target> |
145 |
</target> |
|
|
146 |
|
| 147 |
<target name="getPrebuiltElements"> |
| 148 |
<generateBaseFetchScript mapfile="${buildDirectory}/maps/org.eclipse.releng/maps/base.map" outputfile="${buildDirectory}/fetchbase.xml" /> |
| 149 |
<ant antfile="${buildDirectory}/fetchbase.xml" /> |
| 150 |
</target> |
| 151 |
|
| 152 |
<!-- ===================================================================== --> |
| 153 |
<!-- Steps to do before setup --> |
| 154 |
<!-- ===================================================================== --> |
| 155 |
<target name="preSetup"> |
| 156 |
</target> |
| 157 |
|
| 158 |
<!-- ===================================================================== --> |
| 159 |
<!-- Steps to do after setup but before starting the build proper --> |
| 160 |
<!-- ===================================================================== --> |
| 161 |
<target name="postSetup"> |
| 162 |
<!--fetch the additional pieces to build swt gtk64--> |
| 163 |
<property name="featureOnly" value="false" /> |
| 164 |
<property name="featureAndPlugins" value="true" /> |
| 165 |
<property name="featuresRecursively" value="false" /> |
| 166 |
<ant antfile="genericTargets.xml" dir="${eclipse.pdebuild.scripts}" target="fetchElement"> |
| 167 |
<property name="type" value="fragment" /> |
| 168 |
<property name="id" value="org.eclipse.swt.gtk.linux.x86_64" /> |
| 169 |
</ant> |
| 170 |
</target> |
| 171 |
|
| 172 |
<!-- ===================================================================== --> |
| 173 |
<!-- Steps to do before fetching the build elements --> |
| 174 |
<!-- ===================================================================== --> |
| 175 |
<target name="preFetch"> |
| 176 |
</target> |
| 177 |
|
| 178 |
<!-- ===================================================================== --> |
| 179 |
<!-- Steps to do after the fetch --> |
| 180 |
<!-- ===================================================================== --> |
| 181 |
<target name="postFetch"> |
| 182 |
<ant antfile="${genericTargets}" target="fetchElement"> |
| 183 |
<property name="type" value="feature" /> |
| 184 |
<property name="id" value="org.eclipse.equinox.executable" /> |
| 185 |
</ant> |
| 186 |
|
| 187 |
<!--copy linux motif about_files to in temp location where it will be copied into root of eclipse at assembly time--> |
| 188 |
<property name="linux.motif.rootfiles" value="${buildDirectory}/features/org.eclipse.platform/about_files/linux.motif.x86" /> |
| 189 |
<mkdir dir="${linux.motif.rootfiles}" /> |
| 190 |
<copy tofile="${linux.motif.rootfiles}/about.html" file="${buildDirectory}/plugins/org.eclipse.swt.motif.linux.x86/about.html" /> |
| 191 |
<copy todir="${linux.motif.rootfiles}"> |
| 192 |
<fileset dir="${buildDirectory}/plugins/org.eclipse.swt.motif.linux.x86" /> |
| 193 |
</copy> |
| 194 |
|
| 195 |
<!--copy linux gtk x86 about_files to in temp location where it will be copied into root of eclipse at assembly time--> |
| 196 |
<property name="linux.gtk.x86.rootfiles" value="${buildDirectory}/features/org.eclipse.platform/about_files/linux.gtk.x86" /> |
| 197 |
<mkdir dir="${linux.gtk.x86.rootfiles}" /> |
| 198 |
<copy tofile="${linux.gtk.x86.rootfiles}/about.html" file="${buildDirectory}/plugins/org.eclipse.swt.gtk.linux.x86/about.html" /> |
| 199 |
|
| 200 |
<copy todir="${linux.gtk.x86.rootfiles}"> |
| 201 |
<fileset dir="${buildDirectory}/plugins/org.eclipse.swt.gtk.linux.x86" /> |
| 202 |
</copy> |
| 203 |
|
| 204 |
<!--copy linux gtk x86_64 about_files to in temp location where it will be copied into root of eclipse at assembly time--> |
| 205 |
<property name="linux.gtk.x86_64.rootfiles" value="${buildDirectory}/features/org.eclipse.platform/about_files/linux.gtk.x86_64" /> |
| 206 |
<mkdir dir="${linux.gtk.x86_64.rootfiles}" /> |
| 207 |
<copy tofile="${linux.gtk.x86_64.rootfiles}/about.html" file="${buildDirectory}/plugins/org.eclipse.swt.gtk.linux.x86_64/about_launcher_libraries.html" /> |
| 208 |
|
| 209 |
<copy todir="${linux.gtk.x86_64.rootfiles}"> |
| 210 |
<fileset dir="${buildDirectory}/plugins/org.eclipse.swt.gtk.linux.x86_64" includes=" |
| 211 |
about_files/mpl-v11.txt" /> |
| 212 |
</copy> |
| 213 |
</target> |
| 214 |
|
| 215 |
<!-- ===================================================================== --> |
| 216 |
<!-- Steps to do before generating build scripts --> |
| 217 |
<!-- ===================================================================== --> |
| 218 |
<target name="preGenerate"> |
| 219 |
</target> |
| 220 |
|
| 221 |
<!-- ===================================================================== --> |
| 222 |
<!-- Steps to do after generating the build scripts --> |
| 223 |
<!-- ===================================================================== --> |
| 224 |
<target name="postGenerate"> |
| 225 |
</target> |
| 226 |
|
| 227 |
<!-- ===================================================================== --> |
| 228 |
<!-- Steps to do before assembling --> |
| 229 |
<!-- ===================================================================== --> |
| 230 |
<target name="preAssemble"> |
| 231 |
|
| 232 |
</target> |
| 233 |
|
| 234 |
<!-- ===================================================================== --> |
| 235 |
<!-- Steps to do after assembling--> |
| 236 |
<!-- ===================================================================== --> |
| 237 |
<target name="postAssemble"> |
| 238 |
</target> |
| 146 |
|
239 |
|
| 147 |
<target name="getPrebuiltElements"> |
240 |
|
| 148 |
<generateBaseFetchScript |
241 |
|
| 149 |
mapfile="${buildDirectory}/maps/org.eclipse.releng/maps/base.map" |
242 |
<!-- ===================================================================== --> |
| 150 |
outputfile="${buildDirectory}/fetchbase.xml"/> |
243 |
<!-- Steps to do before running the build.xmls for the elements being built. --> |
| 151 |
<ant antfile="${buildDirectory}/fetchbase.xml" /> |
244 |
<!-- ===================================================================== --> |
| 152 |
</target> |
245 |
<target name="preProcess"> |
| 153 |
|
246 |
<replace dir="${buildDirectory}/plugins" value="${buildId}" token="@build@"> |
| 154 |
<!-- ===================================================================== --> |
247 |
<include name="**/about.mappings" /> |
| 155 |
<!-- Steps to do before setup --> |
248 |
</replace> |
| 156 |
<!-- ===================================================================== --> |
249 |
<replace dir="${buildDirectory}/features/org.eclipse.rcp" value="${buildId}" token="@build@"> |
| 157 |
<target name="preSetup"> |
250 |
<include name="**/config.ini" /> |
| 158 |
</target> |
251 |
</replace> |
| 159 |
|
252 |
</target> |
| 160 |
<!-- ===================================================================== --> |
253 |
|
| 161 |
<!-- Steps to do after setup but before starting the build proper --> |
254 |
<!-- ===================================================================== --> |
| 162 |
<!-- ===================================================================== --> |
255 |
<!-- Steps to do after running the build.xmls for the elements being built. --> |
| 163 |
<target name="postSetup"> |
256 |
<!-- ===================================================================== --> |
| 164 |
<!--fetch the additional pieces to build swt gtk64--> |
257 |
<target name="postProcess"> |
| 165 |
<property name="featureOnly" value="false"/> |
258 |
<condition property="logsAvailable"> |
| 166 |
<property name="featureAndPlugins" value="true"/> |
259 |
<istrue value="${javacVerbose}" /> |
| 167 |
<property name="featuresRecursively" value="false"/> |
260 |
</condition> |
| 168 |
<ant antfile="genericTargets.xml" dir="${eclipse.pdebuild.scripts}" target="fetchElement"> |
261 |
<antcall target="gatherLogs" /> |
| 169 |
<property name="type" value="fragment" /> |
262 |
</target> |
| 170 |
<property name="id" value="org.eclipse.swt.gtk.linux.x86_64" /> |
|
|
| 171 |
</ant> |
| 172 |
</target> |
| 173 |
|
| 174 |
<!-- ===================================================================== --> |
| 175 |
<!-- Steps to do before fetching the build elements --> |
| 176 |
<!-- ===================================================================== --> |
| 177 |
<target name="preFetch"> |
| 178 |
</target> |
| 179 |
|
| 180 |
<!-- ===================================================================== --> |
| 181 |
<!-- Steps to do after the fetch --> |
| 182 |
<!-- ===================================================================== --> |
| 183 |
<target name="postFetch"> |
| 184 |
<ant antfile="${genericTargets}" target="fetchElement"> |
| 185 |
<property name="type" value="feature" /> |
| 186 |
<property name="id" value="org.eclipse.equinox.executable" /> |
| 187 |
</ant> |
| 188 |
|
| 189 |
<!--copy linux motif about_files to in temp location where it will be copied into root of eclipse at assembly time--> |
| 190 |
<property name="linux.motif.rootfiles" value="${buildDirectory}/features/org.eclipse.platform/about_files/linux.motif.x86" /> |
| 191 |
<mkdir dir="${linux.motif.rootfiles}" /> |
| 192 |
<copy tofile="${linux.motif.rootfiles}/about.html" file="${buildDirectory}/plugins/org.eclipse.swt.motif.linux.x86/about.html" /> |
| 193 |
<copy todir="${linux.motif.rootfiles}"> |
| 194 |
<fileset dir="${buildDirectory}/plugins/org.eclipse.swt.motif.linux.x86"/> |
| 195 |
</copy> |
| 196 |
|
| 197 |
<!--copy linux gtk x86 about_files to in temp location where it will be copied into root of eclipse at assembly time--> |
| 198 |
<property name="linux.gtk.x86.rootfiles" value="${buildDirectory}/features/org.eclipse.platform/about_files/linux.gtk.x86" /> |
| 199 |
<mkdir dir="${linux.gtk.x86.rootfiles}" /> |
| 200 |
<copy tofile="${linux.gtk.x86.rootfiles}/about.html" file="${buildDirectory}/plugins/org.eclipse.swt.gtk.linux.x86/about.html" /> |
| 201 |
|
| 202 |
<copy todir="${linux.gtk.x86.rootfiles}"> |
| 203 |
<fileset dir="${buildDirectory}/plugins/org.eclipse.swt.gtk.linux.x86"/> |
| 204 |
</copy> |
| 205 |
|
| 206 |
<!--copy linux gtk x86_64 about_files to in temp location where it will be copied into root of eclipse at assembly time--> |
| 207 |
<property name="linux.gtk.x86_64.rootfiles" value="${buildDirectory}/features/org.eclipse.platform/about_files/linux.gtk.x86_64" /> |
| 208 |
<mkdir dir="${linux.gtk.x86_64.rootfiles}" /> |
| 209 |
<copy tofile="${linux.gtk.x86_64.rootfiles}/about.html" file="${buildDirectory}/plugins/org.eclipse.swt.gtk.linux.x86_64/about_launcher_libraries.html" /> |
| 210 |
|
| 211 |
<copy todir="${linux.gtk.x86_64.rootfiles}"> |
| 212 |
<fileset dir="${buildDirectory}/plugins/org.eclipse.swt.gtk.linux.x86_64" |
| 213 |
includes=" |
| 214 |
about_files/mpl-v11.txt" |
| 215 |
/> |
| 216 |
</copy> |
| 217 |
</target> |
| 218 |
|
| 219 |
<!-- ===================================================================== --> |
| 220 |
<!-- Steps to do before generating build scripts --> |
| 221 |
<!-- ===================================================================== --> |
| 222 |
<target name="preGenerate"> |
| 223 |
</target> |
| 224 |
|
| 225 |
<!-- ===================================================================== --> |
| 226 |
<!-- Steps to do after generating the build scripts --> |
| 227 |
<!-- ===================================================================== --> |
| 228 |
<target name="postGenerate"> |
| 229 |
</target> |
| 230 |
|
| 231 |
<!-- ===================================================================== --> |
| 232 |
<!-- Steps to do before assembling --> |
| 233 |
<!-- ===================================================================== --> |
| 234 |
<target name="preAssemble"> |
| 235 |
|
| 236 |
</target> |
| 237 |
|
| 238 |
<!-- ===================================================================== --> |
| 239 |
<!-- Steps to do after assembling--> |
| 240 |
<!-- ===================================================================== --> |
| 241 |
<target name="postAssemble"> |
| 242 |
</target> |
| 243 |
|
| 244 |
|
| 245 |
|
| 246 |
<!-- ===================================================================== --> |
| 247 |
<!-- Steps to do before running the build.xmls for the elements being built. --> |
| 248 |
<!-- ===================================================================== --> |
| 249 |
<target name="preProcess"> |
| 250 |
<replace dir="${buildDirectory}/plugins" value="${buildId}" token="@build@"> |
| 251 |
<include name="**/about.mappings" /> |
| 252 |
</replace> |
| 253 |
<replace dir="${buildDirectory}/features/org.eclipse.rcp" value="${buildId}" token="@build@"> |
| 254 |
<include name="**/config.ini" /> |
| 255 |
</replace> |
| 256 |
</target> |
| 257 |
|
| 258 |
<!-- ===================================================================== --> |
| 259 |
<!-- Steps to do after running the build.xmls for the elements being built. --> |
| 260 |
<!-- ===================================================================== --> |
| 261 |
<target name="postProcess"> |
| 262 |
<condition property="logsAvailable"> |
| 263 |
<istrue value="${javacVerbose}"/> |
| 264 |
</condition> |
| 265 |
<antcall target="gatherLogs" /> |
| 266 |
</target> |
| 267 |
|
263 |
|
| 268 |
<target name="prePackage" /> |
264 |
<target name="prePackage" /> |
| 269 |
|
265 |
|
| 270 |
<!-- ===================================================================== --> |
266 |
<!-- ===================================================================== --> |
| 271 |
<!-- Steps to do after everything is built and assembled --> |
267 |
<!-- Steps to do after everything is built and assembled --> |
| 272 |
<!-- (e.g., testing, posting, emailing, ...) --> |
268 |
<!-- (e.g., testing, posting, emailing, ...) --> |
| 273 |
<!-- ===================================================================== --> |
269 |
<!-- ===================================================================== --> |
| 274 |
<target name="postBuild"> |
270 |
<target name="postBuild"> |
| 275 |
</target> |
271 |
</target> |
| 276 |
|
272 |
|
| 277 |
<!-- ===================================================================== --> |
273 |
<!-- ===================================================================== --> |
| 278 |
<!-- Helper targets --> |
274 |
<!-- Helper targets --> |
| 279 |
<!-- ===================================================================== --> |
275 |
<!-- ===================================================================== --> |
| 280 |
<target name="gatherLogs" if="logsAvailable"> |
276 |
<target name="gatherLogs" if="logsAvailable"> |
| 281 |
|
277 |
|
| 282 |
<mkdir dir="${postingDirectory}/${buildLabel}/compilelogs" /> |
278 |
<mkdir dir="${postingDirectory}/${buildLabel}/compilelogs" /> |
| 283 |
<antcall target="allElements"> |
279 |
<antcall target="allElements"> |
| 284 |
<param name="target" value="gatherLogs" /> |
280 |
<param name="target" value="gatherLogs" /> |
| 285 |
</antcall> |
281 |
</antcall> |
| 286 |
|
282 |
|
| 287 |
<unzip dest="${postingDirectory}/${buildLabel}/compilelogs" overwrite="true"> |
283 |
<unzip dest="${postingDirectory}/${buildLabel}/compilelogs" overwrite="true"> |
| 288 |
<fileset dir="${buildDirectory}/features/org.eclipse.rcp"> |
284 |
<fileset dir="${buildDirectory}/features/org.eclipse.rcp"> |
| 289 |
<include name="*.log.zip" /> |
285 |
<include name="*.log.zip" /> |
| 290 |
</fileset> |
286 |
</fileset> |
| 291 |
</unzip> |
287 |
</unzip> |
| 292 |
</target> |
288 |
</target> |
| 293 |
<target name="clean" unless="noclean"> |
289 |
<target name="clean" unless="noclean"> |
| 294 |
<antcall target="allElements"> |
290 |
<antcall target="allElements"> |
| 295 |
<param name="target" value="cleanElement" /> |
291 |
<param name="target" value="cleanElement" /> |
| 296 |
</antcall> |
292 |
</antcall> |
| 297 |
</target> |
293 |
</target> |
| 298 |
<!-- ===================================================================== --> |
294 |
<!-- ===================================================================== --> |
| 299 |
<!-- Default target --> |
295 |
<!-- Default target --> |
| 300 |
<!-- ===================================================================== --> |
296 |
<!-- ===================================================================== --> |
| 301 |
<target name="noDefault"> |
297 |
<target name="noDefault"> |
| 302 |
<echo message="You must specify a target when invoking this file" /> |
298 |
<echo message="You must specify a target when invoking this file" /> |
| 303 |
</target> |
299 |
</target> |
| 304 |
|
300 |
|
| 305 |
</project> |
301 |
</project> |