buildframework/helium/tools/publish/synergy.ant.xml
changeset 587 85df38eb4012
parent 217 0f5e3a7fb6af
child 628 7c4a911dc066
equal deleted inserted replaced
217:0f5e3a7fb6af 587:85df38eb4012
    27     </description>
    27     </description>
    28 
    28 
    29     <!-- Validate all the inputs for the publish-tasks-to-folder target. -->
    29     <!-- Validate all the inputs for the publish-tasks-to-folder target. -->
    30     <target name="publish-tasks-to-folder-check" if="publish.ccm.folder">
    30     <target name="publish-tasks-to-folder-check" if="publish.ccm.folder">
    31         <condition property="do.publish-tasks-to-folder" value="true">
    31         <condition property="do.publish-tasks-to-folder" value="true">
    32             <available file="${temp.build.dir}/${build.id}_bom.xml" />
    32             <available file="${build.log.dir}/${build.id}_bom.xml" />
    33         </condition>
    33         </condition>
    34     </target>
    34     </target>
    35 
    35 
    36     <!-- Copies all the task found in the BOM into defined folder. -->
    36     <!-- Copies all the task found in the BOM into defined folder. -->
    37     <target name="publish-tasks-to-folder" depends="publish-tasks-to-folder-check" if="do.publish-tasks-to-folder">
    37     <target name="publish-tasks-to-folder" depends="publish-tasks-to-folder-check" if="do.publish-tasks-to-folder">
    39         <fmpp sourceFile="${helium.dir}/tools/common/templates/ido/task-publish.ant.xml.ftl" outputFile="${temp.build.dir}/task-publish.ant.xml">
    39         <fmpp sourceFile="${helium.dir}/tools/common/templates/ido/task-publish.ant.xml.ftl" outputFile="${temp.build.dir}/task-publish.ant.xml">
    40             <freemarkerLinks expandProperties="yes">
    40             <freemarkerLinks expandProperties="yes">
    41                 macro: ${helium.dir}/tools/common/templates/macro
    41                 macro: ${helium.dir}/tools/common/templates/macro
    42             </freemarkerLinks>
    42             </freemarkerLinks>
    43             <data expandProperties="yes">
    43             <data expandProperties="yes">
    44                 bom: xml(${temp.build.dir}/${build.id}_bom.xml)
    44                 bom: xml(${build.log.dir}/${build.id}_bom.xml)
    45                 ant: antProperties()
    45                 ant: antProperties()
    46             </data>
    46             </data>
    47         </fmpp>
    47         </fmpp>
    48         <hlm:assertFileExists file="${temp.build.dir}/task-publish.ant.xml" />
    48         <hlm:assertFileExists file="${temp.build.dir}/task-publish.ant.xml" />
    49         <ant antfile="${temp.build.dir}/task-publish.ant.xml" dir="${build.drive}/" />
    49         <ant antfile="${temp.build.dir}/task-publish.ant.xml" dir="${build.drive}/" />
    50     </target>
    50     </target>
       
    51 
       
    52     <!--* @property ccm.cache.xml
       
    53     Location of the cache.xml file which enables global synergy sessions.
       
    54     @type string
       
    55     @editable required
       
    56     @scope public
       
    57     -->
    51 
    58 
    52     <!-- Change team level release tag to program level release tag -->
    59     <!-- Change team level release tag to program level release tag -->
    53     <target name="change-release-tag" if="teamlevel.ci.system">
    60     <target name="change-release-tag" if="teamlevel.ci.system">
    54         <if>
    61         <if>
    55             <isset property="ccm.cache.xml" />
    62             <isset property="ccm.cache.xml" />