buildframework/helium/tools/publish/synergy.ant.xml
branchfix
changeset 395 5ad27ebafc22
parent 217 0f5e3a7fb6af
child 587 85df38eb4012
--- a/buildframework/helium/tools/publish/synergy.ant.xml	Thu Mar 25 12:47:55 2010 +0000
+++ b/buildframework/helium/tools/publish/synergy.ant.xml	Thu Mar 25 14:10:11 2010 +0000
@@ -20,6 +20,7 @@
 
 ============================================================================
 -->
+<!--* @package publishing -->
 <project name="publish.synergy" xmlns:hlm="http://www.nokia.com/helium">
     <description>
     Synergy publishing related targets
@@ -27,12 +28,9 @@
 
     <!-- Validate all the inputs for the publish-tasks-to-folder target. -->
     <target name="publish-tasks-to-folder-check" if="publish.ccm.folder">
-        <if>
-            <available file="${build.log.dir}/${build.id}_bom.xml" />
-            <then>
-                <property name="do.publish-tasks-to-folder" value="true" />
-            </then>
-        </if>
+        <condition property="do.publish-tasks-to-folder" value="true">
+            <available file="${temp.build.dir}/${build.id}_bom.xml" />
+        </condition>
     </target>
 
     <!-- Copies all the task found in the BOM into defined folder. -->
@@ -43,7 +41,7 @@
                 macro: ${helium.dir}/tools/common/templates/macro
             </freemarkerLinks>
             <data expandProperties="yes">
-                bom: xml(${build.log.dir}/${build.id}_bom.xml)
+                bom: xml(${temp.build.dir}/${build.id}_bom.xml)
                 ant: antProperties()
             </data>
         </fmpp>