author | vasuds@2INL03378.NOE.Nokia.com |
Wed, 07 Jul 2010 16:18:07 +0530 | |
changeset 0 | a44900f0f001 |
permissions | -rw-r--r-- |
0
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
1 |
<?xml version="1.0"?> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
2 |
<project name="project" default="init" basedir="../.."> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
3 |
<property file="build.properties" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
4 |
<property name="packageDir" value="Downloads" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
5 |
|
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
6 |
|
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
7 |
<target name="init"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
8 |
<tstamp /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
9 |
<property name="timestamp" value="${DSTAMP}${TSTAMP}" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
10 |
|
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
11 |
<property name="root" value="${basedir}/workdir" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
12 |
<property name="buildRoot" value="${root}/${buildType}-${realBuildId}" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
13 |
<property name="buildLabel" value="${buildType}-${realBuildId}-${timestamp}" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
14 |
<property name="buildDirectory" value="${buildRoot}/src/eclipse" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
15 |
<antcall target="clean" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
16 |
<mkdir dir="${root}" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
17 |
<mkdir dir="${buildRoot}" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
18 |
</target> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
19 |
|
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
20 |
<target name="clean"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
21 |
<delete dir="${root}" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
22 |
</target> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
23 |
|
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
24 |
<target name="run" depends="init"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
25 |
<antcall target="build" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
26 |
<antcall target="package" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
27 |
<antcall target="publish" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
28 |
<available file="releases/CarbideUI_Theme${realBuildId}_${timestamp}.zip" property="buildCompletedWithErrors" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
29 |
<antcall target="clean" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
30 |
</target> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
31 |
|
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
32 |
<target name="build"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
33 |
<java fork="true" dir="${basedir}/BuildScript/com.nokia.tools.s60.ide.releng.builder" classname="org.eclipse.equinox.launcher.Main"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
34 |
<classpath> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
35 |
<pathelement location="${basedir}/BuildScript/org.eclipse.releng.basebuilder/plugins/org.eclipse.equinox.launcher.jar" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
36 |
</classpath> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
37 |
|
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
38 |
<arg value="-application" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
39 |
<arg value="org.eclipse.ant.core.antRunner" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
40 |
<arg value="-f" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
41 |
<arg value="buildAll.xml" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
42 |
<arg value="run" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
43 |
<jvmarg value="-Djdk.home=${jdk.home}" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
44 |
<jvmarg value="-DbuildRoot=${buildRoot}" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
45 |
<jvmarg value="-DbuildType=${buildType}" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
46 |
<jvmarg value="-DbuildId=${realBuildId}" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
47 |
<jvmarg value="-DbuildLabel=${buildLabel}" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
48 |
<jvmarg value="-Dtimestamp=${timestamp}" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
49 |
<jvmarg value="-Drelease.dir=${release.dir}" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
50 |
<jvmarg value="-DforceContextQualifier=0" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
51 |
</java> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
52 |
</target> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
53 |
|
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
54 |
<target name="package"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
55 |
<!-- theme edition --> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
56 |
<antcall target="all-in-one-prepare"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
57 |
<param name="edition" value="theme" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
58 |
</antcall> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
59 |
<antcall target="all-in-one-win32"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
60 |
<param name="edition" value="theme" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
61 |
</antcall> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
62 |
|
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
63 |
</target> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
64 |
|
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
65 |
<target name="all-in-one-prepare"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
66 |
<delete dir="${buildDirectory}/CUITE" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
67 |
<mkdir dir="${buildDirectory}/CUITE" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
68 |
<mkdir dir="${buildDirectory}/CUITE/Carbide.ui Theme Edition" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
69 |
<exec dir="${buildDirectory}/CUITE/Carbide.ui Theme Edition" executable="unzip"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
70 |
<arg line="-o -qq ${buildDirectory}/${buildLabel}/carbide.ui-${edition}-runtime-${realBuildId}.zip" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
71 |
</exec> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
72 |
<exec dir="${buildDirectory}/CUITE/Carbide.ui Theme Edition" executable="unzip"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
73 |
<arg line="-o -qq ${buildRoot}/../../${packageDir}/emf.zip" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
74 |
</exec> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
75 |
<exec dir="${buildDirectory}/CUITE/Carbide.ui Theme Edition" executable="unzip"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
76 |
<arg line="-o -qq ${buildRoot}/../../${packageDir}/gef.zip" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
77 |
</exec> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
78 |
</target> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
79 |
|
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
80 |
<target name="all-in-one-win32"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
81 |
<exec dir="${buildDirectory}/CUITE/Carbide.ui Theme Edition" executable="unzip"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
82 |
<arg line="-o -qq ${buildRoot}/../../${packageDir}/jre.zip" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
83 |
</exec> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
84 |
<exec dir="${buildDirectory}/CUITE/Carbide.ui Theme Edition" executable="unzip"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
85 |
<arg line="-o -qq ${buildRoot}/../../${packageDir}/eclipse-platform.zip" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
86 |
</exec> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
87 |
|
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
88 |
<!-- replaces files --> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
89 |
<copy overwrite="true" todir="${buildDirectory}/CUITE/Carbide.ui Theme Edition"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
90 |
<fileset dir="${buildRoot}/../../BuildScript/com.nokia.tools.s60.ide.releng.builder/replacements/win32/common" excludes="**/CVS/**" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
91 |
</copy> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
92 |
|
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
93 |
<copy overwrite="true" todir="${buildDirectory}/CUITE/Carbide.ui Theme Edition"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
94 |
<fileset dir="${buildRoot}/../../BuildScript/com.nokia.tools.s60.ide.releng.builder/replacements/win32/${edition}" excludes="**/CVS/**" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
95 |
</copy> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
96 |
|
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
97 |
<zip destfile="${buildDirectory}/CarbideUI_Theme${realBuildId}_${timestamp}.zip" basedir="${buildDirectory}/CUITE" filesonly="false"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
98 |
</zip> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
99 |
</target> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
100 |
|
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
101 |
<target name="publish"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
102 |
<mkdir dir="${release.dir}" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
103 |
|
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
104 |
<delete failonerror="false"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
105 |
<fileset dir="${release.dir}" includes="*.zip, *.exe" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
106 |
</delete> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
107 |
|
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
108 |
<move todir="${release.dir}"> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
109 |
<fileset dir="${buildDirectory}" includes="*CarbideUI_Theme${realBuildId}_${timestamp}.zip" /> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
110 |
</move> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
111 |
</target> |
a44900f0f001
Carbide.ui source under EPL for ver3.0
vasuds@2INL03378.NOE.Nokia.com
parents:
diff
changeset
|
112 |
</project> |