changeset 141:c55b082358b5

Fix detect_javafx.xml.
author Aleksandr Sakharuk <aleksandr.sakharuk@oracle.com>
date Thu, 07 Feb 2013 15:06:08 +0400
parents cd4dc5a9f635
children a2ed81a050fd
files detect_javafx.xml
diffstat 1 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/detect_javafx.xml	Sat Jan 05 13:20:18 2013 +0400
+++ b/detect_javafx.xml	Thu Feb 07 15:06:08 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"/>