common/build.xml
changeset 85 834b82541047
parent 84 fcf94a72b33e
child 86 3922155d5f82
equal deleted inserted replaced
84:fcf94a72b33e 85:834b82541047
   133                 
   133                 
   134                 <!-- run interal target preparation-getenv -->
   134                 <!-- run interal target preparation-getenv -->
   135                 <runtarget target="preparation-getenv"/>
   135                 <runtarget target="preparation-getenv"/>
   136                 
   136                 
   137             </then>
   137             </then>
       
   138             <else>
       
   139                 <!-- record fact that no baseline used. required by diamondize-bom  -->
       
   140                 <touch file="${build.drive}/output/logs/BOM/baseline.txt"/>
       
   141             </else>
   138         </if>
   142         </if>
   139         
   143         
   140         <if>
   144         <if>
   141             <istrue value="${sf.spec.sourcesync.enable}" />
   145             <istrue value="${sf.spec.sourcesync.enable}" />
   142             <then>
   146             <then>
   143                 <runtarget target="sf-get-source"/>
   147                 <runtarget target="sf-get-source"/>
   144                 
   148                 <runtarget target="sf-merge-epoc32"/>
       
   149 
   145                 <if><istrue value="${sf.spec.package.src.enable}"/>
   150                 <if><istrue value="${sf.spec.package.src.enable}"/>
   146                 <then>
   151                 <then>
   147                     <echo message="INFO Packaging Source"/>
   152                     <echo message="INFO Packaging Source"/>
   148                     <runtarget target="sf-package-source"/>
   153                     <runtarget target="sf-package-source"/>
   149                 </then>
   154                 </then>
   150                 </if>
   155                 </if>
   151                 
   156             </then>
   152                 <!-- merge RnD binaries into the epoc tree -->
   157             <else>
   153                 <echo message="Merges RnD binaries into the Epoc tree"/>
   158                 <!-- record fact that no sources.csv used. required by diamondize-bom  -->
   154                 <exec executable="perl" dir="${build.drive}/" failonerror="true" output="${build.log.dir}/mergeepoc32.log">
   159                 <touch file="${build.log.dir}/BOM/sources.csv"/> 
   155                     <arg value="${sf.common.config.dir}/tools/mergeepoc32.pl"/>
   160             </else>
   156                 </exec>
       
   157             </then>
       
   158         </if>        
   161         </if>        
   159       <if>
   162       <if>
   160         <istrue value="${sf.spec.publish.enable}"/>
   163         <istrue value="${sf.spec.publish.enable}"/>
   161         <then>
   164         <then>
   162           <runtarget target="sf-diamondize-bom"/>
   165           <runtarget target="sf-diamondize-bom"/>
   354             <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
   357             <param name="zip.config.file" value="${sf.common.config.dir}/generated/zip.cfg.xml.ftl"/>
   355             <param name="zip.target.name" value="bin" />
   358             <param name="zip.target.name" value="bin" />
   356         </antcall>
   359         </antcall>
   357     </target>
   360     </target>
   358 
   361 
       
   362     <target name="sf-merge-epoc32">
       
   363     <!-- merge RnD binaries into the epoc tree -->
       
   364         <echo message="Merges RnD binaries into the Epoc tree"/>
       
   365         <copy todir="${build.drive}/epoc32" verbose="false" overwrite="true">
       
   366             <fileset dir="${build.drive}/rnd"/>
       
   367             <regexpmapper from="^(.*)/(.*)/epoc32/(.*)" to="\3" handledirsep="true"/>
       
   368         </copy>
       
   369   </target>
   359 </project>
   370 </project>
   360 
   371