This is the mail archive of the
kawa@sourceware.org
mailing list for the Kawa project.
Re: Location of the JavaFX runtime library
Could you try the attached patch?
Preferably two ways:
(1) plain --with-javafx with no jar-path
(2) --with-java=PATH/jfxrt.jar
If someone has downloaded 7u4 on Windows, is building
on cywgin with configure+make, and would
test the same two ways, that would also be appreciated.
I may try tweaking the Ant build.xml later.
--
--Per Bothner
per@bothner.com http://per.bothner.com/
Index: configure.in
===================================================================
--- configure.in (revision 7243)
+++ configure.in (working copy)
@@ -214,13 +214,16 @@
yes) ;;
no) ;;
"") ;;
- *) conf_classpath=${with_servlet}${pathsep}$conf_classpath ;;
+ *) conf_classpath=${with_servlet}${CLASSPATH_SEPARATOR}$conf_classpath ;;
esac
case ${with_javafx} in
yes) ;;
no) ;;
"") ;;
- *) conf_classpath=${with_javafx}/rt/lib/jfxrt.jar${CLASSPATH_SEPARATOR}$conf_classpath ;;
+ *)
+ test '!' -f "${with_javafx}" -a -f "${with_javafx}/rt/lib/jfxrt.jar" \
+ && with_javafx="${with_javafx}/rt/lib/jfxrt.jar"
+ conf_classpath=${with_javafx}${CLASSPATH_SEPARATOR}$conf_classpath ;;
esac
case ${with_android} in
yes) ;;
Index: configure
===================================================================
--- configure (revision 7243)
+++ configure (working copy)
@@ -4552,13 +4552,16 @@
yes) ;;
no) ;;
"") ;;
- *) conf_classpath=${with_servlet}${pathsep}$conf_classpath ;;
+ *) conf_classpath=${with_servlet}${CLASSPATH_SEPARATOR}$conf_classpath ;;
esac
case ${with_javafx} in
yes) ;;
no) ;;
"") ;;
- *) conf_classpath=${with_javafx}/rt/lib/jfxrt.jar${CLASSPATH_SEPARATOR}$conf_classpath ;;
+ *)
+ test '!' -f "${with_javafx}" -a -f "${with_javafx}/rt/lib/jfxrt.jar" \
+ && with_javafx="${with_javafx}/rt/lib/jfxrt.jar"
+ conf_classpath=${with_javafx}${CLASSPATH_SEPARATOR}$conf_classpath ;;
esac
case ${with_android} in
yes) ;;