Remove template and fmmp generation from bootstrap. Use sourcefile definition from project spec.
authorshaberazvi@LON-ENGBUILD88.prod.ad.symbian.intra
Thu, 05 Mar 2009 18:00:27 +0000
changeset 4 5a8eb3466f9f
parent 3 c360fdfe164c
child 5 6034a0544962
Remove template and fmmp generation from bootstrap. Use sourcefile definition from project spec.
bootstrap.properties.ant.xml
bootstrap.xml
--- a/bootstrap.properties.ant.xml	Wed Mar 04 16:51:58 2009 +0000
+++ b/bootstrap.properties.ant.xml	Thu Mar 05 18:00:27 2009 +0000
@@ -11,5 +11,4 @@
     
     <!-- the build dir to put bootstrap files into -->
     <property name="bootstrap.base.dir" value="e:\build_e\sf-bootstrap-new" />
-    <property name="hg.config" value="sources.csv" />
 </project>
\ No newline at end of file
--- a/bootstrap.xml	Wed Mar 04 16:51:58 2009 +0000
+++ b/bootstrap.xml	Thu Mar 05 18:00:27 2009 +0000
@@ -6,14 +6,14 @@
     <import file="bootstrap.properties.ant.xml" />
     <import file="${helium.dir}/helium.ant.xml" />    
 
-    <target name="bootstrap" depends="init,get-sf-config,get-platform-config, parse-platform-config,
-                generate-pkg-build-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}/" />
@@ -42,28 +42,12 @@
    	    </if>
     </target>
 
-    <target name="get-platform-config">
-        <echo message="Getting platform configuration${platform.config.repository}" />
+    <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>
 
-    <target name="parse-platform-config">
-        <!-- Todo: Parse the platform config and generate properties and csv file to be
-            used by the builds. -->
-        <echo message="Parse the platform configuration" />
-    </target>
-    
-    <target name="generate-pkg-build-xml" depends="parse-platform-config">
-        <!-- Todo: 1. Same file name hg-pkg-build.ant.xml is used for all packages
-            for multiple package builds, this needs to be linked with package name. -->
-        <fmpp sourceFile="${sf.bootstrap.dir}/templates/hg-pkg-build.ant.xml.ftl"
-                     outputFile="${bootstrap.base.dir}/build/hg-pkg-build.ant.xml">
-               <data expandProperties="yes">
-                    ant: antProperties()
-                    data: csv(${bootstrap.base.dir}/build/config/${hg.config}, {separator:','})
-                </data>
-        </fmpp>
-    </target>
+
 </project>
\ No newline at end of file