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