forked from davidw/hecl
-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.xml
246 lines (195 loc) · 9.3 KB
/
settings.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
<project name="settings" basedir=".">
<!-- Settings and properties for Hecl builds -->
<!-- *************************************************** -->
<!-- ****** CUSTOMIZABLE AREA STARTES HERE ****** -->
<!-- *************************************************** -->
<!--
additional properties are read from "build.properties" file
which can be created as machine-dependant parameters.
-->
<!-- Activate antenna -->
<taskdef resource="antenna.properties" classpath="build-tools/antenna-bin-1.0.0.jar"/>
<!-- Enable or disable debugging information in compiled files. -->
<!-- default: false -->
<property name="hecldebug" value="false" />
<!-- Enable or disable commands used for debugging. -->
<!-- default: 0 -->
<property name="debugcmds" value="0" />
<!-- General WTK settings -->
<!-- make it fit for your local installation -->
<property name="my.wtk.home" value="/opt/WTK2.5.2"/>
<!-- ProGuard location -->
<property name="wtk.proguard.home" value="build-tools/"/>
<!-- Obfuscate or not? -->
<!-- default: true -->
<property name="obfuscate" value="true"/>
<property name="preverify" value="true"/>
<!-- Control usage of J2SE 1.5 features, default: true -->
<property name="j2se.use15" value="true"/>
<!--<property name="j2se.use15" value="false"/>-->
<!--<property name="j2se.use15" value="true"/>-->
<!-- *************************************************** -->
<!-- ****** NO NEED TO CUSTONIZE BELOW THIS POINT ****** -->
<!-- This allows us to fail gracefully if my.wtk.home isn't set to
something valid above. -->
<condition property="wtk.home" value="${my.wtk.home}" else="/">
<and>
<available file="${my.wtk.home}"/>
</and>
</condition>
<!-- Specifies the version of CLDC to use. 2.0+ -->
<!-- default: 1.1 -->
<property name="wtk.cldc.version" value="1.1"/>
<!-- Specifies the version of MIDP to use. 2.0+ -->
<!-- default: 2.0 for WTK 2.x, 1.0 otherwise -->
<property name="wtk.midp.version" value="2.0"/>
<!-- Enables or disables the Multimedia API (MMAPI). 2.0+ -->
<!-- default: false -->
<property name="wtk.mmapi.enabled" value="false"/>
<!--Enables or disables the Wireless Messaging API (WMA). 2.0+ -->
<!-- default: true -->
<property name="wtk.wma.enabled" value="true"/>
<property name="wtk.wma.version" value="1.1"/>
<!-- nables or disables the J2ME Web Services API (J2MEWS). 2.1+ -->
<!-- default: false -->
<property name="wtk.j2mews.enabled" value="false"/>
<!-- Enables or disables the J2ME Bluetooth API (JSR-82). 2.2+ -->
<!-- default: false -->
<property name="wtk.bluetooth.enabled" value="false"/>
<!-- Enables or disables the J2ME 3D API (JSR-184). 2.2+ -->
<!-- default: false -->
<property name="wtk.java3d.enabled" value="false"/>
<!-- Enables or disables the J2ME optional PDA packages (JSR-75). 2.2+ -->
<!-- default: false -->
<property name="wtk.optionalpda.enabled" value="false"/>
<!--
Sets a totally custom BOOTCLASSPATH. Use this property
if the set of APIs you need is not covered by the above properties (for
example because you are using the system libraries provided another vendor
or you have some important additional libraries). 1.0+
-->
<!-- default: varies -->
<!--<property name="wtk.midpapi" value=""/>-->
<!-- *************************************************** -->
<!-- General settings that may affect everything below -->
<!-- *************************************************** -->
<property name="buildprefix" value="build"/>
<property name="relprefix" value="jars"/>
<!-- J2SE ************************************** -->
<!-- properties for the build base directorries -->
<condition property="javamail.complete">
<and>
<available classname="javax.activation.DataHandler"/>
<available classname="javax.mail.Transport"/>
</and>
</condition>
<property name="j2se.defines" value="j2se=1,javaversion=${ant.java.version},debugcmds=${debugcmds}"/>
<property name="j2se.build" value="${buildprefix}/j2se/final"/>
<property name="j2se.pre" value="${buildprefix}/j2se/pre"/>
<property name="j2se.rel" value="${relprefix}/j2se"/>
<property name="j2se.coreclasspath" value="${j2se.build}"/>
<path id="j2se.coreclasspath">
<pathelement location="${j2se.build}"/>
</path>
<property name="j2se.hecl.cmdline.jar" value="${j2se.build}/Hecl.jar"/>
<property name="j2se.hecl.lib.jar" value="${j2se.build}/Hecllib.jar"/>
<property name="j2se.hecl.stand.jar" value="${j2se.build}/Heclstand.jar"/>
<property name="j2se.hecl.applet.jar" value="${j2se.build}/HeclApplet.jar"/>
<!-- J2ME ************************************** -->
<!-- Use the Location API? JSR 179 -->
<property name="locationapi" value="false"/>
<!-- Use the KXML XML parser API? -->
<property name="kxml" value="false"/>
<!-- Use the MWT toolkit? -->
<property name="mwt" value="false"/>
<property name="files" value="false"/>
<property name="j2me.defines" value="j2me=1,sms='${wtk.wma.enabled}',cldc=${wtk.cldc.version},midp=${wtk.midp.version},javaversion=1.2,debugcmds=${debugcmds},kxml=${kxml},mwt=${mwt},files=${files},locationapi=${locationapi}"/>
<property name="j2me.build" value="${buildprefix}/j2me/final/cldc${wtk.cldc.version}-midp${wtk.midp.version}"/>
<property name="j2me.pre" value="${buildprefix}/j2me/pre/cldc${wtk.cldc.version}-midp${wtk.midp.version}"/>
<property name="j2me.rel" value="${relprefix}/cldc${wtk.cldc.version}-midp${wtk.midp.version}"/>
<property name="j2me.mwtbuild" value="${buildprefix}/j2me/final/mwt"/>
<property name="j2me.mwtpre" value="${buildprefix}/j2me/pre/mwt"/>
<property name="j2me.mwtrel" value="${relprefix}/mwt"/>
<property name="cldc" value="cldc${wtk.cldc.version}"/>
<property name="j2me.app" value="Hecl"/>
<property name="j2me.appversion" value="1.1"/>
<property name="j2me.entryclass" value="Hecl"/>
<property name="j2me.icon" value="/Hecl.png"/>
<property name="j2me.vendor" value="dedasys.com"/>
<property name="j2me.hecl.jad" value="${j2me.build}/${j2me.app}.jad"/>
<property name="j2me.hecl.jar" value="${j2me.build}/${j2me.app}.jar"/>
<property name="j2me.heclgui.jar" value="${j2me.build}/${j2me.app}gui.jar"/>
<property name="j2me.hecl.lib.jad" value="${j2me.build}/${j2me.app}lib.jad"/>
<property name="j2me.hecl.lib.jar" value="${j2me.build}/${j2me.app}lib.jar"/>
<property name="j2me.heclmwtgui.jad" value="${j2me.mwtbuild}/Mwtgui.jad"/>
<property name="j2me.heclmwtgui.jar" value="${j2me.mwtbuild}/Mwtgui.jar"/>
<property name="j2me.coreclasspath" value="${j2me.build}"/>
<path id="j2me.coreclasspath">
<pathelement location="${j2me.coreclasspath}"/>
</path>
<property name="j2me.mwtcoreclasspath" value="${j2me.mwtbuild}"/>
<path id="j2me.mwtcoreclasspath">
<pathelement location="${j2me.mwtcoreclasspath}"/>
</path>
<property name="j2me.awtclasspath" value="${j2me.build}"/>
<path id="j2me.awtclasspath">
<pathelement location="${j2me.awtclasspath}"/>
</path>
<property name="j2me.guiclasspath" value="${j2me.build}"/>
<path id="j2me.guiclasspath">
<pathelement location="${j2me.guiclasspath}"/>
</path>
<property name="j2me.httpclasspath" value="${j2me.build}"/>
<path id="j2me.httpclasspath">
<pathelement location="${j2me.httpclasspath}"/>
</path>
<property name="j2me.rmsclasspath" value="${j2me.build}"/>
<path id="j2me.rmsclasspath">
<pathelement location="${j2me.rmsclasspath}"/>
</path>
<property name="j2me.locationclasspath" value="${j2me.build}"/>
<path id="j2me.locationclasspath">
<pathelement location="${j2me.locationclasspath}"/>
</path>
<property name="j2me.filesclasspath" value="${j2me.build}"/>
<path id="j2me.filesclasspath">
<pathelement location="${j2me.filesclasspath}"/>
</path>
<!-- MWT properties -->
<property name="mwt.lib" value="jars/mwt.jar" />
<property name="j2me.mwtguiclasspath" value="${j2me.mwtbuild}"/>
<path id="j2me.mwtguiclasspath">
<pathelement location="${j2me.mwtguiclasspath}"/>
</path>
<!-- KXML properties -->
<property name="kxml.lib" value="jars/kxml2-2.3.0.jar" />
<property name="j2me.kxmlclasspath" value="${j2me.build}"/>
<path id="j2me.kxmlclasspath">
<pathelement location="${j2me.kxmlclasspath}"/>
</path>
<condition property="buildkxml" value="buildkxml">
<equals arg1="1" arg2="${kxml}"/>
</condition>
<!-- Location API settings -->
<condition property="buildlocationapi" value="buildlocationapi">
<equals arg1="1" arg2="${locationapi}"/>
</condition>
<!-- File API settings -->
<condition property="buildfiles" value="buildfiles">
<equals arg1="1" arg2="${files}"/>
</condition>
<!-- Android settings -->
<property name="android.pre" value="${buildprefix}/android/pre/"/>
<property name="android.build" value="${buildprefix}/android/final"/>
<property name="android.coreclasspath" value="${android.build}"/>
<path id="android.coreclasspath">
<pathelement location="${android.coreclasspath}"/>
</path>
<property name="android.defines" value="android=1,javaversion=${ant.java.version}"/>
<!-- Additional classpath locations, specified in build.properties file -->
<path id="classpath">
</path>
<!-- BlackBerry settings -->
<property name="bb.rel" value="${relprefix}/blackberry"/>
<property name="bb.rel.signed" value="${relprefix}/blackberry/signed"/>
</project>