imakerplugin/publish.xml
author Maria Zhelezova <ext-maria.zhelezova@nokia.com>
Tue, 21 Sep 2010 09:43:02 +0300
changeset 26 350c5c4e8c97
parent 0 61163b28edca
permissions -rw-r--r--
Framework 1.9.0.2

<!--****************************************************************************
 * 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>