Initial implementation of publishing to Diamonds
authorDario Sestito <darios@symbian.org>
Mon, 15 Jun 2009 15:39:34 +0100
changeset 169 e7c76e615b76
parent 168 05a7cfefd85f
child 170 4b1e939c052c
Initial implementation of publishing to Diamonds
common/build.xml
common/common_props.ant.xml
sf-package/package_props.ant.xml
--- a/common/build.xml	Fri Jun 12 11:44:06 2009 +0100
+++ b/common/build.xml	Mon Jun 15 15:39:34 2009 +0100
@@ -21,6 +21,9 @@
     <property name="prep.root.dir" value="${sf.spec.job.rootdir}"/>
     <property name="publish" value="${sf.spec.publish.enable}"/>
     <property name="publish.root.dir" value="${sf.spec.publish.rootdir}"/>
+    <property name="diamonds.host" value="${sf.spec.publish.diamonds.server}"/>
+    <property name="diamonds.port" value="${sf.spec.publish.diamonds.port}"/>
+    <property name="diamonds.path" value="${sf.spec.publish.diamonds.path}"/>
     <property name="build.system" value="${sf.spec.build.system}"/>
     <property name="base_release.path" value="${sf.spec.baseline.location}"/>
     <property name="base_release.getenv_options" value="${sf.spec.baseline.getenv_options}"/>
@@ -147,6 +150,13 @@
     <target name="sf-prebuild">
         <echo>[SF-PREBUILD]</echo>
         
+        <if>
+            <istrue value="${sf.spec.publish.enable}"/>
+            <then>
+                <runtarget target="diamonds"/>
+            </then>
+        </if>
+        
         <!-- create BOM dir -->
         <mkdir dir="${build.drive}/output/logs/BOM"/>
         
--- a/common/common_props.ant.xml	Fri Jun 12 11:44:06 2009 +0100
+++ b/common/common_props.ant.xml	Mon Jun 15 15:39:34 2009 +0100
@@ -47,8 +47,11 @@
     <property name="sf.spec.publish.unpackagedartefacts.enable" value="true"/>
     <property name="sf.spec.publish.packagedartefacts.enable" value="true"/>
     <property name="sf.spec.publish.network.freespace" value="10"/>
-    <property name="sf.spec.publish.networkdrive" value="\\lon-engbuild87\d$\SF_builds"/>
-    <property name="sf.spec.publish.rootdir" value="\\lon-engbuild87\d$\SF_builds"/>
+    <property name="sf.spec.publish.networkdrive" value="\\v800008.ad-sfpd.intra\g$\SF_builds"/>
+    <property name="sf.spec.publish.rootdir" value="\\v800008.ad-sfpd.intra\g$\SF_builds"/>
+    <property name="sf.spec.publish.diamonds.server" value="v800002.ad-sfpd.intra"/>
+    <property name="sf.spec.publish.diamonds.port" value="80"/>
+    <property name="sf.spec.publish.diamonds.path" value="/diamonds/builds/"/>
     
     <property name="sf.spec.tagafterbuild.enable" value="false"/>
 
--- a/sf-package/package_props.ant.xml	Fri Jun 12 11:44:06 2009 +0100
+++ b/sf-package/package_props.ant.xml	Mon Jun 15 15:39:34 2009 +0100
@@ -16,9 +16,6 @@
   <!-- property name="sf.spec.publish.rootdir" value="\\sym-build01\f$\SF_builds"/ -->
   
   <property name="sf.spec.logs.raptorfilter.enable" value="false"/>
-  
-  <property name="sf.spec.publish.networkdrive" value="D:\SF_builds"/>
-  <property name="sf.spec.publish.rootdir" value="D:\SF_builds"/>
 
 </project>