buildframework/helium/tools/publish/synergy.ant.xml
changeset 179 d8ac696cc51f
parent 1 be27ed110b50
child 217 0f5e3a7fb6af
child 593 4367a1b2db65
--- a/buildframework/helium/tools/publish/synergy.ant.xml	Wed Oct 28 14:39:48 2009 +0000
+++ b/buildframework/helium/tools/publish/synergy.ant.xml	Wed Dec 23 19:29:07 2009 +0200
@@ -27,12 +27,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 +40,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>