changeset 145:846b0a99dc08

Update paths in detect_javafx.xml.
author Aleksandr Sakharuk <aleksandr.sakharuk@oracle.com>
date Tue, 12 Feb 2013 17:57:19 +0400
parents b7a5e7714c6e
children d7483b66444c
files detect_javafx.xml
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/detect_javafx.xml	Tue Feb 12 17:56:14 2013 +0400
+++ b/detect_javafx.xml	Tue Feb 12 17:57:19 2013 +0400
@@ -9,14 +9,14 @@
         <property file="build.properties"/>
     </target>
     <target name="check-javafx-in-jdk" unless="javafx.rt">
-        <available file="${java.home}/lib/jfxrt.jar" property="jfxrt-jar-exists"/>
-        <fail unless="jfxrt-jar-exists" message="${java.home}/lib/jfxrt.jar does not exist"/>
+        <available file="${java.home}/lib/ext/jfxrt.jar" property="jfxrt-jar-exists"/>
+        <fail unless="jfxrt-jar-exists" message="${java.home}/lib/ext/jfxrt.jar does not exist"/>
         <property name="javafx.rt" value="${java.home}"/>
         <antcall target="write-javafx-rt" inheritall="true"/>
     </target>
     <target name="check-javafx-rt" if="javafx.rt">
-        <available file="${javafx.rt}/lib/jfxrt.jar" property="jfxrt-jar-exists"/>
-        <fail unless="jfxrt-jar-exists" message="${javafx.rt}/lib/jfxrt.jar does not exist"/>
+        <available file="${javafx.rt}/lib/ext/jfxrt.jar" property="jfxrt-jar-exists"/>
+        <fail unless="jfxrt-jar-exists" message="${javafx.rt}/lib/ext/jfxrt.jar does not exist"/>
     </target>
     <target name="find-javafx" depends="write-javafx-rt, read-javafx-rt, check-javafx-in-jdk, check-javafx-rt">
         <property file="build.properties"/>