common/build.xml
changeset 118 9765c33f29a5
parent 114 585c31b1dac6
child 123 5b2818c52aae
child 125 a4079a41ca7f
child 192 d5964b46ccaf
equal deleted inserted replaced
117:483f966c6335 118:9765c33f29a5
   168       </if>
   168       </if>
   169     </target>
   169     </target>
   170     
   170     
   171     <target name="sf-postbuild">
   171     <target name="sf-postbuild">
   172         <echo>[SF-POSTBUILD]</echo>
   172         <echo>[SF-POSTBUILD]</echo>
   173         
   173                 
       
   174         <!-- TAG SOURCE CODE -->
       
   175         <if>
       
   176             <istrue value="${sf.spec.tagafterbuild.enable}" />
       
   177             <then>
       
   178                 <echo message="Apply tag to the source code used in this build"/>
       
   179                 <runtarget target="sf-tag-hg-code"/>
       
   180             </then>
       
   181         </if>
       
   182     
       
   183         <if>
       
   184             <istrue value="${sf.spec.package.bin.enable}"/>
       
   185             <then>
       
   186                 <echo message="INFO Packaging Binaries"/>
       
   187                 <runtarget target="sf-package-binary"/>
       
   188             </then>
       
   189         </if>
       
   190 
       
   191         <if><istrue value="${sf.spec.test.sendpkg.enable}"/>
       
   192             <then>
       
   193                 <runtarget target="sf-send-testpkg"/>
       
   194             </then>
       
   195         </if>
       
   196 
   174         <!-- run build analysis tools -->
   197         <!-- run build analysis tools -->
   175         <runtarget target="sf-run-analysis"/>
   198         <runtarget target="sf-run-analysis"/>
   176         
       
   177         <!-- TAG SOURCE CODE -->
       
   178         <if>
       
   179             <istrue value="${sf.spec.tagafterbuild.enable}" />
       
   180             <then>
       
   181                 <echo message="Apply tag to the source code used in this build"/>
       
   182                 <runtarget target="sf-tag-hg-code"/>
       
   183             </then>
       
   184         </if>
       
   185     
       
   186         <if>
       
   187             <istrue value="${sf.spec.package.bin.enable}"/>
       
   188             <then>
       
   189                 <echo message="INFO Packaging Binaries"/>
       
   190                 <runtarget target="sf-package-binary"/>
       
   191             </then>
       
   192         </if>
       
   193 
       
   194         <if><istrue value="${sf.spec.test.sendpkg.enable}"/>
       
   195             <then>
       
   196                 <runtarget target="sf-send-testpkg"/>
       
   197             </then>
       
   198         </if>
       
   199 
   199 
   200         <runtarget target="sf-zip-logs"/>
   200         <runtarget target="sf-zip-logs"/>
   201 
   201 
   202         <!-- PUBLISH LOGS/REPORTS -->
   202         <!-- PUBLISH LOGS/REPORTS -->
   203         <if>
   203         <if>