annotate build.xml @ 4019:86a1b36090e4

RT-31139: Open source javafx-font and javafx-font-native
author kcr
date Thu, 20 Jun 2013 09:48:36 -0700
parents a51b43a5615d
children
rev   line source
Tomas@383 1 <?xml version="1.0" encoding="UTF-8"?>
Tomas@383 2 <!--
Tomas@383 3 /*
artem@2690 4 * Copyright (c) 2009, 2013, Oracle and/or its affiliates. All rights reserved.
Tomas@383 5 * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
Tomas@383 6 *
Tomas@383 7 * This code is free software; you can redistribute it and/or modify it
Tomas@383 8 * under the terms of the GNU General Public License version 2 only, as
Tomas@383 9 * published by the Free Software Foundation. Oracle designates this
Tomas@383 10 * particular file as subject to the "Classpath" exception as provided
Tomas@383 11 * by Oracle in the LICENSE file that accompanied this code.
Tomas@383 12 *
Tomas@383 13 * This code is distributed in the hope that it will be useful, but WITHOUT
Tomas@383 14 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
Tomas@383 15 * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
Tomas@383 16 * version 2 for more details (a copy is included in the LICENSE file that
Tomas@383 17 * accompanied this code).
Tomas@383 18 *
Tomas@383 19 * You should have received a copy of the GNU General Public License version
Tomas@383 20 * 2 along with this work; if not, write to the Free Software Foundation,
Tomas@383 21 * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
Tomas@383 22 *
Tomas@383 23 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
Tomas@383 24 * or visit www.oracle.com if you need additional information or have any
Tomas@383 25 * questions.
Tomas@383 26 */
Tomas@383 27 -->
rbair@2551 28 <project name="JavaFX" default="dist" basedir=".">
Tomas@383 29 <description>Builds, tests, and runs the project JavaFX Runtime</description>
Tomas@383 30
Tomas@383 31 <import file="../build-defs.xml"/>
Tomas@383 32 <property name="build.dir" value="${basedir}/build"/>
Tomas@383 33
Tomas@383 34 <property name="rt.root.dir" location="${basedir}/../rt"/>
Tomas@383 35
artem@2690 36 <target name="init" depends="-init-defs,-init-platform-defs">
Tomas@383 37 <!-- ensure version 1.7.1 of ant -->
Tomas@383 38 <fail message="Ant version 1.7.1 or later is required to build JavaFX.">
Tomas@383 39 <condition><not><antversion atleast="1.7.1"/></not></condition>
Tomas@383 40 </fail>
artem@2690 41
artem@2690 42 <property name="openjfx.dist.dir" value="dist${cross.name.suffix}"/>
artem@2690 43 <property name="openjfx.dist.bin.dir" value="${openjfx.dist.dir}/${platform.nativelibs.dir.name}"/>
artem@2690 44 <property name="openjfx.dist.lib.dir" value="${openjfx.dist.dir}/lib"/>
rbair@2551 45
rbair@2551 46 <!-- only build decora-sse on Windows and Mac OS X -->
rbair@2551 47 <condition property="include.sse">
rbair@2551 48 <or>
rbair@2551 49 <istrue value="${isWindows}"/>
rbair@2551 50 <istrue value="${isMacOSX}"/>
rbair@2551 51 </or>
rbair@2551 52 </condition>
rbair@2551 53
kcr@3358 54 <!-- Build decora-d3d and prism-d3d if on Windows -->
rbair@2551 55 <condition property="include.d3d">
rbair@2551 56 <istrue value="${isWindows}"/>
rbair@2551 57 </condition>
rbair@2551 58
kcr@3358 59 <condition property="include.eglx11">
kcr@3358 60 <and>
kcr@3358 61 <istrue value="${cross.build.EGL.X11}"/>
kcr@3358 62 </and>
kcr@3358 63 </condition>
kcr@3358 64
kcr@3358 65 <condition property="include.eglfb">
kcr@3358 66 <and>
kcr@3358 67 <istrue value="${cross.build.EGL.FB}"/>
kcr@3358 68 </and>
kcr@3358 69 </condition>
kcr@3358 70
kcr@3358 71 <!-- Build prism-es2 and decora-ogl on all desktop platforms
kcr@3358 72 and on embedded platforms that have OpenGL ES -->
kcr@3358 73 <condition property="include.ogl">
kcr@3358 74 <or>
kcr@3358 75 <not>
kcr@3358 76 <isset property="cross.platform"/>
kcr@3358 77 </not>
kcr@3358 78 <or>
kcr@3358 79 <isset property="include.eglfb"/>
kcr@3358 80 <isset property="include.eglx11"/>
kcr@3358 81 <isset property="isIOS"/>
kcr@3358 82 <isset property="isAndroid"/>
kcr@3358 83 </or>
kcr@3358 84 </or>
kcr@3358 85 </condition>
kcr@3358 86
rbair@2551 87 <condition property="sse.native.lib.file"
rbair@2551 88 value="libdecora-sse.dylib"
rbair@2551 89 else="decora-sse.dll">
rbair@2551 90 <istrue value="${isMacOSX}"/>
rbair@2551 91 </condition>
kcr@2698 92
kcr@2698 93 <condition property="include.prism.sw">
Tomas@3606 94 <and>
Tomas@3606 95 <not>
Tomas@3606 96 <isset property="isIOS"/>
Tomas@3606 97 </not>
Tomas@3606 98 <not>
Tomas@3606 99 <isset property="isAndroid"/>
Tomas@3606 100 </not>
Tomas@3606 101 </and>
kcr@2698 102 </condition>
Tomas@383 103 </target>
Tomas@383 104
Tomas@383 105 <!--
Tomas@383 106 Build targets...
Tomas@383 107 -->
Tomas@383 108
kcr@2012 109 <target name="jar" depends="init">
rbair@2551 110 <ant antfile="${rt.root.dir}/javafx-common/build.xml" target="jar" inheritAll="false"/>
rbair@2551 111 <ant antfile="${rt.root.dir}/javafx-logging/build.xml" target="jar" inheritAll="false"/>
artem@2690 112 <ant antfile="${rt.root.dir}/glass/build.xml" target="jar" inheritAll="false"/>
rbair@2551 113 <ant antfile="${rt.root.dir}/javafx-beans/build.xml" target="jar" inheritAll="false"/>
jgiles@884 114 <ant antfile="${rt.root.dir}/javafx-util-converter/build.xml" target="jar" inheritAll="false"/>
rbair@2551 115 <ant antfile="${rt.root.dir}/javafx-anim/build.xml" target="jar" inheritAll="false"/>
rbair@2551 116 <ant antfile="${rt.root.dir}/javafx-geom/build.xml" target="jar" inheritAll="false"/>
rbair@2551 117 <ant antfile="${rt.root.dir}/pisces/build.xml" target="jar" inheritAll="false"/>
rbair@2551 118 <ant antfile="${rt.root.dir}/decora-compiler/build.xml" target="jar" inheritAll="false"/>
rbair@2551 119 <ant antfile="${rt.root.dir}/decora-runtime/build.xml" target="jar" inheritAll="false"/>
rbair@2551 120 <ant antfile="${rt.root.dir}/javafx-sg-common/build.xml" target="jar" inheritAll="false"/>
rbair@2551 121 <ant antfile="${rt.root.dir}/javafx-ui-common/build.xml" target="jar" inheritAll="false"/>
Tomas@383 122 <ant antfile="${rt.root.dir}/javafx-concurrent/build.xml" target="jar" inheritAll="false"/>
kcr@2698 123 <ant antfile="${rt.root.dir}/javafx-ui-quantum/build.xml" target="jar" inheritAll="false"/>
pavel@2018 124 <ant antfile="${rt.root.dir}/javafx-sg-prism/build.xml" target="jar" inheritAll="false"/>
rbair@2551 125 <ant antfile="${rt.root.dir}/javafx-embed-swing/build.xml" target="jar" inheritAll="false"/>
Tomas@383 126 <ant antfile="${rt.root.dir}/javafx-ui-controls/build.xml" target="jar" inheritAll="false"/>
paru@494 127 <ant antfile="${rt.root.dir}/javafx-ui-charts/build.xml" target="jar" inheritAll="false"/>
kcr@2698 128 <ant antfile="${rt.root.dir}/decora-prism/build.xml" target="jar" inheritAll="false"/>
artem@2690 129 <antcall target="jar-decora-d3d"/>
kcr@3358 130 <antcall target="jar-decora-es2"/>
rbair@2551 131 <ant antfile="${rt.root.dir}/decora-jsw/build.xml" target="jar" inheritAll="false"/>
rbair@2551 132 <ant antfile="${rt.root.dir}/decora-prism-sw/build.xml" target="jar" inheritAll="false"/>
rbair@2551 133 <ant antfile="${rt.root.dir}/decora-prism-ps/build.xml" target="jar" inheritAll="false"/>
kcr@2686 134 <antcall target="jar-decora-sse"/>
kcr@4019 135 <ant antfile="${rt.root.dir}/javafx-font/build.xml" target="jar" inheritAll="false"/>
kcr@2698 136 <ant antfile="${rt.root.dir}/prism-util/build.xml" target="jar" inheritAll="false"/>
kcr@2698 137 <ant antfile="${rt.root.dir}/prism-common/build.xml" target="jar" inheritAll="false"/>
kcr@2698 138 <ant antfile="${rt.root.dir}/prism-j2d/build.xml" target="jar" inheritAll="false"/>
kcr@2698 139 <ant antfile="${rt.root.dir}/prism-ps/build.xml" target="jar" inheritAll="false"/>
kcr@2698 140 <ant antfile="${rt.root.dir}/prism-null/build.xml" target="jar" inheritAll="false"/>
kcr@2698 141 <antcall target="jar-prism-sw"/>
kcr@3358 142 <antcall target="jar-prism-d3d"/>
kcr@3358 143 <antcall target="jar-prism-es2-all"/>
rbair@2551 144 <ant antfile="${rt.root.dir}/javafx-beans-dt/build.xml" target="jar" inheritAll="false"/>
gbrown@1777 145 <ant antfile="${rt.root.dir}/javafx-fxml/build.xml" target="jar" inheritAll="false"/>
Tomas@3606 146 <antcall target="jar-javafx-android"/>
artem@2477 147 <antcall target="jar-javafx-embed-swt"/>
eva@3631 148 <ant antfile="${rt.root.dir}/javafx-builders/build.xml" target="jar" inheritAll="false"/>
artem@2477 149 </target>
artem@2477 150
artem@2690 151 <target name="jar-decora-d3d" if="include.d3d">
artem@2690 152 <ant antfile="${rt.root.dir}/decora-d3d/build.xml" target="jar" inheritAll="false"/>
artem@2690 153 </target>
artem@2690 154
kcr@3358 155 <target name="jar-decora-es2" if="include.ogl">
kcr@3358 156 <ant antfile="${rt.root.dir}/decora-es2/build.xml" target="jar" inheritAll="false"/>
kcr@3358 157 </target>
kcr@3358 158
kcr@2686 159 <target name="jar-decora-sse" if="include.sse">
kcr@2686 160 <ant antfile="${rt.root.dir}/decora-sse/build.xml" target="jar" inheritAll="false"/>
kcr@2686 161 </target>
kcr@2686 162
kcr@2698 163 <target name="jar-prism-sw" if="include.prism.sw">
kcr@2698 164 <ant antfile="${rt.root.dir}/prism-sw/build.xml" target="jar" inheritAll="false"/>
kcr@2698 165 </target>
kcr@2698 166
kcr@3358 167 <target name="jar-prism-d3d" if="include.d3d">
kcr@3358 168 <ant antfile="${rt.root.dir}/prism-d3d/build.xml" target="jar" inheritAll="false"/>
kcr@3358 169 </target>
kcr@3358 170
kcr@3358 171 <target name="jar-prism-es2-all"
kcr@3358 172 depends="jar-prism-es2, jar-prism-es2-mac,
kcr@3358 173 jar-prism-es2-ios, jar-prism-es2-eglx11,
kcr@3358 174 jar-prism-es2-eglfb, jar-prism-es2-win,
kcr@3358 175 jar-prism-es2-x11, build-prism-es2-native"/>
kcr@3358 176
kcr@3358 177 <target name="jar-prism-es2" if="include.ogl">
kcr@3358 178 <ant antfile="${rt.root.dir}/prism-es2/build.xml" target="jar" inheritAll="false"/>
kcr@3358 179 </target>
kcr@3358 180
kcr@3358 181 <target name="build-prism-es2-native" if="include.ogl">
kcr@3358 182 <ant antfile="${rt.root.dir}/prism-es2/build.xml" target="build-native" inheritAll="false"/>
kcr@3358 183 </target>
kcr@3358 184
kcr@3358 185 <target name="jar-prism-es2-mac" if="isMacOSX">
kcr@3358 186 <ant antfile="${rt.root.dir}/prism-es2-mac/build.xml" target="jar" inheritAll="false"/>
kcr@3358 187 </target>
kcr@3358 188
kcr@3358 189 <target name="jar-prism-es2-ios" if="isIOS">
kcr@3358 190 <ant antfile="${rt.root.dir}/prism-es2-ios/build.xml" target="jar" inheritAll="false"/>
kcr@3358 191 </target>
kcr@3358 192
kcr@3358 193 <target name="jar-prism-es2-eglfb" if="include.eglfb">
kcr@3358 194 <ant antfile="${rt.root.dir}/prism-es2-eglfb/build.xml" target="jar" inheritAll="false"/>
kcr@3358 195 </target>
kcr@3358 196
kcr@3358 197 <target name="jar-prism-es2-eglx11" if="include.eglx11">
kcr@3358 198 <ant antfile="${rt.root.dir}/prism-es2-eglx11/build.xml" target="jar" inheritAll="false"/>
kcr@3358 199 </target>
kcr@3358 200
kcr@3358 201 <target name="jar-prism-es2-win" if="isWindows">
kcr@3358 202 <ant antfile="${rt.root.dir}/prism-es2-win/build.xml" target="jar" inheritAll="false"/>
kcr@3358 203 </target>
kcr@3358 204
kcr@3358 205 <target name="jar-prism-es2-x11" if="isLinux">
kcr@3358 206 <ant antfile="${rt.root.dir}/prism-es2-x11/build.xml" target="jar" inheritAll="false"/>
kcr@3358 207 </target>
kcr@3358 208
Tomas@3606 209 <target name="jar-javafx-android" if="isAndroid">
Tomas@3606 210 <ant antfile="${rt.root.dir}/javafx-android/build.xml" target="jar" inheritAll="false"/>
Tomas@3606 211 </target>
kcr@3358 212
artem@2477 213 <target name="jar-javafx-embed-swt" if="swt.available">
artem@2477 214 <ant antfile="${rt.root.dir}/javafx-embed-swt/build.xml" target="jar" inheritAll="false"/>
Tomas@383 215 </target>
Tomas@383 216
Tomas@383 217 <!--
Tomas@383 218 Testing targets...
Tomas@383 219 -->
Tomas@383 220
Tomas@383 221 <target name="test">
Tomas@383 222 <ant antfile="${rt.root.dir}/javafx-beans-dt/build.xml" target="test" inheritAll="false"/>
Tomas@383 223 <ant antfile="${rt.root.dir}/javafx-concurrent/build.xml" target="test" inheritAll="false"/>
Tomas@383 224 <!--<ant antfile="${rt.root.dir}/javafx-designtime/build.xml" target="test" inheritAll="false"/>-->
Tomas@383 225 <ant antfile="${rt.root.dir}/javafx-ui-controls/build.xml" target="test" inheritAll="false"/>
paru@494 226 <ant antfile="${rt.root.dir}/javafx-ui-charts/build.xml" target="test" inheritAll="false"/>
pavel@2018 227 <ant antfile="${rt.root.dir}/javafx-anim/build.xml" target="test" inheritAll="false"/>
martin@2486 228 <ant antfile="${rt.root.dir}/javafx-beans/build.xml" target="test" inheritAll="false"/>
pavel@2018 229 <ant antfile="${rt.root.dir}/javafx-common/build.xml" target="test" inheritAll="false"/>
pavel@2018 230 <ant antfile="${rt.root.dir}/javafx-sg-common/build.xml" target="test" inheritAll="false"/>
pavel@2018 231 <ant antfile="${rt.root.dir}/javafx-geom/build.xml" target="test" inheritAll="false"/>
pavel@2018 232 <ant antfile="${rt.root.dir}/javafx-sg-prism/build.xml" target="test" inheritAll="false"/>
Tomas@383 233 <ant antfile="${rt.root.dir}/javafx-ui-common/build.xml" target="test" inheritAll="false"/>
rbair@2830 234 <ant antfile="${rt.root.dir}/prism-common/build.xml" target="test" inheritAll="false"/>
Tomas@383 235 <ant antfile="${rt.root.dir}/javafx-util-converter/build.xml" target="test" inheritAll="false"/>
gbrown@1777 236 <ant antfile="${rt.root.dir}/javafx-fxml/build.xml" target="test" inheritAll="false"/>
eva@3631 237 <ant antfile="${rt.root.dir}/javafx-builders/build.xml" target="test" inheritAll="false"/>
Tomas@383 238 </target>
Tomas@383 239
Tomas@383 240 <!--
Tomas@383 241 Clean-up targets...
Tomas@383 242 -->
Tomas@383 243
Tomas@383 244 <target name="clean" depends="init">
Tomas@383 245 <delete dir="${build.dir}"/>
Tomas@383 246 <delete dir="dist"/>
artem@2690 247 <ant antfile="${rt.root.dir}/glass/build.xml" target="clean" inheritAll="false"/>
Tomas@383 248 <ant antfile="${rt.root.dir}/javafx-beans-dt/build.xml" target="clean" inheritAll="false"/>
Tomas@383 249 <ant antfile="${rt.root.dir}/javafx-concurrent/build.xml" target="clean" inheritAll="false"/>
Tomas@383 250 <!--<ant antfile="${rt.root.dir}/javafx-designtime/build.xml" target="clean" inheritAll="false"/>-->
Tomas@383 251 <ant antfile="${rt.root.dir}/javafx-ui-controls/build.xml" target="clean" inheritAll="false"/>
jgiles@497 252 <ant antfile="${rt.root.dir}/javafx-ui-charts/build.xml" target="clean" inheritAll="false"/>
pavel@2018 253 <ant antfile="${rt.root.dir}/javafx-logging/build.xml" target="clean" inheritAll="false"/>
pavel@2018 254 <ant antfile="${rt.root.dir}/javafx-anim/build.xml" target="clean" inheritAll="false"/>
martin@2486 255 <ant antfile="${rt.root.dir}/javafx-beans/build.xml" target="clean" inheritAll="false"/>
pavel@2018 256 <ant antfile="${rt.root.dir}/javafx-common/build.xml" target="clean" inheritAll="false"/>
pavel@2018 257 <ant antfile="${rt.root.dir}/javafx-sg-common/build.xml" target="clean" inheritAll="false"/>
pavel@2018 258 <ant antfile="${rt.root.dir}/javafx-geom/build.xml" target="clean" inheritAll="false"/>
pavel@2018 259 <ant antfile="${rt.root.dir}/javafx-sg-prism/build.xml" target="clean" inheritAll="false"/>
kcr@2698 260 <ant antfile="${rt.root.dir}/javafx-ui-quantum/build.xml" target="clean" inheritAll="false"/>
Tomas@383 261 <ant antfile="${rt.root.dir}/javafx-ui-common/build.xml" target="clean" inheritAll="false"/>
pavel@2018 262 <ant antfile="${rt.root.dir}/pisces/build.xml" target="clean" inheritAll="false"/>
Tomas@383 263 <ant antfile="${rt.root.dir}/javafx-util-converter/build.xml" target="clean" inheritAll="false"/>
gbrown@1777 264 <ant antfile="${rt.root.dir}/javafx-fxml/build.xml" target="clean" inheritAll="false"/>
artem@2477 265 <ant antfile="${rt.root.dir}/javafx-embed-swing/build.xml" target="clean" inheritAll="false"/>
artem@2690 266 <antcall target="clean-decora-d3d"/>
kcr@3358 267 <antcall target="clean-decora-es2"/>
artem@2690 268 <ant antfile="${rt.root.dir}/decora-jsw/build.xml" target="clean" inheritAll="false"/>
artem@2690 269 <ant antfile="${rt.root.dir}/decora-prism-sw/build.xml" target="clean" inheritAll="false"/>
artem@2690 270 <ant antfile="${rt.root.dir}/decora-prism-ps/build.xml" target="clean" inheritAll="false"/>
artem@2690 271 <antcall target="clean-decora-sse"/>
kcr@4019 272 <ant antfile="${rt.root.dir}/javafx-font/build.xml" target="clean" inheritAll="false"/>
kcr@2698 273 <ant antfile="${rt.root.dir}/prism-util/build.xml" target="clean" inheritAll="false"/>
kcr@2698 274 <ant antfile="${rt.root.dir}/prism-common/build.xml" target="clean" inheritAll="false"/>
kcr@2698 275 <ant antfile="${rt.root.dir}/prism-j2d/build.xml" target="clean" inheritAll="false"/>
kcr@2698 276 <ant antfile="${rt.root.dir}/prism-ps/build.xml" target="clean" inheritAll="false"/>
kcr@2698 277 <ant antfile="${rt.root.dir}/prism-null/build.xml" target="clean" inheritAll="false"/>
kcr@2698 278 <antcall target="clean-prism-sw"/>
kcr@3358 279 <antcall target="clean-prism-d3d"/>
kcr@3358 280 <antcall target="clean-prism-es2-all"/>
Tomas@3606 281 <antcall target="clean-javafx-android"/>
artem@2477 282 <antcall target="clean-javafx-embed-swt"/>
eva@3631 283 <ant antfile="${rt.root.dir}/javafx-builders/build.xml" target="clean" inheritAll="false"/>
artem@2477 284 </target>
artem@2477 285
artem@2690 286 <target name="clean-decora-d3d" if="include.d3d">
artem@2690 287 <ant antfile="${rt.root.dir}/decora-d3d/build.xml" target="clean" inheritAll="false"/>
artem@2690 288 </target>
artem@2690 289
kcr@3358 290 <target name="clean-decora-es2" if="include.ogl">
kcr@3358 291 <ant antfile="${rt.root.dir}/decora-es2/build.xml" target="clean" inheritAll="false"/>
kcr@3358 292 </target>
kcr@3358 293
artem@2690 294 <target name="clean-decora-sse" if="include.sse">
artem@2690 295 <ant antfile="${rt.root.dir}/decora-sse/build.xml" target="clean" inheritAll="false"/>
artem@2690 296 </target>
artem@2690 297
kcr@2698 298 <target name="clean-prism-sw" if="include.prism.sw">
kcr@2698 299 <ant antfile="${rt.root.dir}/prism-sw/build.xml" target="clean" inheritAll="false"/>
kcr@2698 300 </target>
kcr@2698 301
kcr@3358 302 <target name="clean-prism-d3d" if="include.d3d">
kcr@3358 303 <ant antfile="${rt.root.dir}/prism-d3d/build.xml" target="clean" inheritAll="false"/>
kcr@3358 304 </target>
kcr@3358 305
kcr@3358 306 <target name="clean-prism-es2-all"
kcr@3358 307 depends="clean-prism-es2, clean-prism-es2-mac,
kcr@3358 308 clean-prism-es2-ios, clean-prism-es2-eglx11,
kcr@3358 309 clean-prism-es2-eglfb, clean-prism-es2-win,
kcr@3358 310 clean-prism-es2-x11"/>
kcr@3358 311
kcr@3358 312 <target name="clean-prism-es2" if="include.ogl">
kcr@3358 313 <ant antfile="${rt.root.dir}/prism-es2/build.xml" target="clean" inheritAll="false"/>
kcr@3358 314 </target>
kcr@3358 315
kcr@3358 316 <target name="clean-prism-es2-mac" if="isMacOSX">
kcr@3358 317 <ant antfile="${rt.root.dir}/prism-es2-mac/build.xml" target="clean" inheritAll="false"/>
kcr@3358 318 </target>
kcr@3358 319
kcr@3358 320 <target name="clean-prism-es2-ios" if="isIOS">
kcr@3358 321 <ant antfile="${rt.root.dir}/prism-es2-ios/build.xml" target="clean" inheritAll="false"/>
kcr@3358 322 </target>
kcr@3358 323
kcr@3358 324 <target name="clean-prism-es2-eglfb" if="include.eglfb">
kcr@3358 325 <ant antfile="${rt.root.dir}/prism-es2-eglfb/build.xml" target="clean" inheritAll="false"/>
kcr@3358 326 </target>
kcr@3358 327
kcr@3358 328 <target name="clean-prism-es2-eglx11" if="include.eglx11">
kcr@3358 329 <ant antfile="${rt.root.dir}/prism-es2-eglx11/build.xml" target="clean" inheritAll="false"/>
kcr@3358 330 </target>
kcr@3358 331
kcr@3358 332 <target name="clean-prism-es2-win" if="isWindows">
kcr@3358 333 <ant antfile="${rt.root.dir}/prism-es2-win/build.xml" target="clean" inheritAll="false"/>
kcr@3358 334 </target>
kcr@3358 335
kcr@3358 336 <target name="clean-prism-es2-x11" if="isLinux">
kcr@3358 337 <ant antfile="${rt.root.dir}/prism-es2-x11/build.xml" target="clean" inheritAll="false"/>
kcr@3358 338 </target>
kcr@3358 339
artem@2477 340 <target name="clean-javafx-embed-swt" if="swt.available">
artem@2477 341 <ant antfile="${rt.root.dir}/javafx-embed-swt/build.xml" target="clean" inheritAll="false"/>
Tomas@383 342 </target>
Tomas@3606 343
Tomas@3606 344 <target name="clean-javafx-android" if="isAndroid">
Tomas@3606 345 <ant antfile="${rt.root.dir}/javafx-android/build.xml" target="clean" inheritAll="false"/>
Tomas@3606 346 </target>
Tomas@383 347
Tomas@383 348 <!--
Tomas@383 349 Create an openjfxrt.jar file...
artem@2690 350 -->
artem@2690 351
artem@2690 352 <fileset id="openjfx.dist.jars" dir=".">
artem@2690 353 <include name="glass/dist/lib/*.jar"/>
artem@2690 354 <include name="*/dist/*.jar"/>
artem@2690 355 </fileset>
artem@2690 356
artem@2690 357 <fileset id="openjfx.dist.binaries" dir=".">
artem@2690 358 <include name="glass/dist${cross.name.suffix}/bin/*"/>
artem@2690 359 </fileset>
Tomas@383 360
kcr@2012 361 <target name="dist" depends="jar">
Tomas@383 362 <echo>Creating merged openjfxrt.jar file</echo>
artem@2690 363 <mkdir dir="${openjfx.dist.lib.dir}"/>
artem@2690 364 <delete file="${openjfx.dist.lib.dir}/openjfxrt.jar"/>
artem@2690 365 <jar destfile="${openjfx.dist.lib.dir}/openjfxrt.jar">
artem@2690 366 <zipgroupfileset refid="openjfx.dist.jars"/>
Tomas@383 367 </jar>
artem@2690 368 <echo>Copying binaries</echo>
artem@2690 369 <mkdir dir="${openjfx.dist.bin.dir}"/>
artem@2690 370 <delete file="${openjfx.dist.bin.dir}/*"/>
artem@2690 371 <copy todir="${openjfx.dist.bin.dir}" flatten="true">
artem@2690 372 <fileset refid="openjfx.dist.binaries"/>
artem@2690 373 </copy>
Tomas@383 374 </target>
Tomas@383 375
kcr@2012 376 <target name="default" depends="dist" />
Tomas@383 377
paru@494 378 </project>