[LibreOffice/loeclipse] How to build

Pierre Vacher prrvchr at gmail.com
Mon Dec 16 08:56:18 UTC 2024


Hi all,

I'm trying to build *loeclipse* and I get errors when I run the command in
the build folder:

ant -Dlibreoffice.home=/lib/libreoffice
-Declipse.home=/home/prrvchr/eclipse/commiter-2024-12/eclipse


The message I get:

Buildfile: /home/prrvchr/github/loeclipse/build/build.xml
> Trying to override old definition of task javac
>
> core.init-env:
>
> java.init-env:
>
> python.init-env:
>
> init-env:
>
> core.version:
>      [copy] Copying 1 file to /home/prrvchr/github/loeclipse/build
>    [delete] Deleting:
> /home/prrvchr/github/loeclipse/build/MANIFEST-MF.properties
>
> core.compile:
>     [javac] Compiling 195 source files to
> /home/prrvchr/github/loeclipse/core/bin/ant/classes
>     [javac] warning: [options] bootstrap class path is not set in
> conjunction with -source 8
>     [javac]   not setting the bootstrap class path may lead to class files
> that cannot run on JDK 8
>     [javac]     --release 8 is recommended instead of -source 8 -target
> 1.8 because it sets the bootstrap class path automatically
>     [javac] warning: [options] source value 8 is obsolete and will be
> removed in a future release
>     [javac] warning: [options] target value 8 is obsolete and will be
> removed in a future release
>     [javac] warning: [options] To suppress warnings about obsolete
> options, use -Xlint:-options.
>     [javac]
> /home/prrvchr/github/loeclipse/core/source/org/libreoffice/ide/eclipse/core/wizards/pages/ManifestExportPageControllerTest.java:24:
> error: package org.junit does not exist
>     [javac] import static org.junit.Assert.assertEquals;
>


I would like to point out that I have the file
*org.junit_4.13.2.v20240929-1000.jar* in the folder: /home/prrvchr/
eclipse/commiter-2024-12/eclipse/plugins

I admit that I don't see what I missed.

Thank you for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice/attachments/20241216/f35cd598/attachment.htm>


More information about the LibreOffice mailing list