Hi Pierre,
are you trying to build a release?
Otherwise you can just run LOEclipse from within Eclipse as described here: https://github.com/LibreOffice/loeclipse/?tab=readme-ov-file#setup-eclipse-for-development
Regarding your specific problem I'm not sure how to fix the missing JUnit.
Regards
Samuel
Am 16.12.24 um 09:56 schrieb Pierre
Vacher:
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.