1. Run Packaging src at start and bin at end of build.
authorShabe Razvi <shaber@symbian.org>
Wed, 29 Apr 2009 15:02:21 +0100
changeset 74 d6aee860ab32
parent 73 b8d6af733d6d
child 75 df71a85ab63f
1. Run Packaging src at start and bin at end of build. 2. Make src/bin packaging configurable.
common/build.xml
common/common_props.ant.xml
--- a/common/build.xml	Wed Apr 29 14:39:49 2009 +0100
+++ b/common/build.xml	Wed Apr 29 15:02:21 2009 +0100
@@ -141,9 +141,14 @@
             <istrue value="${sf.spec.sourcesync.enable}" />
             <then>
                 <runtarget target="sf-get-source"/>
+				
+				<if><istrue value="${sf.spec.package.src.enable}"/>
+				<then>
+					<echo message="INFO Packaging Source"/>
+					<runtarget target="sf-package-source"/>
+				</then>
             </then>
-        </if>
-        
+        </if>        
       <if>
         <istrue value="${sf.spec.publish.enable}"/>
         <then>
@@ -163,6 +168,14 @@
         <runtarget target="sf-tag-hg-code"/>
       </then>
     </if>
+	
+	<if>
+		<istrue value="${sf.spec.package.bin.enable}"/>
+		<then>
+			<echo message="INFO Packaging Binaries"/>
+			<runtarget target="sf-package-binary"/>
+		</then>
+	</if>
 
     <!-- PUBLISH LOGS/REPORTS -->
     <if>
--- a/common/common_props.ant.xml	Wed Apr 29 14:39:49 2009 +0100
+++ b/common/common_props.ant.xml	Wed Apr 29 15:02:21 2009 +0100
@@ -62,6 +62,10 @@
     <!-- zip all logs before publish -->
     <property name="sf.spec.logs.zip.enable"  value="true"/>
 	
+	<!-- packaging options for bin/src-->
+	<property name="sf.spec.package.bin.enable"  value="false"/>
+	<property name="sf.spec.package.src.enable"  value="false"/>
+	
 </project>