imakerplugin/publish.xml
author dpodwall
Tue, 12 Jan 2010 13:17:53 -0600
changeset 0 61163b28edca
permissions -rw-r--r--
initial EPL conversion

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