|
Lines 501-507
Link Here
|
| 501 |
<!-- Runs copyright report on the build workspace before new files are created --> |
501 |
<!-- Runs copyright report on the build workspace before new files are created --> |
| 502 |
<antcall target="checkCopyright" /> |
502 |
<antcall target="checkCopyright" /> |
| 503 |
<antcall target="runCHKPII" /> |
503 |
<antcall target="runCHKPII" /> |
| 504 |
|
504 |
|
| 505 |
<replace dir="${buildDirectory}/plugins" includes="**/about.mappings"> |
505 |
<replace dir="${buildDirectory}/plugins" includes="**/about.mappings"> |
| 506 |
<replacefilter token="@PDESetBuildID@" value="${buildId}"/> |
506 |
<replacefilter token="@PDESetBuildID@" value="${buildId}"/> |
| 507 |
</replace> |
507 |
</replace> |
|
Lines 529-534
Link Here
|
| 529 |
<param name="depDir" value="." /> |
529 |
<param name="depDir" value="." /> |
| 530 |
</antcall> |
530 |
</antcall> |
| 531 |
|
531 |
|
|
|
532 |
<!-- Create a probekit scr folder with it's build requirements --> |
| 532 |
<!-- Manual check-out of Harmony code. Copy files to temp location (as workaround) to push onto native build machine--> |
533 |
<!-- Manual check-out of Harmony code. Copy files to temp location (as workaround) to push onto native build machine--> |
| 533 |
<cvs |
534 |
<cvs |
| 534 |
command="export" |
535 |
command="export" |
|
Lines 548-554
Link Here
|
| 548 |
<arg value="makefile.unix.build"/> |
549 |
<arg value="makefile.unix.build"/> |
| 549 |
</exec> |
550 |
</exec> |
| 550 |
<chmod dir="${buildDirectory}/probekit/platform/org.eclipse.hyades.probekit/src-native/BCI" perm="a+x" includes="**/*.build"/> |
551 |
<chmod dir="${buildDirectory}/probekit/platform/org.eclipse.hyades.probekit/src-native/BCI" perm="a+x" includes="**/*.build"/> |
| 551 |
|
552 |
|
|
|
553 |
<!-- Create a JVMTI src folder with it's build requirements --> |
| 554 |
<mkdir dir="${buildDirectory}/jvmti-src"/> |
| 555 |
<exec executable="cp"> |
| 556 |
<arg line="-r ${buildDirectory}/plugins/org.eclipse.tptp.platform.jvmti.runtime ${buildDirectory}/jvmti-src"/> |
| 557 |
</exec> |
| 558 |
<!-- Get the Harmony code that was checked out manually for probekit --> |
| 559 |
<exec executable="cp"> |
| 560 |
<arg line="-r ${buildDirectory}/probekit/platform/org.apache.harmony_vmcore_verifier ${buildDirectory}/jvmti-src"/> |
| 561 |
</exec> |
| 562 |
<exec executable="cp"> |
| 563 |
<arg line="-r ${buildDirectory}/plugins/org.eclipse.hyades.probekit ${buildDirectory}/jvmti-src"/> |
| 564 |
</exec> |
| 565 |
<exec executable="cp"> |
| 566 |
<arg line="-r ${buildDirectory}/plugins/org.eclipse.tptp.platform.agentcontroller ${buildDirectory}/jvmti-src"/> |
| 567 |
</exec> |
| 568 |
|
| 552 |
<antcall target="nativeBuild"> |
569 |
<antcall target="nativeBuild"> |
| 553 |
<param name="component" value="probekit" /> |
570 |
<param name="component" value="probekit" /> |
| 554 |
<param name="platforms" value="${probekitPlatforms}" /> |
571 |
<param name="platforms" value="${probekitPlatforms}" /> |
|
Lines 562-574
Link Here
|
| 562 |
<param name="srcDir" value="${buildDirectory}/plugins/org.eclipse.hyades.execution/src-iac-native" /> |
579 |
<param name="srcDir" value="${buildDirectory}/plugins/org.eclipse.hyades.execution/src-iac-native" /> |
| 563 |
<param name="depDir" value="." /> |
580 |
<param name="depDir" value="." /> |
| 564 |
</antcall> |
581 |
</antcall> |
| 565 |
|
|
|
| 566 |
<antcall target="nativeBuild"> |
| 567 |
<param name="component" value="tptpdc" /> |
| 568 |
<param name="platforms" value="${tptpdcPlatforms}" /> |
| 569 |
<param name="srcDir" value="${buildDirectory}/plugins/org.eclipse.tptp.platform.agentcontroller/src-native/collection ${buildDirectory}/plugins/org.eclipse.hyades.probekit/src-native/ProbeAgentExtension" /> |
| 570 |
<param name="depDir" value="${buildDirectory}/all-plugins" /> |
| 571 |
</antcall> |
| 572 |
|
582 |
|
| 573 |
<exec dir="${buildDirectory}/plugins" executable="zip"> |
583 |
<exec dir="${buildDirectory}/plugins" executable="zip"> |
| 574 |
<arg value="-9rq" /> |
584 |
<arg value="-9rq" /> |
|
Lines 787-795
Link Here
|
| 787 |
<param name="platformId" value="windows-ia32" /> |
797 |
<param name="platformId" value="windows-ia32" /> |
| 788 |
<param name="plgId" value="eclipse/plugins/org.eclipse.hyades.probekit" /> |
798 |
<param name="plgId" value="eclipse/plugins/org.eclipse.hyades.probekit" /> |
| 789 |
<param name="destDir" value="os/win32/x86" /> |
799 |
<param name="destDir" value="os/win32/x86" /> |
| 790 |
</antcall> |
800 |
</antcall> |
| 791 |
|
801 |
|
| 792 |
<!-- tptpdc dependencies --> |
802 |
<!-- agntctrl dependencies --> |
| 793 |
<mkdir dir="${buildDirectory}/post-build"/> |
803 |
<mkdir dir="${buildDirectory}/post-build"/> |
| 794 |
<exec executable="unzip"> |
804 |
<exec executable="unzip"> |
| 795 |
<arg line="-q ${buildDirectory}/${buildId}/org.eclipse.tptp.platform.runtime-${buildId}.zip -d ${buildDirectory}/post-build"/> |
805 |
<arg line="-q ${buildDirectory}/${buildId}/org.eclipse.tptp.platform.runtime-${buildId}.zip -d ${buildDirectory}/post-build"/> |
|
Lines 818-824
Link Here
|
| 818 |
<arg line="-silent ${buildDirectory}/post-build/eclipse/plugins ${buildDirectory}/all-plugins"/> |
828 |
<arg line="-silent ${buildDirectory}/post-build/eclipse/plugins ${buildDirectory}/all-plugins"/> |
| 819 |
</exec> |
829 |
</exec> |
| 820 |
|
830 |
|
| 821 |
<!-- make sure CBE and probekit native builds have finished before starting tptpdc builds. --> |
831 |
<!-- make sure CBE and probekit native builds have finished before starting agntctrl builds. --> |
| 822 |
<exec executable="lockfile"> |
832 |
<exec executable="lockfile"> |
| 823 |
<arg line="-r 16 ${publishDirectory}/lock.cbe.linux-ia32 ${publishDirectory}/lock.cbe.windows-ia32"/> |
833 |
<arg line="-r 16 ${publishDirectory}/lock.cbe.linux-ia32 ${publishDirectory}/lock.cbe.windows-ia32"/> |
| 824 |
</exec> |
834 |
</exec> |
|
Lines 826-836
Link Here
|
| 826 |
<arg line="-r 16 ${publishDirectory}/lock.probekit.linux-ia32 ${publishDirectory}/lock.probekit.windows-ia32"/> |
836 |
<arg line="-r 16 ${publishDirectory}/lock.probekit.linux-ia32 ${publishDirectory}/lock.probekit.windows-ia32"/> |
| 827 |
</exec> |
837 |
</exec> |
| 828 |
|
838 |
|
| 829 |
<!-- tptpdc build will continue after removing these lock files --> |
839 |
<!-- agntctrl build will continue after removing these lock files --> |
| 830 |
<exec executable="rm"> |
840 |
<exec executable="rm"> |
| 831 |
<arg line="-f ${publishDirectory}/lock.tptpdc.linux-ia32 ${publishDirectory}/lock.tptpdc.linux-ppc64 ${publishDirectory}/lock.tptpdc.linux-zseries ${publishDirectory}/lock.tptpdc.hpux-risc ${publishDirectory}/lock.tptpdc.solaris-sparc ${publishDirectory}/lock.tptpdc.aix-ppc ${publishDirectory}/lock.tptpdc.zos-zseries ${publishDirectory}/lock.tptpdc.os400-iseries ${publishDirectory}/lock.tptpdc.windows-ia32"/> |
841 |
<arg line="-f ${publishDirectory}/lock.agntctrl.linux-ia32 ${publishDirectory}/lock.agntctrl.windows-ia32 ${publishDirectory}/lock.agntctrl.linux-em64t ${publishDirectory}/lock.agntctrl.windows-em64t"/> |
| 832 |
</exec> |
842 |
</exec> |
| 833 |
|
843 |
|
|
|
844 |
<!-- Wait for agntctrl to finish building before building JVMTI --> |
| 845 |
<waitfor maxwait="1000" maxwaitunit="second" checkevery="10" checkeveryunit="second"> |
| 846 |
<available file="${publishDirectory}/agntctrl.linux_ia32.zip" /> |
| 847 |
</waitfor> |
| 848 |
<waitfor maxwait="1000" maxwaitunit="second" checkevery="10" checkeveryunit="second"> |
| 849 |
<available file="${publishDirectory}/agntctrl.linux_em64t.zip" /> |
| 850 |
</waitfor> |
| 851 |
<waitfor maxwait="1000" maxwaitunit="second" checkevery="10" checkeveryunit="second"> |
| 852 |
<available file="${publishDirectory}/agntctrl.win_ia32.zip" /> |
| 853 |
</waitfor> |
| 854 |
<waitfor maxwait="1000" maxwaitunit="second" checkevery="10" checkeveryunit="second"> |
| 855 |
<available file="${publishDirectory}/agntctrl.win_em64t.zip" /> |
| 856 |
</waitfor> |
| 857 |
|
| 858 |
<antcall target="nativeBuild"> |
| 859 |
<param name="component" value="jvmti" /> |
| 860 |
<param name="platforms" value="${jvmtiPlatforms}" /> |
| 861 |
<param name="srcDir" value="${buildDirectory}/jvmti-src" /> |
| 862 |
<param name="depDir" value="${buildDirectory}/all-plugins" /> |
| 863 |
</antcall> |
| 864 |
|
| 834 |
<antcall target="packageGLARuntime" /> |
865 |
<antcall target="packageGLARuntime" /> |
| 835 |
<antcall target="internalPkgUse" /> |
866 |
<antcall target="internalPkgUse" /> |
| 836 |
|
867 |
|
|
Lines 842-863
Link Here
|
| 842 |
<!-- <mkdir dir="${buildDirectory}/tmp.iac"/> --> |
873 |
<!-- <mkdir dir="${buildDirectory}/tmp.iac"/> --> |
| 843 |
|
874 |
|
| 844 |
<!-- <antcall target="addDll2IAC" /> --> |
875 |
<!-- <antcall target="addDll2IAC" /> --> |
| 845 |
|
|
|
| 846 |
<!-- add probe agent extension to probekit plugin --> |
| 847 |
<antcall target="updateNativeRelatedPlugins"> |
| 848 |
<param name="component" value="pae" /> |
| 849 |
<param name="platform" value="linux_ia32" /> |
| 850 |
<param name="platformId" value="linux-ia32" /> |
| 851 |
<param name="plgId" value="eclipse/plugins/org.eclipse.hyades.probekit" /> |
| 852 |
<param name="destDir" value="os/linux/x86" /> |
| 853 |
</antcall> |
| 854 |
<antcall target="updateNativeRelatedPlugins"> |
| 855 |
<param name="component" value="pae" /> |
| 856 |
<param name="platform" value="win_ia32" /> |
| 857 |
<param name="platformId" value="windows-ia32" /> |
| 858 |
<param name="plgId" value="eclipse/plugins/org.eclipse.hyades.probekit" /> |
| 859 |
<param name="destDir" value="os/win32/x86" /> |
| 860 |
</antcall> |
| 861 |
|
876 |
|
| 862 |
<!-- Repackage all the features --> |
877 |
<!-- Repackage all the features --> |
| 863 |
|
878 |
|
|
Lines 1158-1164
Link Here
|
| 1158 |
<move file="${buildDirectory}/AsIsCleanUp/org.eclipse.tptp.platform.sdk-${buildId}.zip" todir="${buildDirectory}/${buildId}"/> |
1173 |
<move file="${buildDirectory}/AsIsCleanUp/org.eclipse.tptp.platform.sdk-${buildId}.zip" todir="${buildDirectory}/${buildId}"/> |
| 1159 |
<delete dir="${buildDirectory}/AsIsCleanUp"/> |
1174 |
<delete dir="${buildDirectory}/AsIsCleanUp"/> |
| 1160 |
<!-- END STATIC ANALYSIS --> |
1175 |
<!-- END STATIC ANALYSIS --> |
|
|
1176 |
|
| 1177 |
<!-- Wait for the JVMTI native build to finish before adding it to the agntctrl native files --> |
| 1178 |
<waitfor maxwait="1000" maxwaitunit="second" checkevery="10" checkeveryunit="second"> |
| 1179 |
<available file="${publishDirectory}/javaprofiler.linux_ia32.zip" /> |
| 1180 |
</waitfor> |
| 1181 |
<waitfor maxwait="1000" maxwaitunit="second" checkevery="10" checkeveryunit="second"> |
| 1182 |
<available file="${publishDirectory}/javaprofiler.linux_em64t.zip" /> |
| 1183 |
</waitfor> |
| 1184 |
<waitfor maxwait="1000" maxwaitunit="second" checkevery="10" checkeveryunit="second"> |
| 1185 |
<available file="${publishDirectory}/javaprofiler.win_ia32.zip" /> |
| 1186 |
</waitfor> |
| 1187 |
<waitfor maxwait="1000" maxwaitunit="second" checkevery="10" checkeveryunit="second"> |
| 1188 |
<available file="${publishDirectory}/javaprofiler.win_em64t.zip" /> |
| 1189 |
</waitfor> |
| 1161 |
|
1190 |
|
|
|
1191 |
<!-- Add ProbeKit and JVMTI plugins to the AC --> |
| 1192 |
<antcall target="nativeACpackaging"> |
| 1193 |
<param name="platform" value="linux_ia32" /> |
| 1194 |
</antcall> |
| 1195 |
<antcall target="nativeACpackaging"> |
| 1196 |
<param name="platform" value="win_ia32" /> |
| 1197 |
</antcall> |
| 1198 |
<antcall target="nativeACpackaging"> |
| 1199 |
<param name="platform" value="linux_em64t" /> |
| 1200 |
</antcall> |
| 1201 |
<antcall target="nativeACpackaging"> |
| 1202 |
<param name="platform" value="win_em64t" /> |
| 1203 |
</antcall> |
| 1204 |
|
| 1205 |
<!-- add probe agent extension to probekit plugin --> |
| 1206 |
<antcall target="updateNativeRelatedPlugins"> |
| 1207 |
<param name="component" value="pae-only" /> |
| 1208 |
<param name="platform" value="linux_ia32" /> |
| 1209 |
<param name="platformId" value="linux-ia32" /> |
| 1210 |
<param name="plgId" value="eclipse/plugins/org.eclipse.hyades.probekit" /> |
| 1211 |
<param name="destDir" value="os/linux/x86" /> |
| 1212 |
</antcall> |
| 1213 |
<antcall target="updateNativeRelatedPlugins"> |
| 1214 |
<param name="component" value="pae-only" /> |
| 1215 |
<param name="platform" value="win_ia32" /> |
| 1216 |
<param name="platformId" value="windows-ia32" /> |
| 1217 |
<param name="plgId" value="eclipse/plugins/org.eclipse.hyades.probekit" /> |
| 1218 |
<param name="destDir" value="os/win32/x86" /> |
| 1219 |
</antcall> |
| 1220 |
|
| 1221 |
<!-- add java profiler extension to javaprofiler plugin --> |
| 1222 |
<antcall target="updateNativeRelatedPlugins"> |
| 1223 |
<param name="component" value="jvmti-only" /> |
| 1224 |
<param name="platform" value="linux_ia32" /> |
| 1225 |
<param name="platformId" value="linux-ia32" /> |
| 1226 |
<param name="plgId" value="eclipse/plugins/org.eclipse.tptp.platform.jvmti.runtime" /> |
| 1227 |
<param name="destDir" value="agent_files/linux_ia32" /> |
| 1228 |
</antcall> |
| 1229 |
<antcall target="updateNativeRelatedPlugins"> |
| 1230 |
<param name="component" value="jvmti-only" /> |
| 1231 |
<param name="platform" value="win_ia32" /> |
| 1232 |
<param name="platformId" value="windows-ia32" /> |
| 1233 |
<param name="plgId" value="eclipse/plugins/org.eclipse.tptp.platform.jvmti.runtime" /> |
| 1234 |
<param name="destDir" value="agent_files/win_ia32" /> |
| 1235 |
</antcall> |
| 1236 |
<antcall target="updateNativeRelatedPlugins"> |
| 1237 |
<param name="component" value="jvmti-only" /> |
| 1238 |
<param name="platform" value="linux_em64t" /> |
| 1239 |
<param name="platformId" value="linux-em64t" /> |
| 1240 |
<param name="plgId" value="eclipse/plugins/org.eclipse.tptp.platform.jvmti.runtime" /> |
| 1241 |
<param name="destDir" value="agent_files/linux_em64t" /> |
| 1242 |
</antcall> |
| 1243 |
<antcall target="updateNativeRelatedPlugins"> |
| 1244 |
<param name="component" value="jvmti-only" /> |
| 1245 |
<param name="platform" value="win_em64t" /> |
| 1246 |
<param name="platformId" value="windows-em64t" /> |
| 1247 |
<param name="plgId" value="eclipse/plugins/org.eclipse.tptp.platform.jvmti.runtime" /> |
| 1248 |
<param name="destDir" value="agent_files/win_em64t" /> |
| 1249 |
</antcall> |
| 1250 |
|
| 1251 |
<!-- add agent controler files to iac plugin --> |
| 1252 |
<antcall target="updateNativeRelatedPlugins"> |
| 1253 |
<param name="component" value="agntctrl" /> |
| 1254 |
<param name="platform" value="linux_ia32" /> |
| 1255 |
<param name="platformId" value="linux-ia32" /> |
| 1256 |
<param name="plgId" value="eclipse/plugins/org.eclipse.tptp.platform.ac.linux_ia32" /> |
| 1257 |
<param name="destDir" value="agent_controller" /> |
| 1258 |
</antcall> |
| 1259 |
<antcall target="updateNativeRelatedPlugins"> |
| 1260 |
<param name="component" value="agntctrl" /> |
| 1261 |
<param name="platform" value="win_ia32" /> |
| 1262 |
<param name="platformId" value="windows-ia32" /> |
| 1263 |
<param name="plgId" value="eclipse/plugins/org.eclipse.tptp.platform.ac.win_ia32" /> |
| 1264 |
<param name="destDir" value="agent_controller" /> |
| 1265 |
</antcall> |
| 1266 |
<antcall target="updateNativeRelatedPlugins"> |
| 1267 |
<param name="component" value="agntctrl" /> |
| 1268 |
<param name="platform" value="linux_em64t" /> |
| 1269 |
<param name="platformId" value="linux-em64t" /> |
| 1270 |
<param name="plgId" value="eclipse/plugins/org.eclipse.tptp.platform.ac.linux_em64t" /> |
| 1271 |
<param name="destDir" value="agent_controller" /> |
| 1272 |
</antcall> |
| 1273 |
<antcall target="updateNativeRelatedPlugins"> |
| 1274 |
<param name="component" value="agntctrl" /> |
| 1275 |
<param name="platform" value="win_em64t" /> |
| 1276 |
<param name="platformId" value="windows-em64t" /> |
| 1277 |
<param name="plgId" value="eclipse/plugins/org.eclipse.tptp.platform.ac.win_em64t" /> |
| 1278 |
<param name="destDir" value="agent_controller" /> |
| 1279 |
</antcall> |
| 1280 |
|
| 1162 |
<!-- pack the driver --> |
1281 |
<!-- pack the driver --> |
| 1163 |
<property name="pack200wrapper" |
1282 |
<property name="pack200wrapper" |
| 1164 |
value="${buildDirectory}/platform/org.eclipse.hyades.releng.builder/master/bash/pack200"/> |
1283 |
value="${buildDirectory}/platform/org.eclipse.hyades.releng.builder/master/bash/pack200"/> |
|
Lines 1351-1357
Link Here
|
| 1351 |
|
1470 |
|
| 1352 |
<!-- Check feature and plugin version numbers --> |
1471 |
<!-- Check feature and plugin version numbers --> |
| 1353 |
<antcall target="checkVersion" /> |
1472 |
<antcall target="checkVersion" /> |
| 1354 |
|
1473 |
|
|
|
1474 |
<!-- Create the IAC's by altering the Standalone AC's --> |
| 1475 |
<exec executable="make-iac.sh"> |
| 1476 |
<arg line="${buildDirectory} linux_ia32 ${publishDirectory} ${buildId}"/> |
| 1477 |
</exec> |
| 1478 |
<exec executable="make-iac.sh"> |
| 1479 |
<arg line="${buildDirectory} win_ia32 ${publishDirectory} ${buildId}"/> |
| 1480 |
</exec> |
| 1481 |
<exec executable="make-iac.sh"> |
| 1482 |
<arg line="${buildDirectory} linux_em64t ${publishDirectory} ${buildId}"/> |
| 1483 |
</exec> |
| 1484 |
<exec executable="make-iac.sh"> |
| 1485 |
<arg line="${buildDirectory} win_em64t ${publishDirectory} ${buildId}"/> |
| 1486 |
</exec> |
| 1487 |
|
| 1355 |
<!-- Repackage native components --> |
1488 |
<!-- Repackage native components --> |
| 1356 |
<mkdir dir="${buildDirectory}/tmp.packaging" /> |
1489 |
<mkdir dir="${buildDirectory}/tmp.packaging" /> |
| 1357 |
<antcall target="nativeRepackaging"> |
1490 |
<antcall target="nativeRepackaging"> |
|
Lines 1364-1399
Link Here
|
| 1364 |
<param name="platform" value="win_ia32"/> |
1497 |
<param name="platform" value="win_ia32"/> |
| 1365 |
<param name="platformId" value="windows-ia32"/> |
1498 |
<param name="platformId" value="windows-ia32"/> |
| 1366 |
</antcall> |
1499 |
</antcall> |
| 1367 |
|
|
|
| 1368 |
<antcall target="nativeRepackaging"> |
1500 |
<antcall target="nativeRepackaging"> |
| 1369 |
<param name="component" value="tptpdc"/> |
1501 |
<param name="component" value="cbe"/> |
|
|
1502 |
<param name="platform" value="linux_em64t"/> |
| 1503 |
<param name="platformId" value="linux-em64t"/> |
| 1504 |
</antcall> |
| 1505 |
<antcall target="nativeRepackaging"> |
| 1506 |
<param name="component" value="cbe"/> |
| 1507 |
<param name="platform" value="win_em64t"/> |
| 1508 |
<param name="platformId" value="windows-em64t"/> |
| 1509 |
</antcall> |
| 1510 |
|
| 1511 |
<antcall target="nativeRepackaging"> |
| 1512 |
<param name="component" value="probekit"/> |
| 1370 |
<param name="platform" value="linux_ia32"/> |
1513 |
<param name="platform" value="linux_ia32"/> |
| 1371 |
<param name="platformId" value="linux-ia32"/> |
1514 |
<param name="platformId" value="linux-ia32"/> |
| 1372 |
</antcall> |
1515 |
</antcall> |
| 1373 |
<antcall target="nativeRepackaging"> |
1516 |
<antcall target="nativeRepackaging"> |
| 1374 |
<param name="component" value="tptpdc"/> |
1517 |
<param name="component" value="probekit"/> |
| 1375 |
<param name="platform" value="win_ia32"/> |
1518 |
<param name="platform" value="win_ia32"/> |
| 1376 |
<param name="platformId" value="windows-ia32"/> |
1519 |
<param name="platformId" value="windows-ia32"/> |
| 1377 |
</antcall> |
1520 |
</antcall> |
| 1378 |
|
|
|
| 1379 |
<antcall target="nativeRepackaging"> |
1521 |
<antcall target="nativeRepackaging"> |
| 1380 |
<param name="component" value="probekit"/> |
1522 |
<param name="component" value="probekit"/> |
|
|
1523 |
<param name="platform" value="linux_em64t"/> |
| 1524 |
<param name="platformId" value="linux-em64t"/> |
| 1525 |
</antcall> |
| 1526 |
<antcall target="nativeRepackaging"> |
| 1527 |
<param name="component" value="probekit"/> |
| 1528 |
<param name="platform" value="win_em64t"/> |
| 1529 |
<param name="platformId" value="windows-em64t"/> |
| 1530 |
</antcall> |
| 1531 |
|
| 1532 |
<antcall target="nativeRepackaging"> |
| 1533 |
<param name="component" value="agntctrl"/> |
| 1381 |
<param name="platform" value="linux_ia32"/> |
1534 |
<param name="platform" value="linux_ia32"/> |
| 1382 |
<param name="platformId" value="linux-ia32"/> |
1535 |
<param name="platformId" value="linux-ia32"/> |
| 1383 |
</antcall> |
1536 |
</antcall> |
| 1384 |
<antcall target="nativeRepackaging"> |
1537 |
<antcall target="nativeRepackaging"> |
| 1385 |
<param name="component" value="probekit"/> |
1538 |
<param name="component" value="agntctrl"/> |
| 1386 |
<param name="platform" value="win_ia32"/> |
1539 |
<param name="platform" value="win_ia32"/> |
| 1387 |
<param name="platformId" value="windows-ia32"/> |
1540 |
<param name="platformId" value="windows-ia32"/> |
| 1388 |
</antcall> |
1541 |
</antcall> |
|
|
1542 |
<antcall target="nativeRepackaging"> |
| 1543 |
<param name="component" value="agntctrl"/> |
| 1544 |
<param name="platform" value="linux_em64t"/> |
| 1545 |
<param name="platformId" value="linux-em64t"/> |
| 1546 |
</antcall> |
| 1547 |
<antcall target="nativeRepackaging"> |
| 1548 |
<param name="component" value="agntctrl"/> |
| 1549 |
<param name="platform" value="win_em64t"/> |
| 1550 |
<param name="platformId" value="windows-em64t"/> |
| 1551 |
</antcall> |
| 1552 |
|
| 1553 |
<!-- TEMP - make a copy of the agntctrl all_platform.zip named tptpdc.all_platform for consumtion by IES until they are ready for new zip name --> |
| 1554 |
<exec executable="unzip"> |
| 1555 |
<arg line="-q ${publishDirectory}/agntctrl.all_platforms-${buildId} -d ${buildDirectory}/tptpdc-package"/> |
| 1556 |
</exec> |
| 1557 |
<exec executable="mv"> |
| 1558 |
<arg line="${buildDirectory}/tptpdc-package/tptp/agntctrl ${buildDirectory}/tptpdc-package/tptp/tptpdc"/> |
| 1559 |
</exec> |
| 1560 |
<exec executable="zip" dir="${buildDirectory}/tptpdc-package" failonerror="true"> |
| 1561 |
<arg line="-9rquy ${publishDirectory}/tptpdc.all_platforms-${buildId}.zip tptp" /> |
| 1562 |
</exec> |
| 1563 |
<delete dir="${buildDirectory}/tptpdc-package"/> |
| 1389 |
|
1564 |
|
|
|
1565 |
<antcall target="nativeRepackaging"> |
| 1566 |
<param name="component" value="javaprofiler"/> |
| 1567 |
<param name="platform" value="linux_ia32"/> |
| 1568 |
<param name="platformId" value="linux-ia32"/> |
| 1569 |
</antcall> |
| 1570 |
<antcall target="nativeRepackaging"> |
| 1571 |
<param name="component" value="javaprofiler"/> |
| 1572 |
<param name="platform" value="win_ia32"/> |
| 1573 |
<param name="platformId" value="windows-ia32"/> |
| 1574 |
</antcall> |
| 1575 |
<antcall target="nativeRepackaging"> |
| 1576 |
<param name="component" value="javaprofiler"/> |
| 1577 |
<param name="platform" value="linux_em64t"/> |
| 1578 |
<param name="platformId" value="linux-em64t"/> |
| 1579 |
</antcall> |
| 1580 |
<antcall target="nativeRepackaging"> |
| 1581 |
<param name="component" value="javaprofiler"/> |
| 1582 |
<param name="platform" value="win_em64t"/> |
| 1583 |
<param name="platformId" value="windows-em64t"/> |
| 1584 |
</antcall> |
| 1585 |
|
| 1390 |
<antcall target="createDriversList" /> |
1586 |
<antcall target="createDriversList" /> |
| 1391 |
</target> |
1587 |
</target> |
| 1392 |
|
1588 |
|
|
|
1589 |
<!-- Adds javaprofiler probekit and profiler.jar plugins to the ${platform} native AC plugin --> |
| 1590 |
<target name="nativeACpackaging"> |
| 1591 |
<mkdir dir="${buildDirectory}/ac-package" /> |
| 1592 |
|
| 1593 |
<exec executable="unzip"> |
| 1594 |
<arg line="-q ${publishDirectory}/javaprofiler.${platform}.zip -d ${buildDirectory}/ac-package"/> |
| 1595 |
</exec> |
| 1596 |
<exec executable="unzip"> |
| 1597 |
<arg line="-q ${publishDirectory}/pae.${platform}.zip -d ${buildDirectory}/ac-package/plugins/org.eclipse.hyades.probekit"/> |
| 1598 |
</exec> |
| 1599 |
<copy file="${buildDirectory}/plugins/org.eclipse.tptp.platform.jvmti.runtime/profiler.jar" todir="${buildDirectory}/ac-package/plugins/org.eclipse.tptp.javaprofiler" /> |
| 1600 |
<copy file="${buildDirectory}/plugins/org.eclipse.tptp.platform.jvmti.runtime/about.html" todir="${buildDirectory}/ac-package/plugins/org.eclipse.tptp.javaprofiler" /> |
| 1601 |
|
| 1602 |
<exec executable="zip" dir="${buildDirectory}/ac-package"> |
| 1603 |
<arg line="-r9uy ${publishDirectory}/agntctrl.${platform}.zip plugins/org.eclipse.hyades.probekit plugins/org.eclipse.tptp.javaprofiler"/> |
| 1604 |
</exec> |
| 1605 |
|
| 1606 |
<delete dir="${buildDirectory}/ac-package"/> |
| 1607 |
|
| 1608 |
</target> |
| 1609 |
|
| 1393 |
<target name="nativeRepackaging" if="${component}_${platformId}"> |
1610 |
<target name="nativeRepackaging" if="${component}_${platformId}"> |
| 1394 |
<!-- |
1611 |
<!-- |
| 1395 |
Required Params: |
1612 |
Required Params: |
| 1396 |
component (ie: cbe|tptpdc|probekit|...) |
1613 |
component (ie: cbe|probekit|...) |
| 1397 |
platform ( part of native zip file name ie: os390|linux_ia32|...) |
1614 |
platform ( part of native zip file name ie: os390|linux_ia32|...) |
| 1398 |
platformId (as in the call to make-multiple-platforms.sh) |
1615 |
platformId (as in the call to make-multiple-platforms.sh) |
| 1399 |
--> |
1616 |
--> |
|
Lines 1507-1513
Link Here
|
| 1507 |
<sleep seconds="2"/> |
1724 |
<sleep seconds="2"/> |
| 1508 |
<!-- Add license and notice --> |
1725 |
<!-- Add license and notice --> |
| 1509 |
<exec executable="zip" failonerror="true"> |
1726 |
<exec executable="zip" failonerror="true"> |
| 1510 |
<arg value="-9ju" /> |
1727 |
<arg value="-9juy" /> |
| 1511 |
<arg value="${newRTFile}" /> |
1728 |
<arg value="${newRTFile}" /> |
| 1512 |
<arg value="${buildDirectory}/${buildId}/notice.html" /> |
1729 |
<arg value="${buildDirectory}/${buildId}/notice.html" /> |
| 1513 |
<arg value="${buildDirectory}/${buildId}/epl-v10.html" /> |
1730 |
<arg value="${buildDirectory}/${buildId}/epl-v10.html" /> |
|
Lines 1538-1544
Link Here
|
| 1538 |
|
1755 |
|
| 1539 |
<!-- Add license and notice --> |
1756 |
<!-- Add license and notice --> |
| 1540 |
<exec executable="zip" failonerror="true"> |
1757 |
<exec executable="zip" failonerror="true"> |
| 1541 |
<arg value="-9juq" /> |
1758 |
<arg value="-9juqy" /> |
| 1542 |
<arg value="${newSDKFile}" /> |
1759 |
<arg value="${newSDKFile}" /> |
| 1543 |
<arg value="${buildDirectory}/${buildId}/notice.html" /> |
1760 |
<arg value="${buildDirectory}/${buildId}/notice.html" /> |
| 1544 |
<arg value="${buildDirectory}/${buildId}/epl-v10.html" /> |
1761 |
<arg value="${buildDirectory}/${buildId}/epl-v10.html" /> |
|
Lines 1568-1574
Link Here
|
| 1568 |
|
1785 |
|
| 1569 |
<!-- Add license and notice --> |
1786 |
<!-- Add license and notice --> |
| 1570 |
<exec executable="zip" failonerror="true"> |
1787 |
<exec executable="zip" failonerror="true"> |
| 1571 |
<arg value="-9juq" /> |
1788 |
<arg value="-9juqy" /> |
| 1572 |
<arg value="${newUTFile}" /> |
1789 |
<arg value="${newUTFile}" /> |
| 1573 |
<arg value="${buildDirectory}/${buildId}/notice.html" /> |
1790 |
<arg value="${buildDirectory}/${buildId}/notice.html" /> |
| 1574 |
<arg value="${buildDirectory}/${buildId}/epl-v10.html" /> |
1791 |
<arg value="${buildDirectory}/${buildId}/epl-v10.html" /> |
|
Lines 1602-1634
Link Here
|
| 1602 |
<antcall target="allinone.assemble"> |
1819 |
<antcall target="allinone.assemble"> |
| 1603 |
<param name="eviroment.modifier" value="win"/> |
1820 |
<param name="eviroment.modifier" value="win"/> |
| 1604 |
</antcall> |
1821 |
</antcall> |
| 1605 |
|
|
|
| 1606 |
|
| 1607 |
<!-- Temp. Work around for certain native components being installed in the p2 all-in-ones --> |
| 1608 |
|
| 1609 |
<exec executable="ls" outputproperty="plugin.dirs"> |
| 1610 |
<arg value="${buildDirectory}/win_allinone/eclipse/plugins" /> |
| 1611 |
</exec> |
| 1612 |
<exec executable="grep" outputproperty="probe.dir" inputstring="${plugin.dirs}"> |
| 1613 |
<arg value="org.eclipse.hyades.probekit_" /> |
| 1614 |
</exec> |
| 1615 |
|
| 1616 |
<copy todir="${buildDirectory}/linux_allinone/eclipse/plugins" includeEmptyDirs="true" preservelastmodified="true"> |
| 1617 |
<fileset dir="${buildDirectory}/post-build/eclipse/plugins" includes="**/org.eclipse.hyades.probekit_*/os/**"/> |
| 1618 |
</copy> |
| 1619 |
<copy todir="${buildDirectory}/win_allinone/eclipse/plugins" includeEmptyDirs="true" preservelastmodified="true"> |
| 1620 |
<fileset dir="${buildDirectory}/post-build/eclipse/plugins" includes="**/org.eclipse.hyades.probekit_*/os/**"/> |
| 1621 |
</copy> |
| 1622 |
|
| 1623 |
<unzip src="${publishDirectory}/pae.linux_ia32.zip" dest="${buildDirectory}/win_allinone/eclipse/plugins/${probe.dir}/os/linux/x86"/> |
| 1624 |
<unzip src="${publishDirectory}/pae.linux_ia32.zip" dest="${buildDirectory}/linux_allinone/eclipse/plugins/${probe.dir}/os/linux/x86"/> |
| 1625 |
<unzip src="${publishDirectory}/pae.win_ia32.zip" dest="${buildDirectory}/win_allinone/eclipse/plugins/${probe.dir}/os/win32/x86"/> |
| 1626 |
<unzip src="${publishDirectory}/pae.win_ia32.zip" dest="${buildDirectory}/linux_allinone/eclipse/plugins/${probe.dir}/os/win32/x86"/> |
| 1627 |
|
| 1628 |
<!-- Restore file permissions for linux --> |
| 1629 |
<chmod dir="${buildDirectory}/linux_allinone/eclipse/plugins" perm="755" includes="**/org.eclipse.hyades.probekit_*/os/linux/x86/*"/> |
| 1630 |
<chmod dir="${buildDirectory}/win_allinone/eclipse/plugins" perm="755" includes="**/org.eclipse.hyades.probekit_*/os/linux/x86/*"/> |
| 1631 |
|
| 1632 |
|
1822 |
|
| 1633 |
<exec executable="zip" dir="${buildDirectory}/win_allinone"> |
1823 |
<exec executable="zip" dir="${buildDirectory}/win_allinone"> |
| 1634 |
<arg line="-qry ${publishDirectory}/tptp.runtime.allInOne.win32.win32.x86-${buildId}.zip eclipse"/> |
1824 |
<arg line="-qry ${publishDirectory}/tptp.runtime.allInOne.win32.win32.x86-${buildId}.zip eclipse"/> |
|
Lines 1636-1642
Link Here
|
| 1636 |
<exec executable="zip" dir="${buildDirectory}/linux_allinone"> |
1826 |
<exec executable="zip" dir="${buildDirectory}/linux_allinone"> |
| 1637 |
<arg line="-qry ${publishDirectory}/tptp.runtime.allInOne.linux.gtk.x86-${buildId}.zip eclipse"/> |
1827 |
<arg line="-qry ${publishDirectory}/tptp.runtime.allInOne.linux.gtk.x86-${buildId}.zip eclipse"/> |
| 1638 |
</exec> |
1828 |
</exec> |
| 1639 |
|
1829 |
|
| 1640 |
<antcall target="publish" /> |
1830 |
<antcall target="publish" /> |
| 1641 |
|
1831 |
|
| 1642 |
<!-- Did any plugins fail? --> |
1832 |
<!-- Did any plugins fail? --> |