common/build.xml
changeset 899 d80a65072ed8
parent 874 60a32d297711
child 900 ed28a33746f2
equal deleted inserted replaced
875:23913c0b1b13 899:d80a65072ed8
    52     <property name="build.system" value="${sf.spec.build.system}"/>
    52     <property name="build.system" value="${sf.spec.build.system}"/>
    53     <property name="base_release.path" value="${sf.spec.baseline.location}"/>
    53     <property name="base_release.path" value="${sf.spec.baseline.location}"/>
    54     <property name="base_release.getenv_options" value="${sf.spec.baseline.getenv_options}"/>
    54     <property name="base_release.getenv_options" value="${sf.spec.baseline.getenv_options}"/>
    55     <property name="ccm.user.password" value="set_to_any_value_to_skip_scm_checks__for_helium_5"/>
    55     <property name="ccm.user.password" value="set_to_any_value_to_skip_scm_checks__for_helium_5"/>
    56     <property name="ats.drive" value="${sf.spec.ats_worker.drive}"/>
    56     <property name="ats.drive" value="${sf.spec.ats_worker.drive}"/>
    57     
    57     <property name="skip.sbs.layer.generation" value="true"/> <!-- helium 7: needs to be predefined before hlm import --> 
    58     <if>
    58     <if>
    59       <isset property="sf.spec.sbs.numberofjobs"/>
    59       <isset property="sf.spec.sbs.numberofjobs"/>
    60       <then>
    60       <then>
    61         <property name="number.of.threads" value="${sf.spec.sbs.numberofjobs}"/>
    61         <property name="number.of.threads" value="${sf.spec.sbs.numberofjobs}"/>
    62       </then>
    62       </then>
    87         <else>
    87         <else>
    88             <property name="sf.spec.sourcesync.sourcespecdir" value="${sf.project.location}"/>
    88             <property name="sf.spec.sourcesync.sourcespecdir" value="${sf.project.location}"/>
    89         </else>
    89         </else>
    90     </if>
    90     </if>
    91     
    91     
       
    92     <!-- helium 7 compatability. needs to be defined -->
       
    93     <if>
       
    94       <or>
       
    95         <equals arg1="${helium.version}" arg2="7.0"/>
       
    96         <equals arg1="${last.major.helium.version}" arg2="7.0"/>
       
    97       </or>
       
    98       <then>
       
    99           <property name="schema.new" value="true"/>
       
   100       </then>
       
   101     </if>
       
   102     
       
   103     <!--
       
   104       - END OF PROPERTY DEFINITIONS, TARGETS START HERE
       
   105       -->
       
   106     
    92     <target name="sf-prep" depends="sf-prep-announce,prep-drive,init-build-area,create-bom,log-build-env">
   107     <target name="sf-prep" depends="sf-prep-announce,prep-drive,init-build-area,create-bom,log-build-env">
    93         <!-- Test for the disk space we would like for this build -->
   108         <!-- Test for the disk space we would like for this build -->
    94 	<fail>
   109 	<fail>
    95             <condition>
   110             <condition>
    96                 <not>
   111                 <not>
   437             </then>
   452             </then>
   438         </if>
   453         </if>
   439     </target>
   454     </target>
   440 
   455 
   441     <!-- This target is overridden in platform builds, but used directly in package builds -->
   456     <!-- This target is overridden in platform builds, but used directly in package builds -->
   442     <target name="sf-build-noprep" depends="sf-truclean,sf-model-from-project,sf-compile">
   457     <target name="sf-build-noprep" depends="sf-truclean,sf-model-from-project,sf-compile,sf-postbuild">
   443         <echo>[SF-BUILD-NOPREP]</echo>
   458         <echo>[SF-BUILD-NOPREP]</echo>
   444     </target>
   459     </target>
   445     
   460     
   446     <target name="create-canonical-sysdef-file">
   461     <target name="create-canonical-sysdef-file">
   447       <copy file="${build.drive}/${sf.spec.systemdefinition.location}" tofile="${canonical.sysdef.file}" failonerror="true" verbose="true"/>
   462       <copy file="${build.drive}/${sf.spec.systemdefinition.location}" tofile="${canonical.sysdef.file}" failonerror="true" verbose="true"/>