imakerplugin/publish.xml
author wpaul
Mon, 13 Sep 2010 14:05:45 -0500
changeset 22 0db329b41f7d
parent 0 61163b28edca
permissions -rw-r--r--
fixed up metadata editor branding/discovery/etc.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
0
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     1
<!--****************************************************************************
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     2
 * Configuration tool main build file
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     3
 * This ant build.xml will compile all Configuration tool plugins
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     4
 ****************************************************************************-->
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     5
 
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     6
	
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     7
	 
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     8
<project name="BuildPuplisher" default="publish">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
     9
	<property file="common.properties"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    10
  <property file="publish.properties"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    11
	<property name="feature.name" value="com.nokia.carbide.extensions.imaker_${plugin.version}.zip" />
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    12
	
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    13
	<target name="publish" depends="publish-release"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    14
	
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    15
	<target name="create.zip">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    16
		<ant antfile="build.xml" target="zip.distribution" />
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    17
	</target>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    18
	
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    19
	<!-- publishing build logs --> 
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    20
  <target name="publish-release" depends="create.zip">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    21
  	<echo>Publishing....</echo>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    22
    <exec executable="pscp">
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    23
    	<arg line="-batch -pw ${publish.pword}"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    24
    	<arg line="install/${feature.name}"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    25
    	<arg line="'${publish.user}@${publish.server}:${publish.release}'"/>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    26
    </exec>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    27
  </target>
61163b28edca initial EPL conversion
dpodwall
parents:
diff changeset
    28
</project>