1 <?xml version="1.0" encoding="UTF-8"?>
   2 <!-- 
   3 /*
   4  * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
   5  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
   6  *
   7  * This code is free software; you can redistribute it and/or modify it
   8  * under the terms of the GNU General Public License version 2 only, as
   9  * published by the Free Software Foundation. Oracle designates this
  10  * particular file as subject to the "Classpath" exception as provided
  11  * by Oracle in the LICENSE file that accompanied this code.
  12  *
  13  * This code is distributed in the hope that it will be useful, but WITHOUT
  14  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
  15  * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
  16  * version 2 for more details (a copy is included in the LICENSE file that
  17  * accompanied this code).
  18  *
  19  * You should have received a copy of the GNU General Public License version
  20  * 2 along with this work; if not, write to the Free Software Foundation,
  21  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
  22  *
  23  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  24  * or visit www.oracle.com if you need additional information or have any
  25  */
  26 -->
  27 <!--
  28     Run this project to prepare a full shipping build of all tests and auxiliary tools.
  29 -->
  30 <project name="JavaFX tests" default="all" basedir=".">
  31     <import file="detect_javafx.xml"/>
  32 
  33     <target name="all" depends="find-javafx">
  34         <ant antfile="tools/TestMarkup/build.xml" target="compile" inheritAll="false"/>
  35         <ant antfile="tools/SharedTestUtilsOpen/build.xml" target="compile" inheritAll="false"/>
  36         <ant antfile="tools/FxTestRunner/build.xml" target="compile-test" inheritAll="false"/>
  37         <ant antfile="tools/FxTestRunner/build.xml" target="jar" inheritAll="false"/>  
  38         <runtarget targetname="compile-test"/>
  39         <runtarget targetname="jar"/>
  40         <ant antfile="functional/ControlsTests/build.xml" target="dist-plugin" inheritAll="false"/>
  41         <ant antfile="functional/ControlsLeakTests/build.xml" target="compile" inheritAll="false"/>
  42         <ant antfile="functional/ControlsLeakTests/build.xml" target="compile-test" inheritAll="false"/>
  43         <ant antfile="functional/ControlsLeakTests/build.xml" target="jar" inheritAll="false"/>
  44         <ant antfile="functional/ControlsLeakTests/build.xml" target="dist-plugin" inheritAll="false"/>
  45     </target>
  46 
  47     <target name="compile" depends="find-javafx">
  48         <runtarget targetname="compile"/>
  49     </target>
  50 
  51 
  52     <target name="clean">
  53         <runtarget targetname="clean"/>
  54     </target>
  55 
  56     <macrodef name="runtarget">
  57         <attribute name="targetname" default="jar"/>
  58         <sequential>
  59             <ant antfile="tools/TestMarkup/build.xml" target="@{targetname}" inheritAll="false"/>
  60             <ant antfile="tools/SharedTestUtilsOpen/build.xml" target="@{targetname}" inheritAll="false"/>
  61             <ant antfile="tools/FxTestRunner/build.xml" target="@{targetname}" inheritAll="false"/>
  62             <ant antfile="functional/SceneGraphTests/build.xml" target="@{targetname}" inheritAll="false"/>
  63             <ant antfile="functional/FxmlTests/build.xml" target="@{targetname}" inheritAll="false"/>
  64             <ant antfile="functional/WebNodeAutomated/build.xml" target="@{targetname}" inheritAll="false"/>
  65             <ant antfile="functional/WebNodeManualTests/build.xml" target="@{targetname}" inheritAll="false"/>
  66             <ant antfile="functional/ControlsTests/build.xml" target="@{targetname}" inheritAll="false"/>
  67             <ant antfile="functional/3DTests/build.xml" target="@{targetname}" inheritAll="false"/>
  68             <ant antfile="functional/FXCssTests/build.xml" target="@{targetname}" inheritAll="false"/>
  69         </sequential>
  70     </macrodef>
  71 
  72 </project>