equal
deleted
inserted
replaced
366 <exec executable="hg" dir="${sf.config.dir}" outputproperty="sf.job.bom.config.checksum"> |
366 <exec executable="hg" dir="${sf.config.dir}" outputproperty="sf.job.bom.config.checksum"> |
367 <arg value="identify"/> |
367 <arg value="identify"/> |
368 <arg value="-i"/> |
368 <arg value="-i"/> |
369 </exec> |
369 </exec> |
370 <echo message="${sf.job.bom.config.repo},sf-config,${sf.job.bom.config.checksum}" file="${build.drive}/output/logs/BOM/config.csv"/> |
370 <echo message="${sf.job.bom.config.repo},sf-config,${sf.job.bom.config.checksum}" file="${build.drive}/output/logs/BOM/config.csv"/> |
|
371 <!-- Record revision of config repository into BIT file --> |
|
372 <echo message="content	config,${sf.job.bom.config.repo},${sf.job.bom.config.checksum}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/> |
371 |
373 |
372 <exec executable="hg" dir="${sf.project.location}" outputproperty="sf.job.bom.project.repo"> |
374 <exec executable="hg" dir="${sf.project.location}" outputproperty="sf.job.bom.project.repo"> |
373 <arg value="showconfig"/> |
375 <arg value="showconfig"/> |
374 <arg value="paths.default"/> |
376 <arg value="paths.default"/> |
375 </exec> |
377 </exec> |
377 <exec executable="hg" dir="${sf.project.location}" outputproperty="sf.job.bom.project.checksum"> |
379 <exec executable="hg" dir="${sf.project.location}" outputproperty="sf.job.bom.project.checksum"> |
378 <arg value="identify"/> |
380 <arg value="identify"/> |
379 <arg value="-i"/> |
381 <arg value="-i"/> |
380 </exec> |
382 </exec> |
381 <echo message="${sf.job.bom.project.repo},build/config,${sf.job.bom.project.checksum}" file="${build.drive}/output/logs/BOM/project.csv"/> |
383 <echo message="${sf.job.bom.project.repo},build/config,${sf.job.bom.project.checksum}" file="${build.drive}/output/logs/BOM/project.csv"/> |
|
384 <!-- Record revision of project repository into BIT file --> |
|
385 <echo message="content	project,${sf.job.bom.project.repo},${sf.job.bom.project.checksum}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/> |
382 </target> |
386 </target> |
383 |
387 |
384 <target name="sf-get-utils"> |
388 <target name="sf-get-utils"> |
385 <stopwatch name="sf-get-utils"/> |
389 <stopwatch name="sf-get-utils"/> |
386 <echo message="Cloning utilities repository to ${build.drive}/utilities"/> |
390 <echo message="Cloning utilities repository to ${build.drive}/utilities"/> |
389 <arg value="--updaterev"/> |
393 <arg value="--updaterev"/> |
390 <arg value="default"/> |
394 <arg value="default"/> |
391 <arg value="http://developer.symbian.org/oss/MCL/sftools/fbf/utilities"/> |
395 <arg value="http://developer.symbian.org/oss/MCL/sftools/fbf/utilities"/> |
392 <arg value="${build.drive}/utilities"/> |
396 <arg value="${build.drive}/utilities"/> |
393 </exec> |
397 </exec> |
|
398 <exec executable="hg" dir="${build.drive}/utilities" outputproperty="sf.job.bom.utilities.checksum"> |
|
399 <arg value="identify"/> |
|
400 <arg value="-i"/> |
|
401 </exec> |
|
402 <!-- Record revision of utilities repository into BIT file --> |
|
403 <echo message="content	utilities,http://developer.symbian.org/oss/MCL/sftools/fbf/utilities,${sf.job.bom.utilities.checksum}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/> |
394 <stopwatch name="sf-get-utils" action="elapsed"/> |
404 <stopwatch name="sf-get-utils" action="elapsed"/> |
395 </target> |
405 </target> |
396 |
406 |
397 <target name="sf-getenvs"> |
407 <target name="sf-getenvs"> |
398 <stopwatch name="sf-getenvs"/> |
408 <stopwatch name="sf-getenvs"/> |
404 <if> |
414 <if> |
405 <istrue value="${sf.spec.toolsbaseline.enable}" /> |
415 <istrue value="${sf.spec.toolsbaseline.enable}" /> |
406 <then> |
416 <then> |
407 <stopwatch name="sf-getenvs (tools)"/> |
417 <stopwatch name="sf-getenvs (tools)"/> |
408 |
418 |
409 <!-- record toolsbaseline information in BOM file --> |
419 <!-- record toolsbaseline information in BOM file and in BIT file --> |
410 <echo message="${sf.spec.toolsbaseline.location}" file="${build.drive}/output/logs/BOM/toolsbaseline.txt"/> |
420 <echo message="${sf.spec.toolsbaseline.location}" file="${build.drive}/output/logs/BOM/toolsbaseline.txt"/> |
|
421 <echo message="content	toolsbaseline,toolsbaseline,${sf.spec.toolsbaseline.location}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/> |
411 |
422 |
412 <!-- wrapper around preparation-getenv but with diff params --> |
423 <!-- wrapper around preparation-getenv but with diff params --> |
413 <runtarget target="sf-getenv-tools"/> |
424 <runtarget target="sf-getenv-tools"/> |
414 |
425 |
415 <echo message="INFO Getting tools environment listing"/> |
426 <echo message="INFO Getting tools environment listing"/> |
424 <touch file="${build.drive}/output/logs/BOM/baseline.txt"/> |
435 <touch file="${build.drive}/output/logs/BOM/baseline.txt"/> |
425 <if> |
436 <if> |
426 <istrue value="${sf.spec.baseline.enable}" /> |
437 <istrue value="${sf.spec.baseline.enable}" /> |
427 <then> |
438 <then> |
428 <stopwatch name="sf-getenvs (baseline)"/> |
439 <stopwatch name="sf-getenvs (baseline)"/> |
429 <!-- record baseline information in BOM file --> |
440 <!-- record baseline information in BOM file and in BIT file --> |
430 <echo message="${sf.spec.baseline.location}" file="${build.drive}/output/logs/BOM/baseline.txt"/> |
441 <echo message="${sf.spec.baseline.location}" file="${build.drive}/output/logs/BOM/baseline.txt"/> |
|
442 <echo message="content	baseline,baseline,${sf.spec.baseline.location}${line.separator}" file="${build.log.dir}/bitinfo.txt" append="true"/> |
431 |
443 |
432 <!-- run internal target preparation-getenv --> |
444 <!-- run internal target preparation-getenv --> |
433 <delete file="${build.drive}/currentRelease.xml"/> |
445 <delete file="${build.drive}/currentRelease.xml"/> |
434 <runtarget target="preparation-getenv"/> |
446 <runtarget target="preparation-getenv"/> |
435 <stopwatch name="sf-getenvs (baseline)" action="elapsed"/> |
447 <stopwatch name="sf-getenvs (baseline)" action="elapsed"/> |