changeset 5:5f8cbf996f33

Partial RT-19064: initial top-level build file from Jonathan Giles
author kcr
date Fri, 20 Jan 2012 13:07:53 -0800
parents 5a537ec76c6e
children 69c1a5e297ed
files build.xml
diffstat 1 files changed, 67 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/build.xml	Fri Jan 20 13:07:53 2012 -0800
@@ -0,0 +1,67 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+/*
+ * Copyright (c) 2009, 2012, Oracle and/or its affiliates. All rights reserved.
+ * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+ *
+ * This code is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License version 2 only, as
+ * published by the Free Software Foundation. Oracle designates this
+ * particular file as subject to the "Classpath" exception as provided
+ * by Oracle in the LICENSE file that accompanied this code.
+ *
+ * This code is distributed in the hope that it will be useful, but WITHOUT
+ * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
+ * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
+ * version 2 for more details (a copy is included in the LICENSE file that
+ * accompanied this code).
+ *
+ * You should have received a copy of the GNU General Public License version
+ * 2 along with this work; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
+ * or visit www.oracle.com if you need additional information or have any
+ * questions.
+ */
+--> 
+<project name="OpenJFX" default="dist" basedir=".">
+    <description>Builds, tests, and runs the project OpenJFX</description>
+    
+    <property name="rt.root.dir" location="rt"/>
+
+    <target name="init">
+        <!-- ensure version 1.7.1 of ant -->
+        <fail message="Ant version 1.7.1 or later is required to build JavaFX.">
+            <condition><not><antversion atleast="1.7.1"/></not></condition>
+        </fail>
+    </target>
+
+    <!--
+        Build targets...
+      -->
+
+    <target name="dist" depends="init">
+      <ant antfile="${rt.root.dir}/build.xml" target="dist" inheritAll="false"/>
+    </target>
+
+    <!--
+      Testing targets...
+    -->
+
+    <target name="test">
+      <ant antfile="${rt.root.dir}/build.xml" target="test" inheritAll="false"/>
+    </target>
+
+    <!--
+        Clean-up targets...
+      -->
+
+    <target name="clean" depends="init">
+       <delete dir="${build.dir}"/>
+       <ant antfile="${rt.root.dir}/build.xml" target="clean" inheritAll="false"/>
+    </target>
+    
+    <target name="default" depends="dist" />
+
+</project>