build.xml
changeset 1056 0d7b12764c40
parent 926 86dabb8aa2dd
child 1097 561033b10e0f
equal deleted inserted replaced
1055:d3c5525768c5 1056:0d7b12764c40
    12   
    12   
    13   <!-- Override Helium defaults to allow winscw builds without RVCT -->
    13   <!-- Override Helium defaults to allow winscw builds without RVCT -->
    14   <target name="check-env-arm-license"/>
    14   <target name="check-env-arm-license"/>
    15   <target name="get-arm-license"/>
    15   <target name="get-arm-license"/>
    16   <target name="set-arm-version"/>
    16   <target name="set-arm-version"/>
    17   
    17 
       
    18   <!-- import helium task definitions to allow usage of ant-contrib tasks -->
       
    19   <import file="${helium.dir}/helium_preinclude.ant.xml"/>
       
    20    
    18   <!-- set sf.spec.job.name and sf.spec.job.codeline if they are not specified in the project's job_props.ant.xml -->
    21   <!-- set sf.spec.job.name and sf.spec.job.codeline if they are not specified in the project's job_props.ant.xml -->
    19   <path id="lib.path">
       
    20     <fileset dir="${helium.dir}/external/antlibs" includes="**/*.jar"/>
       
    21   </path>
       
    22   <taskdef resource="net/sf/antcontrib/antlib.xml" classpathref="lib.path"/>
       
    23   <propertyregex override="yes" property="jobname" input="${sf.subproject.path}" regexp=".*[\\/]([^\\^/]+)" replace="\1"/>
    22   <propertyregex override="yes" property="jobname" input="${sf.subproject.path}" regexp=".*[\\/]([^\\^/]+)" replace="\1"/>
    24   <property name="jobname" value="${sf.subproject.path}"/>
    23   <property name="jobname" value="${sf.subproject.path}"/>
    25   <propertyregex override="yes" property="codeline" input="${sf.subproject.path}" regexp="^([^\\^/]+)[\\/].*" replace="\1"/>
    24   <propertyregex override="yes" property="codeline" input="${sf.subproject.path}" regexp="^([^\\^/]+)[\\/].*" replace="\1"/>
    26   <property name="codeline" value="default"/>
    25   <property name="codeline" value="default"/>
    27   <property name="sf.spec.job.name" value="${jobname}"/>
    26   <property name="sf.spec.job.name" value="${jobname}"/>