2
|
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
2 |
<!DOCTYPE template [
|
|
3 |
<!ENTITY standardDirFields SYSTEM "../shared/standardDirFields.inc">
|
|
4 |
]>
|
|
5 |
<template
|
|
6 |
version="1.0"
|
|
7 |
label="%template.label">
|
|
8 |
<description>%template.desc</description>
|
|
9 |
<wizardPage
|
|
10 |
id="basics"
|
|
11 |
label="%basics.label">
|
|
12 |
<description>%basics.desc</description>
|
|
13 |
<uidField
|
|
14 |
id="uid3"
|
|
15 |
label="%basics.uid3.label"
|
|
16 |
min="0xe0000000"
|
|
17 |
max="0xefffffff"
|
|
18 |
mandatory="true">
|
|
19 |
<description>%basics.uid3.desc</description>
|
|
20 |
</uidField>
|
|
21 |
<textField
|
|
22 |
id="author"
|
|
23 |
label="%basics.author.label"
|
|
24 |
persist="true">
|
|
25 |
<description>%basics.author.desc</description>
|
|
26 |
</textField>
|
|
27 |
<textField
|
|
28 |
id="copyright"
|
|
29 |
label="%basics.copyright.label"
|
|
30 |
multiline="true"
|
|
31 |
default="Your copyright notice"
|
|
32 |
persist="true">
|
|
33 |
<description>%basics.copyright.desc</description>
|
|
34 |
</textField>
|
|
35 |
</wizardPage>
|
|
36 |
|
|
37 |
<wizardPage
|
|
38 |
id="directories"
|
|
39 |
label="%directories.label">
|
|
40 |
|
|
41 |
&standardDirFields;
|
|
42 |
|
|
43 |
<filenameField
|
|
44 |
id="gfxDir"
|
|
45 |
label="%directories.gfxDir.label"
|
|
46 |
default="gfx"
|
|
47 |
mandatory="true"
|
|
48 |
persist="true">
|
|
49 |
<description>%directories.gfxDir.desc</description>
|
|
50 |
</filenameField>
|
|
51 |
</wizardPage>
|
|
52 |
|
|
53 |
<process class="com.nokia.carbide.cpp.internal.sdk.core.processes.CheckS60CustKitSupport"
|
|
54 |
bundle="com.nokia.carbide.cpp.sdk.core">
|
|
55 |
<parameter name="project" projectName="$(projectName)" />
|
|
56 |
</process>
|
|
57 |
|
|
58 |
<process class="com.nokia.carbide.cpp.project.core.processes.NewProject"
|
|
59 |
bundle="com.nokia.carbide.cpp.project.core">
|
|
60 |
<parameter name="project" projectName="$(projectName)" />
|
|
61 |
</process>
|
|
62 |
|
|
63 |
<process class="com.nokia.carbide.cpp.project.core.processes.CreateRezId"
|
|
64 |
bundle="com.nokia.carbide.cpp.project.core">
|
|
65 |
<parameter name="project" projectName="$(projectName)" />
|
|
66 |
</process>
|
|
67 |
|
|
68 |
<process class="com.nokia.carbide.templatewizard.processes.CreateFolders"
|
|
69 |
bundle="com.nokia.carbide.templatewizard">
|
|
70 |
<parameter name="project" projectName="$(projectName)" />
|
|
71 |
<parameter name="folder" path="$(sourceDir)" />
|
|
72 |
<parameter name="folder" path="$(incDir)" />
|
|
73 |
<parameter name="folder" path="$(dataDir)" />
|
|
74 |
<parameter name="folder" path="$(groupDir)" />
|
|
75 |
<parameter name="folder" path="$(gfxDir)" />
|
|
76 |
<parameter name="folder" path="$(sisDir)" />
|
|
77 |
</process>
|
|
78 |
|
|
79 |
<process class="com.nokia.carbide.templatewizard.processes.CopyFiles"
|
|
80 |
bundle="com.nokia.carbide.templatewizard">
|
|
81 |
<parameter name="project" projectName="$(projectName)" />
|
|
82 |
|
|
83 |
<parameter name="file"
|
|
84 |
sourcePath="data/basename_reg.loc"
|
|
85 |
targetPath="$(dataDir)/$(baseName)_reg.loc"
|
|
86 |
/>
|
|
87 |
<parameter name="file"
|
|
88 |
sourcePath="data/basename_reg.rss"
|
|
89 |
targetPath="$(dataDir)/$(baseName)_reg.rss"
|
|
90 |
/>
|
|
91 |
<parameter name="file"
|
|
92 |
sourcePath="inc/basename.pan"
|
|
93 |
targetPath="$(incDir)/$(baseName).pan"
|
|
94 |
/>
|
|
95 |
<!-- provide some sample BMP images -->
|
|
96 |
<parameter name="file"
|
|
97 |
sourcePath="gfx/list_icon.bmp"
|
|
98 |
targetPath="$(gfxDir)/list_icon.bmp"
|
|
99 |
substitute="false"
|
|
100 |
/>
|
|
101 |
<parameter name="file"
|
|
102 |
sourcePath="gfx/list_icon_mask.bmp"
|
|
103 |
targetPath="$(gfxDir)/list_icon_mask.bmp"
|
|
104 |
substitute="false"
|
|
105 |
/>
|
|
106 |
<parameter name="file"
|
|
107 |
sourcePath="gfx/mark_icon.bmp"
|
|
108 |
targetPath="$(gfxDir)/mark_icon.bmp"
|
|
109 |
substitute="false"
|
|
110 |
/>
|
|
111 |
<parameter name="file"
|
|
112 |
sourcePath="gfx/mark_icon_mask.bmp"
|
|
113 |
targetPath="$(gfxDir)/mark_icon_mask.bmp"
|
|
114 |
substitute="false"
|
|
115 |
/>
|
|
116 |
<parameter name="file"
|
|
117 |
sourcePath="gfx/qgn_menu_basename.svg"
|
|
118 |
targetPath="$(gfxDir)/qgn_menu_$(baseName).svg"
|
|
119 |
substitute="false"
|
|
120 |
/>
|
|
121 |
<parameter name="file"
|
|
122 |
sourcePath="group/basename.mmp"
|
|
123 |
targetPath="$(groupDir)/$(baseName).mmp"
|
|
124 |
/>
|
|
125 |
<parameter name="file"
|
|
126 |
sourcePath="group/bld.inf"
|
|
127 |
targetPath="$(groupDir)/bld.inf"
|
|
128 |
/>
|
|
129 |
<parameter name="file"
|
|
130 |
sourcePath="group/Icons_aif_scalable_dc.mk"
|
|
131 |
targetPath="$(groupDir)/Icons_aif_scalable_dc.mk"
|
|
132 |
/>
|
|
133 |
<parameter name="file"
|
|
134 |
sourcePath="sis/basename.pkg"
|
|
135 |
targetPath="$(sisDir)/$(baseName).pkg"
|
|
136 |
/>
|
|
137 |
<parameter name="file"
|
|
138 |
sourcePath="sis/backup_registration.xml"
|
|
139 |
targetPath="$(sisDir)/backup_registration.xml"
|
|
140 |
/>
|
|
141 |
</process>
|
|
142 |
|
|
143 |
<process class="com.nokia.carbide.cpp.project.ui.processes.ProjectCreatedTasks"
|
|
144 |
bundle="com.nokia.carbide.cpp.project.ui">
|
|
145 |
<parameter name="project" projectName="$(projectName)"
|
|
146 |
bldInfPath="$(groupDir)/bld.inf"
|
|
147 |
targetMMPFileName="$(baseName).mmp"
|
|
148 |
pkgFilePath="$(sisDir)/$(baseName).pkg" />
|
|
149 |
</process>
|
|
150 |
|
|
151 |
<process class="com.nokia.sdt.series60.viewwizard.GenerateModelsProcessRunner"
|
|
152 |
bundle="com.nokia.sdt.series60.componentlibrary">
|
|
153 |
<parameter name="project" projectName="$(projectName)" />
|
|
154 |
</process>
|
|
155 |
|
|
156 |
<process class="com.nokia.sdt.series60.viewwizard.SaveModelsProcessRunner"
|
|
157 |
bundle="com.nokia.sdt.series60.componentlibrary">
|
|
158 |
<parameter name="project" projectName="$(projectName)" sourceGenRootModel="true" />
|
|
159 |
</process>
|
|
160 |
|
|
161 |
<process class="com.nokia.sdt.series60.viewwizard.DisposeModelsProcessRunner"
|
|
162 |
bundle="com.nokia.sdt.series60.componentlibrary">
|
|
163 |
<parameter name="project" projectName="$(projectName)" />
|
|
164 |
</process>
|
|
165 |
|
|
166 |
</template>
|
|
167 |
|