Remove template and fmmp generation from bootstrap. Use sourcefile definition from project spec.
<?xml version="1.0" encoding="UTF-8"?>
<project name="SF-BOOTSTRAP" default="bootstrap" xmlns:hlm="http://www.nokia.com/helium">
<dirname property="sf.bootstrap.dir" file="${ant.file.SF-CONFIG}"/>
<import file="bootstrap.properties.ant.xml" />
<import file="${helium.dir}/helium.ant.xml" />
<target name="bootstrap" depends="init,get-sf-config,get-project-config" />
<target name="init">
<mkdir dir="${bootstrap.base.dir}" />
<mkdir dir="${bootstrap.base.dir}/build" />
<mkdir dir="${bootstrap.base.dir}/build/config" />
</target>
<target name="clean-env">
<echo message="cleaning up the environment" />
<delete dir="${bootstrap.base.dir}/" />
</target>
<target name="get-sf-config">
<echo message="Getting sf helium configuration from repository ${sf.config.repository}" />
<hlm:scm verbose="true" scmUrl="scm:hg:${sf.config.repository}">
<hlm:checkout basedir="${bootstrap.base.dir}/sf-config"/>
</hlm:scm>
</target>
<target name="get-sbs-tools">
<!-- Todo: Move this to helium config or after parsing platform build configuration
to install the tools from there -->
<if>
<not><available file="${bootstrap.base.dir}/sbs"/></not>
<then>
<echo message="Extracting sbs tools ${sbs.tools.src.path}/${sbs.zip.file}" />
<unzip src="${sbs.tools.src.path}/${sbs.zip.file}" dest="${bootstrap.base.dir}" />
<echo message="Updating sbs tools path to batch file" />
<echo file="${bootstrap.base.dir}/build/env.bat" append="true" >set SBS_HOME=${bootstrap.base.dir}\sbs
set PATH=${bootstrap.base.dir}\sbs\bin;${bootstrap.base.dir}\sbs\win32\mingw\bin;${bootstrap.base.dir}\sbs\win32\cygwin\bin;%PATH%
</echo>
</then>
</if>
</target>
<target name="get-project-config">
<echo message="Getting project configuration${platform.config.repository}" />
<hlm:scm verbose="true" scmUrl="scm:hg:${platform.config.repository}">
<hlm:checkout basedir="${bootstrap.base.dir}/build/config"/>
</hlm:scm>
</target>
</project>