0
|
1 |
<!--****************************************************************************
|
|
2 |
* Configuration tool main build file
|
|
3 |
* This ant build.xml will compile all Configuration tool plugins
|
|
4 |
****************************************************************************-->
|
|
5 |
|
|
6 |
|
|
7 |
|
|
8 |
<project name="BuildPuplisher" default="publish">
|
|
9 |
<property file="common.properties"/>
|
|
10 |
<property file="publish.properties"/>
|
|
11 |
<property name="feature.name" value="com.nokia.carbide.extensions.imaker_${plugin.version}.zip" />
|
|
12 |
|
|
13 |
<target name="publish" depends="publish-release"/>
|
|
14 |
|
|
15 |
<target name="create.zip">
|
|
16 |
<ant antfile="build.xml" target="zip.distribution" />
|
|
17 |
</target>
|
|
18 |
|
|
19 |
<!-- publishing build logs -->
|
|
20 |
<target name="publish-release" depends="create.zip">
|
|
21 |
<echo>Publishing....</echo>
|
|
22 |
<exec executable="pscp">
|
|
23 |
<arg line="-batch -pw ${publish.pword}"/>
|
|
24 |
<arg line="install/${feature.name}"/>
|
|
25 |
<arg line="'${publish.user}@${publish.server}:${publish.release}'"/>
|
|
26 |
</exec>
|
|
27 |
</target>
|
|
28 |
</project>
|