5 |
5 |
6 <property name="sf.subproject.path" value=""/> |
6 <property name="sf.subproject.path" value=""/> |
7 <property name="sf.project.location" value="${sf.config.dir}/../build/config/${sf.subproject.path}"/> |
7 <property name="sf.project.location" value="${sf.config.dir}/../build/config/${sf.subproject.path}"/> |
8 <property name="sf.project.name" value="job"/> |
8 <property name="sf.project.name" value="job"/> |
9 |
9 |
10 <!-- import job properties --> |
|
11 <import file="${sf.project.location}/${sf.project.name}_props.ant.xml" optional="yes"/> |
|
12 |
|
13 <!-- Override Helium defaults to allow winscw builds without RVCT --> |
10 <!-- Override Helium defaults to allow winscw builds without RVCT --> |
14 <target name="check-env-arm-license"/> |
11 <target name="check-env-arm-license"/> |
15 <target name="get-arm-license"/> |
12 <target name="get-arm-license"/> |
16 <target name="set-arm-version"/> |
13 <target name="set-arm-version"/> |
17 |
14 |
18 <!-- import helium task definitions to allow usage of ant-contrib tasks --> |
15 <!-- import helium task definitions to allow usage of ant-contrib tasks --> |
19 <import file="${helium.dir}/helium_preinclude.ant.xml"/> |
16 <import file="${helium.dir}/helium_preinclude.ant.xml"/> |
20 |
17 |
|
18 <!-- import job properties --> |
|
19 <if><isfalse value="${sf.production.build}"/> |
|
20 <then> |
|
21 <echo message="INFO Using Public properties defined in ${sf.project.location}/public_override_props.ant.xml"/> |
|
22 <import file="${sf.project.location}/public_override_props.ant.xml" optional="yes"/> |
|
23 </then> |
|
24 </if> |
|
25 <import file="${sf.project.location}/${sf.project.name}_props.ant.xml" optional="yes"/> |
|
26 |
21 <!-- set sf.spec.job.name and sf.spec.job.codeline if they are not specified in the project's job_props.ant.xml --> |
27 <!-- set sf.spec.job.name and sf.spec.job.codeline if they are not specified in the project's job_props.ant.xml --> |
22 <propertyregex override="yes" property="jobname" input="${sf.subproject.path}" regexp=".*[\\/]([^\\^/]+)" replace="\1"/> |
28 <propertyregex override="yes" property="jobname" input="${sf.subproject.path}" regexp=".*[\\/]([^\\^/]+)" replace="\1"/> |
23 <property name="jobname" value="${sf.subproject.path}"/> |
29 <property name="jobname" value="${sf.subproject.path}"/> |
24 <propertyregex override="yes" property="codeline" input="${sf.subproject.path}" regexp="^([^\\^/]+)[\\/].*" replace="\1"/> |
30 <propertyregex override="yes" property="codeline" input="${sf.subproject.path}" regexp="^([^\\^/]+)[\\/].*" replace="\1"/> |
25 <property name="codeline" value="default"/> |
31 <property name="codeline" value="default"/> |