On Sun, 30 Jan 2022 at 14:47, Sérgio Basto <sergio@xxxxxxxxxx> wrote: > > Hi, > > while build work well with ant javadoc fails [1], how I fixed this ? > > if you want reproduce the error [2] > > > Best regards, > > [1] > [javadoc] Generating Javadoc > [javadoc] Javadoc execution > [javadoc] Loading source files for package com.tonicsystems.jarjar... > [javadoc] Loading source files for package > com.tonicsystems.jarjar.util... > [javadoc] Constructing Javadoc information... > [javadoc] /builddir/build/BUILD/jarjar- > 1.4/src/main/com/tonicsystems/jarjar/JarJarTask.java:23: error: package > org.apache.tools.ant does not exist > > [2] > fedpkg clone jarjar > cd jarjar/ > git checkout f31 > > edit jarjar.spec and add -Dcompile.source=8 -Dcompile.target=8 to ant > build > > fedpkg mockbuild -N --root fedora-34-x86_64 > Almost certainly ant libs are missing from the javadoc task's classpath. Did you read the build.xml to see what is included in the classpath for this task? You can also pass "-v" to ant to get verbose output about classpaths. -- Mat Booth http://fedoraproject.org/get-fedora _______________________________________________ java-devel mailing list -- java-devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to java-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/java-devel@xxxxxxxxxxxxxxxxxxxxxxx Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure