JunitTest_bean_complex - again
Hi, It is extremely difficult to describe which functionalities are not complete in the context of a LO call from java. If anyone wants, I can very easily provide him my test environment. My test environment --- 1. ManjaroLinux (5.2.11-1-MANJARO #1 SMP PREEMPT Thu Aug 29 07:41:24 UTC 2019 x86_64 GNU/Linux) 2. KDE Frameworks 5.61.0 3. Qt 5.13.0 (built against 5.13.0) 4. The xcb windowing system (xorg-server 1.20.5-1) 5. java version "12.0.2" 2019-07-16 Java(TM) SE Runtime Environment (build 12.0.2+10) Java HotSpot(TM) 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing) 6. Apache NetBeans IDE Dev (Build 20190916-7efefb61b4b6) 7. Java Libre Office Programming(JLOP Andrew Davison) http://fivedots.coe.psu.ac.th/~ad/jlop/ Test results VCLPLUGIN gtk3 gen gtk3_kde5 gtk svp kde5/kf5 qt5 LibreOffice doc visual doc visual doc visual doc visual doc visual doc visual doc visual master OK OK OK OK OK OK OK OK doc - doc is loaded visual - doc is shown As you can see from the results, only GEN, GTK and SVP work properly! Regards, Vladimir Koković, DP senior(69) Serbia, Belgrade, 26.sep 2019 test-lo6-dev-only.tar.gz Description: application/gzip ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
JunitTest_bean_complex
Hi, It is extremely difficult to describe which functionalities are not complete in the context of a LO call from java, but after much time, I was able to provide the environment and test results. If anyone wants, I can very easily provide him with a similar test environment. My environment --- 1. ManjaroLinux (5.2.11-1-MANJARO #1 SMP PREEMPT Thu Aug 29 07:41:24 UTC 2019 x86_64 GNU/Linux) 2. KDE Frameworks 5.61.0 3. Qt 5.13.0 (built against 5.13.0) 4. The xcb windowing system (xorg-server 1.20.5-1) 5. java version "12.0.2" 2019-07-16 Java(TM) SE Runtime Environment (build 12.0.2+10) Java HotSpot(TM) 64-Bit Server VM (build 12.0.2+10, mixed mode, sharing) 6. Apache NetBeans IDE Dev (Build 20190916-7efefb61b4b6) 7. Java Libre Office Programming(JLOP Andrew Davison) http://fivedots.coe.psu.ac.th/~ad/jlop/ Test results VCLPLUGIN gtk3 gen gtk3_kde5 gtk svp kde5/kf5 qt5 kde4 LibreOffice doc visual doc visual doc visual doc visual doc visual doc visual doc visual doc visual 6.2.7.1 RPMS OK OK OK OK OK OK OK OK OK OK 6.3.0.1 RPMS OK OK OK OK OK OK OK OK OK OK OK master OK OK OK OK OK OK OK OK OK OK master + vk-kde4 OK OK OK OK OK OK OK OK OK doc - doc is loaded visual - doc is shown master + vk-kde4 - my master with kde4 functionality restored from 6.2.7.1 As you can see from the results, only GEN, GTK, SVP and KDE4 (where available) always work properly! Regards, Vladimir Koković, DP senior(69) Serbia, Belgrade, 18.sep 2019 ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: JunitTest_bean_complex - [qt5,kf5] failed
Am 12.09.19 um 22:55 schrieb gmail Vladimir Koković: > Following the suggestion to comment line 44 in vcl/qt5/Qt5Clipboard.cxx, now > there is something new that is unsolvable to me. There was some additional problematic output even before that Qt5Clipboards assertion: "QObject::setParent: Cannot set parent, new parent is in a different thread" So LO is doing something I didn't expect when I added the assert, which definitely conflicts with the current assumptions of the implementation. I'll see, if I find some time to look into this, but probably not before the end of next week. But it looks very much that some additional stuff should be run in the main thread. If you want to debug and fix that, look for RunInMainThread calls sites in the qt5 code as an example. And think about opening a bug report in Bugzilla. > JunitTest_bean_complex logs are in logs.tar.gz, in the attachment file. office.bin: /mnt/sdd1/home/src/libreoffice-vk/libreoffice/vcl/qt5/Qt5Frame.cxx:431: void Qt5Frame::SetDefaultSize(): Assertion `!m_bDefaultSize' failed. After reading the code, that assertion is quite probably a wrong. Interesting, that this didn't crash the video overlay, when we developed it, but maybe I added the assertion later, when I fixed the VCL geometry handling inside the qt5 plugin. And then there is your previous mail: > Thanks for the tip, with SAL_USE_VCLPLUGIN=gtk3 DocumentLoader passes! > > But, JunitTest_bean_complex does not pass with any plugin, as can be seen > in logs.tar.gz, in the attachment file! If you don't want to fix the qt5 stuff, there seems to be plenty of other stuff broken in the formerly disabled unit test. I'm actually not sure this could ever run without native windows, if the test relies on overlay plugin windows from Java. I actually didn't look into it, so that is just a guess. HTH Jan-Marek ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
JunitTest_bean_complex - [qt5,kf5] failed
Hi, Following the suggestion to comment line 44 in vcl/qt5/Qt5Clipboard.cxx, now there is something new that is unsolvable to me. JunitTest_bean_complex logs are in logs.tar.gz, in the attachment file. Regards, Vladimir Koković, DP senior(69) Serbia, Belgrade, 12.Sep 2019 logs.tar.gz Description: application/gzip ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
JunitTest_bean_complex
Hi, I believe I have finally found what is the reason why today, the java embedded part does not work as before. In all versions of LO 6.x.x.x where libvclplug_kde4lo.so exists, and using SAL_USE_VCLPLUGIN=kde4, the java embedded part works. This states that vlc kde5 is wrong with the java embedded part! Regards, Vladimir Koković, DP senior(69) Serbia, Belgrade, 10.sep 2019 ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: JunitTest_bean_complex - odk example DocumentLoader failed
Hi, Thanks for the tip, with SAL_USE_VCLPLUGIN=gtk3 DocumentLoader passes! But, JunitTest_bean_complex does not pass with any plugin, as can be seen in logs.tar.gz, in the attachment file! Regards, Vladimir Koković, DP senior(69) Serbia, Belgrade, 7.sep 2019 On 6.9.19. 17:28, Michael Stahl wrote: On 06.09.19 17:15, gmail Vladimir Koković wrote: Hi, Thanks for the suggestion, but it's like we're talking about two different things. On my LO local installation as of today, DocumentLoader can't pass! [...] CE> QObject::setParent: Cannot set parent, new parent is in a different thread CE> soffice.bin: /mnt/sdd1/home/src/libreoffice-vk/libreoffice/vcl/qt5/Qt5Clipboard.cxx:44: static com::sun::star::uno::Reference Qt5Clipboard::create(const rtl::OUString&): Assertion `QApplication::clipboard()->thread() == qApp->thread()' failed. that's the problem, looks like the KDE5/Qt5 code has a threading problem there that wasn't found previously? try to set SAL_USE_VCLPLUGIN=gtk3 or =gen to work around that for now... logs.tar.gz Description: application/gzip ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: JunitTest_bean_complex - odk example DocumentLoader failed
On 06/09/2019 17:15, gmail Vladimir Koković wrote: Connected to a running office ... CE> QObject::setParent: Cannot set parent, new parent is in a different thread CE> soffice.bin: /mnt/sdd1/home/src/libreoffice-vk/libreoffice/vcl/qt5/Qt5Clipboard.cxx:44: static com::sun::star::uno::Reference Qt5Clipboard::create(const rtl::OUString&): Assertion `QApplication::clipboard()->thread() == qApp->thread()' failed. That's the problem. For some reason the soffice.bin process triggers the assert in Qt5Clipboard::create at vcl/qt5/Qt5Clipboard.cxx:44. (I'm using LO's GTK3 backend, so don't run into that.) Maybe jmux (on cc now) has an idea what's going wrong, otherwise you need to debug that yourself. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: JunitTest_bean_complex - odk example DocumentLoader failed
On 06.09.19 17:15, gmail Vladimir Koković wrote: Hi, Thanks for the suggestion, but it's like we're talking about two different things. On my LO local installation as of today, DocumentLoader can't pass! [...] CE> QObject::setParent: Cannot set parent, new parent is in a different thread CE> soffice.bin: /mnt/sdd1/home/src/libreoffice-vk/libreoffice/vcl/qt5/Qt5Clipboard.cxx:44: static com::sun::star::uno::Reference Qt5Clipboard::create(const rtl::OUString&): Assertion `QApplication::clipboard()->thread() == qApp->thread()' failed. that's the problem, looks like the KDE5/Qt5 code has a threading problem there that wasn't found previously? try to set SAL_USE_VCLPLUGIN=gtk3 or =gen to work around that for now... ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: JunitTest_bean_complex - odk example DocumentLoader failed
Hi, Thanks for the suggestion, but it's like we're talking about two different things. On my LO local installation as of today, DocumentLoader can't pass! On 6.9.19. 13:44, Stephan Bergmann wrote: On 05/09/2019 17:30, gmail Vladimir Koković wrote: Also, the following example odk/examples /java/DocumentHandling/DocumentLoader.java generates an exception: What works fine for me with a recent local LO master build on Linux is: > $ cd instdir/sdk > $ ./setsdkenv_unix [...] > $ cd examples/java/DocumentHandling > $ make [...] > $ make DocumentLoader.run [...] > # LO starts up showing some sample Writer document So maybe you are using the SDK in a wrong way; or else you would need to debug why things don't work for you. [root@vlada-kuci libreoffice-vk 16:34:20]# /mnt/sdd1/home/src/libreoffice-vk/libreoffice/instdir/sdk/setsdkenv_unix * * SDK environment is prepared for Linux * * SDK = /mnt/sdd1/home/src/libreoffice-vk/libreoffice/instdir/sdk * Office = /mnt/sdd1/home/src/libreoffice-vk/libreoffice/instdir/sdk/.. * Make = /usr/bin * Zip = /usr/bin * cat = /usr/bin * sed = /usr/bin * C++ Compiler = /usr/bin * Java = /usr/lib/jvm/default * SDK Output directory = /root/libreoffice6.4_sdk * Auto deployment = YES * [root@vlada-kuci libreoffice-vk 16:35:30]# [root@vlada-kuci libreoffice-vk 16:44:37]# ./build-libreoffice-check-sbergman.sh set -e cd libreoffice cd instdir/sdk # ./setsdkenv_unix cd examples/java/DocumentHandling make > ../../../../../../make-outxyzz1.log 2>&1 make DocumentLoader.run >> ../../../../../../make-outxyzz1.log 2>&1 [root@vlada-kuci libreoffice-vk 16:44:51]# cat make-outxyzz1.log - mkdir -p /root/libreoffice6.4_sdk/LINUXexample.out/class/JavaDocumentHandlingExamples mkdir -p /root/libreoffice6.4_sdk/LINUXexample.out/class/JavaDocumentHandlingExamples "/usr/lib/jvm/default/bin/javac" -classpath "/mnt/sdd1/home/src/libreoffice-vk/libreoffice/instdir/sdk/../program/classes/juh.jar:/mnt/sdd1/home/src/libreoffice-vk/libreoffice/instdir/sdk/../program/classes/jurt.jar:/mnt/sdd1/home/src/libreoffice-vk/libreoffice/instdir/sdk/../program/classes/ridl.jar:/mnt/sdd1/home/src/libreoffice-vk/libreoffice/instdir/sdk/../program/classes/unoloader.jar:/mnt/sdd1/home/src/libreoffice-vk/libreoffice/instdir/sdk/../program/classes/unoil.jar::/root/libreoffice6.4_sdk/LINUXexample.out/class/JavaDocumentHandlingExamples" -d /root/libreoffice6.4_sdk/LINUXexample.out/class/JavaDocumentHandlingExamples DocumentConverter.java mkdir -p /root/libreoffice6.4_sdk/LINUXexample.out/class/JavaDocumentHandlingExamples cd /root/libreoffice6.4_sdk/LINUXexample.out/class/JavaDocumentHandlingExamples && "/usr/lib/jvm/default/bin/jar" cvfm DocumentConverter.jar DocumentConverter.mf DocumentConverter.class added manifest adding: DocumentConverter.class(in = 4216) (out= 2304)(deflated 45%) "/usr/lib/jvm/default/bin/jar" uvf /root/libreoffice6.4_sdk/LINUXexample.out/class/JavaDocumentHandlingExamples/DocumentConverter.jar -C ../../../classes 'com/sun/star/lib/loader/' -C ../../../classes 'win/unowinreg.dll' adding: com/sun/star/lib/loader/(in = 0) (out= 0)(stored 0%) adding: com/sun/star/lib/loader/InstallationFinder.class(in = 9839) (out= 5312)(deflated 46%) adding: com/sun/star/lib/loader/Loader$1.class(in = 916) (out= 490)(deflated 46%) adding: com/sun/star/lib/loader/WinRegKeyException.class(in = 475) (out= 287)(deflated 39%) adding: com/sun/star/lib/loader/Loader$CustomURLClassLoader.class(in = 1465) (out= 723)(deflated 50%) adding: com/sun/star/lib/loader/WinRegKey.class(in = 5205) (out= 2672)(deflated 48%) adding: com/sun/star/lib/loader/InstallationFinder$StreamGobbler.class(in = 1103) (out= 624)(deflated 43%) adding: com/sun/star/lib/loader/Loader$Drain.class(in = 735) (out= 462)(deflated 37%) adding: com/sun/star/lib/loader/Loader.class(in = 8526) (out= 4109)(deflated 51%) adding: win/unowinreg.dll(in = 12288) (out= 1712)(deflated 86%) mkdir -p /root/libreoffice6.4_sdk/LINUXexample.out/class/JavaDocumentHandlingExamples mkdir -p /root/libreoffice6.4_sdk/LINUXexample.out/class/JavaDocumentHandlingExamples "/usr/lib/jvm/default/bin/javac" -classpath "/mnt/sdd1/home/src/libreoffice-vk/libreoffice/instdir/sdk/../program/classes/juh.jar:/mnt/sdd1/home/src/libreoffice-vk/libreoffice/instdir/sdk/../program/classes/jurt.jar:/mnt/sdd1/home/src/libreoffice-vk/libreoffice/instdir/sdk/../program/classes/ridl.jar:/mnt/sdd1/home/src/libreoffice-vk/libreoffice/instdir/sdk/../program/classes/unoloader.jar:/mnt/sdd1/home/src/libreoffice-vk/libreoffice/instdir/sdk/../program/classes/unoil.jar::/root/libreoffice6.4_sdk/LINUXexample.out/class/JavaDocumentHandlingExamples" -d /root/libreoffice6.4_sdk/LINUXexample.out/class/JavaDocumentHandlingExamples DocumentLoader.java mkdir -p /root/libreoffice6.4_sdk/LINUXe
Re: JunitTest_bean_complex - odk example DocumentLoader failed
On 05/09/2019 17:30, gmail Vladimir Koković wrote: Also, the following example odk/examples /java/DocumentHandling/DocumentLoader.java generates an exception: What works fine for me with a recent local LO master build on Linux is: > $ cd instdir/sdk > $ ./setsdkenv_unix [...] > $ cd examples/java/DocumentHandling > $ make [...] > $ make DocumentLoader.run [...] > # LO starts up showing some sample Writer document So maybe you are using the SDK in a wrong way; or else you would need to debug why things don't work for you. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
JunitTest_bean_complex - odk example DocumentLoader failed
Hi, Also, the following example odk/examples /java/DocumentHandling/DocumentLoader.java generates an exception: CE> Application Error com.sun.star.lang.DisposedException at com.sun.star.lib.uno.environments.remote.JobQueue.removeJob (JobQueue.java:201) at com.sun.star.lib.uno.environments.remote.JobQueue.enter (JobQueue.java:308) at com.sun.star.lib.uno.environments.remote.JobQueue.enter (JobQueue.java:281) at com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter (JavaThreadPool.java:81) at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest (java_remote_bridge.java:619) at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory $ Handler.request (ProxyFactory.java:145) at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory $ Handler.invoke (ProxyFactory.java:129) at com.sun.proxy. $ proxy3.loadComponentFromURL (Unknown Source) at libreoffice.bug107829.DocumentLoader.main (DocumentLoader.java:81) Caused by: java.io.EOFException at java.base / java.io.DataInputStream.readInt (DataInputStream.java:397) at com.sun.star.lib.uno.protocols.urp.urp.readBlock (urp.java:364) at com.sun.star.lib.uno.protocols.urp.urp.readMessage (urp.java:96) at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge $ MessageDispatcher.run (java_remote_bridge.java:92) Someone who is more familiar with JAVA-UNO should examine what this is about. Regards, Vladimir Koković, DP senior(69) Serbia, Belgrade, 5.sep 2019 ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
JunitTest_bean_complex - odk example OOoBeanViewer failed
Hi, In trying to solve the JunitTest_bean_complex test problem, I tried everything, to eventually find a way to show that OOoBean definitely has a problem with UNO. The best example is odk/examples/ DevelopersGuide/OfficeBean/ OOoBeanViewer.java when you try text document, OOoBean on line 650 com.sun.star.lang.XComponent xComponent = xLoader.loadComponentFromURL ( aURL, "_self", 0, aArgs); generates an exception: com.sun.star.uno.RuntimeException: com.sun.star.lib.uno.environments.remote.JobQueue.removeJob - unexpected: java.lang.InterruptedException at com.sun.star.lib.uno.environments.remote.JobQueue.removeJob (JobQueue.java:212) at com.sun.star.lib.uno.environments.remote.JobQueue.enter (JobQueue.java:308) at com.sun.star.lib.uno.environments.remote.JobQueue.enter (JobQueue.java:281) at com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter (JavaThreadPool.java:81) at com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest (java_remote_bridge.java:619) at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory $ Handler.request (ProxyFactory.java:145) at com.sun.star.lib.uno.bridges.java_remote.ProxyFactory $ Handler.invoke (ProxyFactory.java:129) at com.sun.proxy. $ proxy14.loadComponentFromURL (Unknown Source) at com.sun.star.comp.beans.OOoBean.loadFromURL (OOoBean.java:650) ... Someone who is more familiar with JAVA-UNO should examine what this is about. Regards, Vladimir Koković, DP senior(69) Serbia, Belgrade, 3.sep 2019 ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: JunitTest_bean_complex - test failed
Hi, This test has never been active in LibreOffice! All methods are original OpenOffice methods. Someone needs to decide what to be active and what to eliminate. Regards, Vladimir Koković, DP senior(69) Serbia, Belgrade, 29.aug 2019 On 29.8.19. 18:09, Michael Stahl wrote: On 29.08.19 17:22, gmail Vladimir Koković wrote: Hi, With a little help from Stephan Bergmann, I finally have a bean JunitTest_bean_complex test result! great! 1) test6a(complex.bean.OOoBeanTest) java.lang.AssertionError: Focus error: After removing and adding the bean, theoffice window does not receive keyboard input. Try typing in the window, you've got 30s!!! This test may not work with Linux/Solaris uhh it sounds like this test function is meant for interactive use, which is clearly not an option for our test suite. probably best to disable this one until you find a way to automatically send the keyboard events at an appropriate time... 6) test6(complex.bean.OOoBeanTest) java.lang.AssertionError: Focus error: After removing and adding the bean, theoffice window does not receive keyboard input. Try typing in the window, you've got 30s!!! This test may not work with Linux/Solaris same here. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
Re: JunitTest_bean_complex - test failed
On 29.08.19 17:22, gmail Vladimir Koković wrote: Hi, With a little help from Stephan Bergmann, I finally have a bean JunitTest_bean_complex test result! great! 1) test6a(complex.bean.OOoBeanTest) java.lang.AssertionError: Focus error: After removing and adding the bean, theoffice window does not receive keyboard input. Try typing in the window, you've got 30s!!! This test may not work with Linux/Solaris uhh it sounds like this test function is meant for interactive use, which is clearly not an option for our test suite. probably best to disable this one until you find a way to automatically send the keyboard events at an appropriate time... 6) test6(complex.bean.OOoBeanTest) java.lang.AssertionError: Focus error: After removing and adding the bean, theoffice window does not receive keyboard input. Try typing in the window, you've got 30s!!! This test may not work with Linux/Solaris same here. ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
JunitTest_bean_complex - test failed
Hi, With a little help from Stephan Bergmann, I finally have a bean JunitTest_bean_complex test result! 1.clone LibreOffice git 2.changed bean/Module_bean.mk and bean/JunitTest_bean_complex.mk to activate JunitTest_bean_complex diff --git a/bean/JunitTest_bean_complex.mk b/bean/JunitTest_bean_complex.mk index 1d22dcd..cf064c7 100644 --- a/bean/JunitTest_bean_complex.mk +++ b/bean/JunitTest_bean_complex.mk @@ -16,6 +16,7 @@ test \ unoil \ officebean \ + jurt \ )) $(eval $(call gb_JunitTest_add_sourcefiles,bean_complex,\ diff --git a/bean/Module_bean.mk b/bean/Module_bean.mk index 08d9390..df140c8 100644 --- a/bean/Module_bean.mk +++ b/bean/Module_bean.mk @@ -20,9 +20,9 @@ )) # complex tests compilable but fail at runtime -#$(eval $(call gb_Module_add_subsequentcheck_targets,bean,\ -# JunitTest_bean_complex \ -#)) +$(eval $(call gb_Module_add_subsequentcheck_targets,bean,\ + JunitTest_bean_complex \ +)) endif endif 3.make ./autogen.sh \ --with-junit=/mnt/sdd1/home/src/libreoffice-vk/junit-4.12.jar \ --with-hamcrest=/mnt/sdd1/home/src/libreoffice-vk/hamcrest-core-1.3.jar \ --enable-qt5 \ --enable-kf5 \ --disable-firebird-sdbc \ --prefix=/mnt/sdd1/home/src/libreoffice-vk/libreoffice-install \ --with-parallelism=4 \ --enable-dbgutil \ --with-jdk-home=/usr/lib/jvm/default \ --with-system-dicts \ --with-myspell-dicts \ --with-system-zlib \ --without-system-poppler \ --without-system-openssl \ --without-system-libpng \ --without-system-libxml \ --without-system-jpeg \ --without-system-jars \ --without-system-postgresql \ --with-help \ --without-helppack-integration \ --with-linker-hash-style=both \ --with-fonts \ --with-external-thes-dir=/usr/share/mythes \ --with-external-hyph-dir=/usr/share/hyphen \ --with-external-dict-dir=/usr/share/myspell \ --enable-dbus \ --enable-extension-integration \ --enable-odk \ --disable-gtk3 \ --enable-gstreamer-1-0 \ --enable-evolution2 \ --enable-gio \ --enable-scripting-beanshell \ --enable-scripting-javascript \ --enable-ext-wiki-publisher \ --enable-ext-nlpsolver \ --enable-epm \ --enable-python=internal \ --enable-online-update \ --enable-breakpad \ --disable-dconf \ --enable-mergelibs \ --with-vendor="The Document Foundation" \ --with-package-format=archive \ --disable-dependency-tracking \ --with-export-validation \ > ../autogen-outz.log 2>&1 make clean make > ../make-outx.log 2>&1 make install > ../make-outz.log 2>&1 4. check make bean.clean verbose=t > ../make-outxy1.log 2>&1 make bean verbose=t >> ../make-outxy1.log 2>&1 export LD_LIBRARY_PATH=/usr/lib/jvm/default/jre/lib/amd64 export DISPLAY=:0 make bean.subsequentcheck verbose=t >> ../make-outxy1.log 2>&1 cat ../make-outxy1.log - cd /mnt/sdd1/home/src/libreoffice-vk/libreoffice/bean && make -j 4 -r clean make[1]: Entering directory '/mnt/sdd1/home/src/libreoffice-vk/libreoffice/bean' [clean JCS] Jar/officebean S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice && I=$S/instdir && W=$S/workdir && rm -rf $W/JavaClassSet/Jar/officebean/ \ /mnt/sdd1/home/src/libreoffice-vk/libreoffice/workdir/JavaClassSet/Jar/officebean.prepared [clean LNK] Library/libofficebean.so RESPONSEFILE=/tmp/gbuild.fPL7C6 && \ cat ${RESPONSEFILE} /dev/null | xargs -n 200 rm -fr && \ rm -f ${RESPONSEFILE} [clean JCS] JunitTest/bean_complex S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice && I=$S/instdir && W=$S/workdir && rm -rf $W/JavaClassSet/JunitTest/bean_complex/ \ /mnt/sdd1/home/src/libreoffice-vk/libreoffice/workdir/JavaClassSet/JunitTest/bean_complex.prepared S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice && I=$S/instdir && W=$S/workdir && rm -f $W/Clean/JunitTest/bean_complex $W/Clean/JunitTest/bean_complex.log [clean JAR] officebean S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice && I=$S/instdir && W=$S/workdir && rm -f $I/program/classes/officebean.jar S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice && I=$S/instdir && W=$S/workdir && rm -f $W/LinkTarget/Library/libofficebean.so.exports [clean MOD] bean S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice && I=$S/instdir && W=$S/workdir && rm -f $W/Module/bean $W/Module/nonl10n/bean $W/Module/l10n/bean $W/Module/check/bean $W/Module/slowcheck/bean $W/Module/screenshot/bean $W/Module/subsequentcheck/bean $W/Module/perfcheck/bean [clean ALL] top level modules: bean [clean ALL] loaded modules: bean make[1]: Leaving directory '/mnt/sdd1/home/src/libreoffice-vk/libreoffice/bean' --- cd /mnt/sdd1/home/src/libreoffice-vk/libreoffice/bean && make -j 4 -r make[1]: Entering directory '/mnt/sdd1/home/src/libreoffice-vk/libre
Re: bean JunitTest_bean_complex - jurt.jar missing from classpath
On 28/08/2019 19:36, gmail Vladimir Koković wrote: I want to reactivate bean JunitTest_bean_complex but I have a problem because I don't know how to add jurt.jar to classpath in bean module. add jurt to the gb_JunitTest_use_jars list in bean/JunitTest_bean_complex.mk ___ LibreOffice mailing list LibreOffice@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/libreoffice
bean JunitTest_bean_complex - jurt.jar missing from classpath
Hi, I want to reactivate bean JunitTest_bean_complex but I have a problem because I don't know how to add jurt.jar to classpath in bean module. I did the following: 1.clone LibreOffice git 2.changed bean / Module_bean.mk to activate JunitTest_bean_complex diff --git a/bean/Module_bean.mk b/bean/Module_bean.mk index 08d9390..df140c8 100644 --- a/bean/Module_bean.mk +++ b/bean/Module_bean.mk @@ -20,9 +20,9 @@ )) # complex tests compilable but fail at runtime -#$(eval $(call gb_Module_add_subsequentcheck_targets,bean,\ -# JunitTest_bean_complex \ -#)) +$(eval $(call gb_Module_add_subsequentcheck_targets,bean,\ + JunitTest_bean_complex \ +)) endif endif 3.make ./autogen.sh \ --with-junit=/mnt/sdd1/home/src/libreoffice-vk/junit-4.12.jar \ --with-hamcrest=/mnt/sdd1/home/src/libreoffice-vk/hamcrest-core-1.3.jar \ --enable-qt5 \ --enable-kf5 \ --disable-firebird-sdbc \ --prefix=/mnt/sdd1/home/src/libreoffice-vk/libreoffice-install \ --with-parallelism=4 \ --enable-dbgutil \ --with-jdk-home=/usr/lib/jvm/default \ --with-system-dicts \ --with-myspell-dicts \ --with-system-zlib \ --without-system-poppler \ --without-system-openssl \ --without-system-libpng \ --without-system-libxml \ --without-system-jpeg \ --without-system-jars \ --without-system-postgresql \ --with-help \ --without-helppack-integration \ --with-linker-hash-style=both \ --with-fonts \ --with-external-thes-dir=/usr/share/mythes \ --with-external-hyph-dir=/usr/share/hyphen \ --with-external-dict-dir=/usr/share/myspell \ --enable-dbus \ --enable-extension-integration \ --enable-odk \ --disable-gtk3 \ --enable-gstreamer-1-0 \ --enable-evolution2 \ --enable-gio \ --enable-scripting-beanshell \ --enable-scripting-javascript \ --enable-ext-wiki-publisher \ --enable-ext-nlpsolver \ --enable-epm \ --enable-python=internal \ --enable-online-update \ --enable-breakpad \ --disable-dconf \ --enable-mergelibs \ --with-vendor="The Document Foundation" \ --with-package-format=archive \ --disable-dependency-tracking \ --with-export-validation \ > ../autogen-outz.log 2>&1 make clean make > ../make-outx.log 2>&1 make install > ../make-outz.log 2>&1 4. check make bean.clean verbose=t > ../make-outx1.log 2>&1 make bean verbose=t >> ../make-outx1.log 2>&1 make bean.subsequentcheck verbose=t >> ../make-outx1.log 2>&1 cat ../make-outx1.log - cd /mnt/sdd1/home/src/libreoffice-vk/libreoffice/bean && make -j 4 -r clean make[1]: Entering directory '/mnt/sdd1/home/src/libreoffice-vk/libreoffice/bean' [clean JCS] Jar/officebean S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice && I=$S/instdir && W=$S/workdir && rm -rf $W/JavaClassSet/Jar/officebean/ \ /mnt/sdd1/home/src/libreoffice-vk/libreoffice/workdir/JavaClassSet/Jar/officebean.prepared [clean LNK] Library/libofficebean.so RESPONSEFILE=/tmp/gbuild.HucXJj && \ cat ${RESPONSEFILE} /dev/null | xargs -n 200 rm -fr && \ rm -f ${RESPONSEFILE} [clean JCS] JunitTest/bean_complex S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice && I=$S/instdir && W=$S/workdir && rm -rf $W/JavaClassSet/JunitTest/bean_complex/ \ /mnt/sdd1/home/src/libreoffice-vk/libreoffice/workdir/JavaClassSet/JunitTest/bean_complex.prepared [clean JAR] officebean S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice && I=$S/instdir && W=$S/workdir && rm -f $I/program/classes/officebean.jar S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice && I=$S/instdir && W=$S/workdir && rm -f $W/Clean/JunitTest/bean_complex $W/Clean/JunitTest/bean_complex.log S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice && I=$S/instdir && W=$S/workdir && rm -f $W/LinkTarget/Library/libofficebean.so.exports [clean MOD] bean S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice && I=$S/instdir && W=$S/workdir && rm -f $W/Module/bean $W/Module/nonl10n/bean $W/Module/l10n/bean $W/Module/check/bean $W/Module/slowcheck/bean $W/Module/screenshot/bean $W/Module/subsequentcheck/bean $W/Module/perfcheck/bean [clean ALL] top level modules: bean [clean ALL] loaded modules: bean make[1]: Leaving directory '/mnt/sdd1/home/src/libreoffice-vk/libreoffice/bean' cd /mnt/sdd1/home/src/libreoffice-vk/libreoffice/bean && make -j 4 -r make[1]: Entering directory '/mnt/sdd1/home/src/libreoffice-vk/libreoffice/bean' mkdir -p /mnt/sdd1/home/src/libreoffice-vk/libreoffice/workdir/JavaClassSet/Jar/ && touch /mnt/sdd1/home/src/libreoffice-vk/libreoffice/workdir/JavaClassSet/Jar/officebean.prepared S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice && I=$S/instdir && W=$S/workdir && touch $W/Headers/Library/libofficebean.so [build LOC] bean S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice && I=$S/instdir &