|
Helium API | ||||||
prev next | frames no frames |
Location
d:\maintools\sf-config\common\build.xml:95:
Conditional execution
No conditions on target execution.
Name |
---|
perl |
perl |
Name | Edit status |
---|---|
User editable properties | |
Internal properties | |
build.log.dir | discouraged |
<target name="sf-check-env"> <!-- Conditional location of BuildEnv.xml. Project always preferred to default --> <if><available file="${sf.project.location}/BuildEnv.xml"/> <then> <property name="sf.buildenv.location" value="${sf.project.location}"/> </then> <else> <property name="sf.buildenv.location" value="${sf.common.config.dir}/tools"/> </else> </if> <echo message="Build Env against ${sf.buildenv.location}/BuildEnv.xml"/> <exec executable="perl" dir="${sf.common.config.dir}/tools" resultproperty="sf.checkenv.exit"> <arg value="CheckBuildEnv.pl"/> <arg value="--xml=${sf.buildenv.location}/BuildEnv.xml"/> <arg value="--dbg=${build.log.dir}/BuildEnvironmentCheck.log"/> <arg value="--sbs='${sf.spec.sbs.config}'"/> <arg value="--tools='${sf.spec.sbs.tools.config}'"/> <arg value="Common"/> </exec> <exec executable="perl" failonerror="false" output="${build.log.dir}/summary/BuildEnvironmentCheck_BRAG.xml" logError="true"> <arg value="${sf.common.config.dir}/tools/brag/logToBRAG.pl"/> <arg value="--phase=Prebuild"/> <arg value="--step=Build Environment Check"/> <arg value="--rules=${sf.common.config.dir}/tools/brag/rules.BuildEnvironmentCheck.tsv"/> <arg value="${build.log.dir}/BuildEnvironmentCheck.log"/> </exec> <fail> <condition> <not> <or> <equals arg1="sf.checkenv.exit" arg2="0"/> <isset property="sf.suppress.buildenv.check"/> </or> </not> </condition> Build Environment Check failed. To stop this failure aborting the build set property sf.suppress.buildenv.check to any value. </fail> </target>
|
Helium API | ||||||
prev next | frames no frames |