<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <p>Hi,</p>
    <p><span class="tlid-translation translation" lang="en"><span
          title="">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.</span><br>
        <span title="" class=""><br>
        </span></span></p>
    <p><span class="tlid-translation translation" lang="en"><span
          title="" class="">I did the following:</span></span></p>
    <p><span class="tlid-translation translation" lang="en"><span
          title="" class="">1.clone LibreOffice git</span><br>
        <span title="" class="">2.changed bean / Module_bean.mk to
          activate JunitTest_bean_complex</span></span></p>
    <p><span class="tlid-translation translation" lang="en"><span
          title="" class="">diff --git a/bean/Module_bean.mk
          b/bean/Module_bean.mk<br>
          index 08d9390..df140c8 100644<br>
          --- a/bean/Module_bean.mk<br>
          +++ b/bean/Module_bean.mk<br>
          @@ -20,9 +20,9 @@<br>
           ))<br>
           <br>
           # complex tests compilable but fail at runtime<br>
          -#$(eval $(call gb_Module_add_subsequentcheck_targets,bean,\<br>
          -#    JunitTest_bean_complex \<br>
          -#))<br>
          +$(eval $(call gb_Module_add_subsequentcheck_targets,bean,\<br>
          +    JunitTest_bean_complex \<br>
          +))<br>
           endif<br>
           endif<br>
           <br>
        </span><br>
        <span title="" class="">3.make</span></span></p>
    <p><span class="tlid-translation translation" lang="en"><span
          title="" class="">./autogen.sh \<br>
          --with-junit=/mnt/sdd1/home/src/libreoffice-vk/junit-4.12.jar
          \<br>
--with-hamcrest=/mnt/sdd1/home/src/libreoffice-vk/hamcrest-core-1.3.jar
          \<br>
          --enable-qt5 \<br>
          --enable-kf5 \<br>
          --disable-firebird-sdbc \<br>
          --prefix=/mnt/sdd1/home/src/libreoffice-vk/libreoffice-install
          \<br>
          --with-parallelism=4 \<br>
          --enable-dbgutil \<br>
          --with-jdk-home=/usr/lib/jvm/default \<br>
          --with-system-dicts \<br>
          --with-myspell-dicts \<br>
          --with-system-zlib \<br>
          --without-system-poppler \<br>
          --without-system-openssl \<br>
          --without-system-libpng \<br>
          --without-system-libxml \<br>
          --without-system-jpeg \<br>
          --without-system-jars \<br>
          --without-system-postgresql \<br>
          --with-help \<br>
          --without-helppack-integration \<br>
          --with-linker-hash-style=both \<br>
          --with-fonts \<br>
          --with-external-thes-dir=/usr/share/mythes \<br>
          --with-external-hyph-dir=/usr/share/hyphen \<br>
          --with-external-dict-dir=/usr/share/myspell \<br>
          --enable-dbus \<br>
          --enable-extension-integration \<br>
          --enable-odk \<br>
          --disable-gtk3 \<br>
          --enable-gstreamer-1-0 \<br>
          --enable-evolution2 \<br>
          --enable-gio \<br>
          --enable-scripting-beanshell \<br>
          --enable-scripting-javascript \<br>
          --enable-ext-wiki-publisher \<br>
          --enable-ext-nlpsolver \<br>
          --enable-epm \<br>
          --enable-python=internal \<br>
          --enable-online-update \<br>
          --enable-breakpad \<br>
          --disable-dconf \<br>
          --enable-mergelibs \<br>
          --with-vendor="The Document Foundation" \<br>
          --with-package-format=archive \<br>
          --disable-dependency-tracking \<br>
          --with-export-validation \<br>
          > ../autogen-outz.log 2>&1<br>
          make clean<br>
          make > ../make-outx.log 2>&1<br>
          make install > ../make-outz.log 2>&1<br>
        </span></span></p>
    <p><span class="tlid-translation translation" lang="en"><span
          title="" class="">4. check</span></span></p>
    <p><span class="tlid-translation translation" lang="en"><span
          title="" class="">make bean.clean verbose=t           >
          ../make-outx1.log 2>&1<br>
          make bean verbose=t                 >> ../make-outx1.log
          2>&1<br>
          make bean.subsequentcheck verbose=t >> ../make-outx1.log
          2>&1<br>
        </span></span></p>
    <p><span class="tlid-translation translation" lang="en"><span
          title="" class=""><br>
        </span></span></p>
    <p><span class="tlid-translation translation" lang="en"><span
          title="" class="">cat ../make-outx1.log<br>
          ---------------------<br>
          cd /mnt/sdd1/home/src/libreoffice-vk/libreoffice/bean
          && make -j 4 -r clean<br>
          make[1]: Entering directory
          '/mnt/sdd1/home/src/libreoffice-vk/libreoffice/bean'<br>
          [clean JCS] Jar/officebean<br>
          S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice &&
          I=$S/instdir && W=$S/workdir &&  rm -rf
          $W/JavaClassSet/Jar/officebean/ \<br>
                 
/mnt/sdd1/home/src/libreoffice-vk/libreoffice/workdir/JavaClassSet/Jar/officebean.prepared<br>
          [clean LNK] Library/libofficebean.so<br>
          RESPONSEFILE=/tmp/gbuild.HucXJj && \<br>
              cat ${RESPONSEFILE} /dev/null |  xargs -n 200 rm -fr
          && \<br>
              rm -f ${RESPONSEFILE}<br>
          [clean JCS] JunitTest/bean_complex<br>
          S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice &&
          I=$S/instdir && W=$S/workdir &&  rm -rf
          $W/JavaClassSet/JunitTest/bean_complex/ \<br>
                 
/mnt/sdd1/home/src/libreoffice-vk/libreoffice/workdir/JavaClassSet/JunitTest/bean_complex.prepared<br>
          [clean JAR] officebean<br>
          S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice &&
          I=$S/instdir && W=$S/workdir &&  rm -f
          $I/program/classes/officebean.jar<br>
          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<br>
          S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice &&
          I=$S/instdir && W=$S/workdir &&  rm -f
          $W/LinkTarget/Library/libofficebean.so.exports <br>
          [clean MOD] bean<br>
          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 <br>
          [clean ALL] top level modules: bean<br>
          [clean ALL] loaded modules: bean<br>
          make[1]: Leaving directory
          '/mnt/sdd1/home/src/libreoffice-vk/libreoffice/bean'<br>
          <br>
          <br>
          cd /mnt/sdd1/home/src/libreoffice-vk/libreoffice/bean
          && make  -j 4 -r<br>
          make[1]: Entering directory
          '/mnt/sdd1/home/src/libreoffice-vk/libreoffice/bean'<br>
          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<br>
          S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice &&
          I=$S/instdir && W=$S/workdir &&  touch
          $W/Headers/Library/libofficebean.so<br>
          [build LOC] bean<br>
          S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice &&
          I=$S/instdir && W=$S/workdir &&  mkdir -p
          $W/Module/l10n/ && touch $W/Module/l10n/bean<br>
          [build CHK] bean<br>
          S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice &&
          I=$S/instdir && W=$S/workdir &&  mkdir -p
          $W/Module/check/ && touch $W/Module/check/bean<br>
          [build LOC] top level modules: bean<br>
          [build LOC] loaded modules: bean<br>
          [build C  ]
          bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c<br>
          S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice &&
          I=$S/instdir && W=$S/workdir &&  mkdir -p
          $W/CObject/bean/native/unix/ $W/Dep/CObject/bean/native/unix/
          && cd /mnt/sdd1/home/src/libreoffice-vk/libreoffice
          &&    gcc -DBOOST_ERROR_CODE_HEADER_ONLY
          -DBOOST_SYSTEM_NO_DEPRECATED -DCPPU_ENV=gcc3 -DDBG_UTIL
          -DLINUX -DOSL_DEBUG_LEVEL=1 -DSAL_LOG_INFO -DSAL_LOG_WARN
          -DUNIX -DUNX -DX86_64 -D_DEBUG -D_GLIBCXX_DEBUG -D_PTHREADS
          -D_REENTRANT    -fvisibility=hidden    -Wall -Wendif-labels
          -Wextra -Wstrict-prototypes -Wundef -Wunreachable-code
          -Wunused-macros -finput-charset=UTF-8 -fmessage-length=0
          -fno-common -pipe  -Wduplicated-cond -Wlogical-op
          -Wshift-overflow=2 -fstack-protector-strong -std=gnu89 -fPIC
          -Wdeclaration-after-statement -Wshadow   -O0 -fstrict-aliasing
          -fstrict-overflow -ggdb2 -gsplit-dwarf -ggnu-pubnames  
          -DLIBO_INTERNAL_ONLY  -c
          $S/bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.c
          -o
          $W/CObject/bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.o 
          -I$S/include  -I/usr/lib/jvm/default/include
          -I/usr/lib/jvm/default/include/linux -I$S/config_host    <br>
          [build JCS] Jar/officebean<br>
          S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice &&
          I=$S/instdir && W=$S/workdir &&  mkdir -p
          $W/JavaClassSet/Jar/officebean/ &&  rm -rf
          $W/JavaClassSet/Jar/officebean/* &&
          RESPONSEFILE=/tmp/gbuild.khJDCW && 
          /usr/lib/jvm/default/bin/javac -J-Xmx128M -encoding utf8
          -source 8 -target 8  -g -classpath
"$I/program/classes/ridl.jar:$I/program/classes/unoil.jar:$I/program/classes/jurt.jar:$I/program/classes/juh.jar:$W/JavaClassSet/Jar/officebean"
          -d $W/JavaClassSet/Jar/officebean @$RESPONSEFILE && rm
          -f $RESPONSEFILE && touch
          $W/JavaClassSet/Jar/officebean/done<br>
          [build CHK] loaded modules: bean<br>
          [build LNK] Library/libofficebean.so<br>
          S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice &&
          I=$S/instdir && W=$S/workdir &&  gcc -shared
          -Wl,-z,noexecstack   -Wl,-z,origin '-Wl,-rpath,$ORIGIN'
          -Wl,-rpath-link,$I/program -Wl,-z,defs -fuse-ld=gold
          -fstack-protector-strong -Wl,-rpath-link,/lib:/usr/lib
          -Wl,-z,combreloc  -Wl,--hash-style=both 
          -Wl,-Bsymbolic-functions -L$W/LinkTarget/StaticLibrary
          -L$I/sdk/lib  -L$I/program  -L$I/program  -Wl,--gdb-index
$W/CObject/bean/native/unix/com_sun_star_comp_beans_LocalOfficeWindow.o      
          -Wl,--start-group    -L/usr/lib/jvm/default/jre/lib/amd64
          -ljawt  -Wl,--end-group -Wl,--no-as-needed   -o
          $I/program/libofficebean.so <br>
          S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice &&
          I=$S/instdir && W=$S/workdir &&  readelf -d
          $I/program/libofficebean.so | grep SONAME >
          $W/LinkTarget/Library/libofficebean.so.exports.tmp; nm 
          --dynamic --extern-only --defined-only --format=posix
          $I/program/libofficebean.so | cut -d' ' -f1-2 >>
          $W/LinkTarget/Library/libofficebean.so.exports.tmp &&
          if cmp -s $W/LinkTarget/Library/libofficebean.so.exports.tmp 
          $W/LinkTarget/Library/libofficebean.so.exports; then rm
          $W/LinkTarget/Library/libofficebean.so.exports.tmp; else mv
          $W/LinkTarget/Library/libofficebean.so.exports.tmp 
          $W/LinkTarget/Library/libofficebean.so.exports &&
          touch -r $I/program/libofficebean.so 
          $W/LinkTarget/Library/libofficebean.so.exports; fi<br>
          TEMPFILE=/tmp/gbuild.zdnFeV &&  mv ${TEMPFILE}
/mnt/sdd1/home/src/libreoffice-vk/libreoffice/workdir/LinkTarget/Library/libofficebean.so.objectlist<br>
          Note: Some input files use or override a deprecated API.<br>
          Note: Recompile with -Xlint:deprecation for details.<br>
          [build JAR] officebean<br>
          S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice &&
          I=$S/instdir && W=$S/workdir &&  mkdir -p
          $W/JavaClassSet/Jar/officebean/META-INF && echo
          Manifest-Version: 1.0 >
          $W/JavaClassSet/Jar/officebean/META-INF/MANIFEST.MF
          &&  echo "Solar-Version: 6.4.0.0" >>
          $W/JavaClassSet/Jar/officebean/META-INF/MANIFEST.MF
          &&  mkdir -p $I/program/classes/ && cd
          $W/JavaClassSet/Jar/officebean && jar cfm
          $I/program/classes/officebean.jar
          $W/JavaClassSet/Jar/officebean/META-INF/MANIFEST.MF META-INF
          com   || (rm $I/program/classes/officebean.jar; false) <br>
          [build BIN] bean<br>
          S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice &&
          I=$S/instdir && W=$S/workdir &&  mkdir -p
          $W/Module/nonl10n/ && touch $W/Module/nonl10n/bean<br>
          [build MOD] bean<br>
          S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice &&
          I=$S/instdir && W=$S/workdir &&  mkdir -p
          $W/Module/ && touch $W/Module/bean<br>
          [build BIN] top level modules: bean<br>
          [build BIN] loaded modules: bean<br>
          [build ALL] top level modules: build-non-l10n-only
          build-l10n-only<br>
          [build ALL] loaded modules: bean<br>
          make[1]: Leaving directory
          '/mnt/sdd1/home/src/libreoffice-vk/libreoffice/bean'<br>
          <br>
          <br>
          cd /mnt/sdd1/home/src/libreoffice-vk/libreoffice/bean
          && make -j 4 -r subsequentcheck<br>
          make[1]: Entering directory
          '/mnt/sdd1/home/src/libreoffice-vk/libreoffice/bean'<br>
          mkdir -p
/mnt/sdd1/home/src/libreoffice-vk/libreoffice/workdir/JavaClassSet/JunitTest/
          && touch
/mnt/sdd1/home/src/libreoffice-vk/libreoffice/workdir/JavaClassSet/JunitTest/bean_complex.prepared<br>
          [build ALL] All modules but instset: bean<br>
          touch
/mnt/sdd1/home/src/libreoffice-vk/libreoffice/workdir/Postprocess/AllModulesButInstsetNative<br>
          [build JCS] JunitTest/bean_complex<br>
          S=/mnt/sdd1/home/src/libreoffice-vk/libreoffice &&
          I=$S/instdir && W=$S/workdir &&  mkdir -p
          $W/JavaClassSet/JunitTest/bean_complex/ &&  rm -rf
          $W/JavaClassSet/JunitTest/bean_complex/* &&
          RESPONSEFILE=/tmp/gbuild.v91kVE && 
          /usr/lib/jvm/default/bin/javac -J-Xmx128M -encoding utf8
          -source 8 -target 8  -g -classpath
"/mnt/sdd1/home/src/libreoffice-vk/junit-4.12.jar:/mnt/sdd1/home/src/libreoffice-vk/hamcrest-core-1.3.jar:$W/Jar/OOoRunner.jar:$I/program/classes/ridl.jar:$W/Jar/test.jar:$I/program/classes/unoil.jar:$I/program/classes/officebean.jar:$W/JavaClassSet/JunitTest/bean_complex"
          -d $W/JavaClassSet/JunitTest/bean_complex @$RESPONSEFILE
          && rm -f $RESPONSEFILE && touch
          $W/JavaClassSet/JunitTest/bean_complex/done<br>
/mnt/sdd1/home/src/libreoffice-vk/libreoffice/bean/qa/complex/bean/OOoBeanTest.java:82:
          error: cannot access Proxy<br>
                  com.sun.star.frame.XModel model = bean.getDocument();<br>
                                                                    ^<br>
            class file for com.sun.star.lib.uno.Proxy not found<br>
          Note:
/mnt/sdd1/home/src/libreoffice-vk/libreoffice/bean/qa/complex/bean/WriterFrame.java
          uses or overrides a deprecated API.<br>
          Note: Recompile with -Xlint:deprecation for details.<br>
          1 error<br>
          make[1]: ***
[/mnt/sdd1/home/src/libreoffice-vk/libreoffice/solenv/gbuild/JavaClassSet.mk:53:
/mnt/sdd1/home/src/libreoffice-vk/libreoffice/workdir/JavaClassSet/JunitTest/bean_complex/done]
          Error 1<br>
          make[1]: Leaving directory
          '/mnt/sdd1/home/src/libreoffice-vk/libreoffice/bean'<br>
          make: *** [Makefile:120: bean.subsequentcheck] Error 2</span></span></p>
    <p><span class="tlid-translation translation" lang="en"><span
          title="" class="">---------------------<br>
        </span></span></p>
    <p>Regards,</p>
    <p>Vladimir Koković, DP senior(69)</p>
    <p>Serbia, Belgrade, 28.aug 2019</p>
    <p><br>
    </p>
  </body>
</html>