imakerplugin/publish.xml
changeset 0 61163b28edca
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/imakerplugin/publish.xml	Tue Jan 12 13:17:53 2010 -0600
@@ -0,0 +1,28 @@
+<!--****************************************************************************
+ * Configuration tool main build file
+ * This ant build.xml will compile all Configuration tool plugins
+ ****************************************************************************-->
+ 
+	
+	 
+<project name="BuildPuplisher" default="publish">
+	<property file="common.properties"/>
+  <property file="publish.properties"/>
+	<property name="feature.name" value="com.nokia.carbide.extensions.imaker_${plugin.version}.zip" />
+	
+	<target name="publish" depends="publish-release"/>
+	
+	<target name="create.zip">
+		<ant antfile="build.xml" target="zip.distribution" />
+	</target>
+	
+	<!-- publishing build logs --> 
+  <target name="publish-release" depends="create.zip">
+  	<echo>Publishing....</echo>
+    <exec executable="pscp">
+    	<arg line="-batch -pw ${publish.pword}"/>
+    	<arg line="install/${feature.name}"/>
+    	<arg line="'${publish.user}@${publish.server}:${publish.release}'"/>
+    </exec>
+  </target>
+</project>