39 |
39 |
40 <!--Search import file="${platform.utilities.xml.file} in utilities.xml file |
40 <!--Search import file="${platform.utilities.xml.file} in utilities.xml file |
41 for reason why this property is defined"/> --> |
41 for reason why this property is defined"/> --> |
42 <property name="platform.utilities.xml.file" value="utilities.fake.xml"/> |
42 <property name="platform.utilities.xml.file" value="utilities.fake.xml"/> |
43 |
43 |
44 <!-- Set internal epoc root --> |
44 <!--The cldc/cdc class file locations --> |
45 <condition property="epocroot" value="${env.EPOCROOT}" else=""> |
45 <property name="bootclasspath.cldc" location="${java.src.root}/inc/classes.cldc.zip"/> |
46 <isset property="env.EPOCROOT"/> |
46 <property name="bootclasspath.cdc" location="${java.src.root}/inc/classes.cdc.zip"/> |
47 </condition> |
47 <property name="bootclasspath.fp" location="${java.src.root}/inc/classes.fp.zip"/> |
48 |
48 |
49 <!--The cldc/cdc class file locations, within the sources --> |
49 |
50 <available file="${java.src.root}/inc/classes.cldc.zip" property="bootclasspath.cldc" |
50 |
51 value="${java.src.root}/inc/classes.cldc.zip" /> |
|
52 <available file="${java.src.root}/inc/classes.cdc.zip" property="bootclasspath.cdc" |
|
53 value="${java.src.root}/inc/classes.cdc.zip" /> |
|
54 <available file="${java.src.root}/inc/classes.fp.zip" property="bootclasspath.fp" |
|
55 value="${java.src.root}/inc/classes.fp.zip" /> |
|
56 |
|
57 <!--The cldc/cdc class file locations, external if not found in default places --> |
|
58 <property name="bootclasspath.cldc" location="${epocroot}epoc32/jrt/classes.cldc.zip"/> |
|
59 <property name="bootclasspath.cdc" location="${epocroot}epoc32/jrt/classes.cdc.zip"/> |
|
60 <property name="bootclasspath.fp" location="${epocroot}epoc32/jrt/classes.fp.zip"/> |
|
61 |
|
62 <!--NOTE!!! Properties defined below can be used only inside a target--> |
51 <!--NOTE!!! Properties defined below can be used only inside a target--> |
63 |
52 |
64 |
53 |
65 <!--Set the properties with S60 specific values--> |
54 <!--Set the properties with S60 specific values--> |
66 <target name="set.s60.properties" if="target.s60"> |
55 <target name="set.s60.properties" if="target.s60"> |
69 value="udeb" |
58 value="udeb" |
70 else="urel"> |
59 else="urel"> |
71 <equals arg1="${target.cfg}" arg2="debug"/> |
60 <equals arg1="${target.cfg}" arg2="debug"/> |
72 </condition> |
61 </condition> |
73 |
62 |
74 <!--Location of eswt.jar. This is not needed in S60 Avkon, |
63 <!-- Set internal epoc root --> |
|
64 <condition property="epocroot" |
|
65 value="${env.EPOCROOT}" |
|
66 else=""> |
|
67 <isset property="env.EPOCROOT"/> |
|
68 </condition> |
|
69 |
|
70 <!--Location of eswt.jar. This is not needed in S60 Avkon, |
75 but needed in S60 Qt. --> |
71 but needed in S60 Qt. --> |
76 <property name="eswt.jar" value=":${java.src.root}/javauis/bin/eswt.jar"/> |
72 <property name="eswt.jar" value=":${java.src.root}/javauis/bin/eswt.jar"/> |
77 |
73 |
78 <!--The root for the java compile time outputs--> |
74 <!--The root for the java compile time outputs--> |
79 <property name="compile.result.root" |
75 <property name="compile.result.root" |
80 location="${epocroot}epoc32/build/jrt/javabuild"/> |
76 location="${epocroot}epoc32/build/jrt/javabuild"/> |
81 |
77 |
82 <!--The root file where the jarfiles are put that are used to build against--> |
78 <!--The root file where the jarfiles are put that are used to build against--> |
83 <property name="jar.destination.root" |
79 <property name="jar.destination.root" |
84 location="${epocroot}epoc32/release/${target.platform}/${real.cfg.name}"/> |
80 location="${epocroot}epoc32/release/${target.platform}/${real.cfg.name}"/> |
85 |
81 |
86 <!--JAVA_HOME for JAPT & JAR2JXE --> |
82 <!--JAVA_HOME for JAPT & JAR2JXE --> |
87 |
83 |
88 <!-- Set executable ending for Java platform tools --> |
84 <!-- Set executable ending for Java platform tools --> |
89 <condition property="j9.java.home" |
85 <condition property="j9.java.home" |
90 value="${epocroot}epoc32/tools/java/japtjxe.windows" |
86 value="${epocroot}epoc32/tools/java/japtjxe.windows" |
91 else="${epocroot}epoc32/tools/java/japtjxe.linux"> |
87 else="${epocroot}epoc32/tools/java/japtjxe.linux"> |
92 <os family="windows"/> |
88 <os family="windows"/> |
93 </condition> |
89 </condition> |
94 |
90 |
95 <!--The utility file containing platform specific fetures--> |
91 <!--The utility file containing platform specific fetures--> |
96 <condition property="dyn.platform.utilities.xml.file" |
92 <property name="dyn.platform.utilities.xml.file" value="utilities.s60.xml"/> |
97 value="utilities.linux.xml" |
|
98 else="utilities.s60.xml"> |
|
99 <isset property="no.rommizing" /> |
|
100 </condition> |
|
101 |
93 |
102 <!--The default directory for cldc based s60 java code--> |
94 <!--The default directory for cldc based s60 java code--> |
103 <property name="javasrc.platform.specific" value="../javasrc.s60"/> |
95 <property name="javasrc.platform.specific" value="../javasrc.s60"/> |
104 |
96 |
105 <!--The default directory for cdc based s60 java code--> |
97 <!--The default directory for cdc based s60 java code--> |
106 <property name="javasrc.platform.specific.cdc" value="../javasrc.s60.cdc"/> |
98 <property name="javasrc.platform.specific.cdc" value="../javasrc.s60.cdc"/> |
107 |
99 |
108 <!--The java resource root --> |
100 <!--The java resource root --> |
109 <property name="java.res.root" |
101 <property name="java.res.root" |
110 location="${epocroot}epoc32/release/${target.platform}/${real.cfg.name}/z/resource/java"/> |
102 location="${epocroot}epoc32/release/${target.platform}/${real.cfg.name}/z/resource/java"/> |
111 |
103 |
112 <!--The java captain datacage --> |
104 <!--The java captain datacage --> |
113 <property name="java.captain.datacage" |
105 <property name="java.captain.datacage" |
114 location="${epocroot}epoc32/release/${target.platform}/${real.cfg.name}/z/private/200211dc"/> |
106 location="${epocroot}epoc32/release/${target.platform}/${real.cfg.name}/z/private/200211dc"/> |
115 |
107 |
116 <!--The extension directory of the VM. --> |
108 <!--The extension directory of the VM. --> |
117 <property name="vm.extension.directory" |
109 <property name="vm.extension.directory" |
118 location="${java.res.root}/jvm/lib/common"/> |
110 location="${java.res.root}/jvm/lib/common"/> |
119 |
111 |
120 <!--The directory for entitys to be set to bootclass path. This is the location |
112 <!--The directory for entitys to be set to bootclass path. This is the location |
121 where the jar and/or odc files goes to --> |
113 where the jar and/or odc files goes to --> |
122 <property name="bcp.dest.directory" |
114 <property name="bcp.dest.directory" |
123 location="${java.res.root}/jvm/lib/jrt"/> |
115 location="${java.res.root}/jvm/lib/jrt"/> |
124 |
116 |
125 </target> |
117 </target> |
126 |
118 |
127 |
119 |
128 <!--Set the properties with linux specific values--> |
120 <!--Set the properties with linux specific values--> |
129 <target name="set.linux.properties" if="target.linux"> |
121 <target name="set.linux.properties" if="target.linux"> |
130 <!--The root for the java compile time outputs--> |
122 <!--The root for the java compile time outputs--> |
131 <property name="compile.result.root" |
123 <property name="compile.result.root" |
132 location="${env.JAVA_BIN_ROOT}/javabuild"/> |
124 location="${env.JAVA_BIN_ROOT}/javabuild"/> |
133 |
125 |
134 <!--Location of eswt.jar. This is needed in compile time in Linux--> |
126 <!--Location of eswt.jar. This is needed in compile time in Linux--> |
135 <property name="eswt.jar" value=":${java.src.root}/javauis/bin/eswt.jar"/> |
127 <property name="eswt.jar" value=":${java.src.root}/javauis/bin/eswt.jar"/> |
136 |
128 |
137 <!--The root file where the interface jarfiles are put --> |
129 <!--The root file where the interface jarfiles are put --> |
138 <property name="jar.destination.root" |
130 <property name="jar.destination.root" |
139 location="${compile.result.root}/jars/${target.platform}/${target.cfg}"/> |
131 location="${compile.result.root}/jars/${target.platform}/${target.cfg}"/> |
140 |
132 |
141 <!--The utility file containing platform specific fetures--> |
133 <!--The utility file containing platform specific fetures--> |
142 <property name="dyn.platform.utilities.xml.file" value="utilities.linux.xml"/> |
134 <property name="dyn.platform.utilities.xml.file" value="utilities.linux.xml"/> |
143 |
135 |
146 |
138 |
147 <!--The default directory for cdc based linux java code--> |
139 <!--The default directory for cdc based linux java code--> |
148 <property name="javasrc.platform.specific.cdc" value="../javasrc.linux.cdc"/> |
140 <property name="javasrc.platform.specific.cdc" value="../javasrc.linux.cdc"/> |
149 |
141 |
150 <!--The java resource root --> |
142 <!--The java resource root --> |
151 <property name="java.res.root" |
143 <property name="java.res.root" |
152 location="${env.JAVA_BIN_ROOT}"/> |
144 location="${env.JAVA_BIN_ROOT}"/> |
153 |
145 |
154 <!--The java captain datacage --> |
146 <!--The java captain datacage --> |
155 <property name="java.captain.datacage" |
147 <property name="java.captain.datacage" |
156 location="${env.JAVA_BIN_ROOT}"/> |
148 location="${env.JAVA_BIN_ROOT}"/> |
157 |
149 |
158 <!--The extension directory of the VM. --> |
150 <!--The extension directory of the VM. --> |
159 <property name="vm.extension.directory" location="${env.JAVA_BIN_ROOT}/jsr/classes/common"/> |
151 <property name="vm.extension.directory" location="${env.JAVA_BIN_ROOT}/jsr/classes/common"/> |
160 |
152 |
161 <!--The directory for entitys to be set to bootclass path. This is the location |
153 <!--The directory for entitys to be set to bootclass path. This is the location |
162 where the jar and/or odc files goes to --> |
154 where the jar and/or odc files goes to --> |
163 <property name="bcp.dest.directory" |
155 <property name="bcp.dest.directory" |
164 location="${vm.extension.directory}"/> |
156 location="${vm.extension.directory}"/> |
165 |
157 |
166 </target> |
158 </target> |
167 |
159 |
168 <!-- Set target.s60 or target.linux --> |
160 <!-- Set target.s60 or target.linux --> |
169 <target name="set.target" depends="explicit.target.type, implicit.target.type"> |
161 <target name="set.target" depends="explicit.target.type, implicit.target.type"> |
170 <condition property="target.s60"> |
162 <condition property="target.s60"> |
171 <equals arg1="${target.type}" arg2="s60"/> |
163 <equals arg1="${target.type}" arg2="s60"/> |
172 </condition> |
164 </condition> |
173 <condition property="target.linux"> |
165 <condition property="target.linux"> |
174 <equals arg1="${target.type}" arg2="linux"/> |
166 <equals arg1="${target.type}" arg2="linux"/> |
175 </condition> |
167 </condition> |
176 </target> |
168 </target> |
177 |
169 |
178 <!-- Get implicit target.type (s60 or linux) --> |
170 <!-- Get implicit target.type (s60 or linux) --> |
306 <property name="resource.jar" location="${bcp.dest.directory}/resources.jar"/> |
298 <property name="resource.jar" location="${bcp.dest.directory}/resources.jar"/> |
307 |
299 |
308 <!--The jar file containing all the cldc based class files and cldc classes itself |
300 <!--The jar file containing all the cldc based class files and cldc classes itself |
309 This is for signature testing --> |
301 This is for signature testing --> |
310 <property name="signature.jar" location="${jar.destination.root}/java_signature_test.jar"/> |
302 <property name="signature.jar" location="${jar.destination.root}/java_signature_test.jar"/> |
311 |
303 |
312 <!--Property for setting the javadebug for java compilation--> |
304 <!--Property for setting the javadebug for java compilation--> |
313 <condition property="javac.debug.on" |
305 <condition property="javac.debug.on" |
314 value="true" |
306 value="true" |
315 else="false"> |
307 else="false"> |
316 <equals arg1="${target.cfg}" arg2="debug"/> |
308 <equals arg1="${target.cfg}" arg2="debug"/> |
317 </condition> |
309 </condition> |
318 |
310 |
319 <!--Does the directory containing platform specific cldc based code exist --> |
311 <!--Does the directory containing platform specific cldc based code exist --> |
320 <available file="${javasrc.platform.specific}" property="javasrc.platform.specific.present"/> |
312 <available file="${javasrc.platform.specific}" property="javasrc.platform.specific.present"/> |
321 |
313 |
322 <!--Does the directory containing platform specific cdc based code exist --> |
314 <!--Does the directory containing platform specific cdc based code exist --> |
323 <available file="${javasrc.platform.specific.cdc}" property="javasrc.platform.specific.cdc.present"/> |
315 <available file="${javasrc.platform.specific.cdc}" property="javasrc.platform.specific.cdc.present"/> |