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
On Sun, 30 Jan 2022 at 14:47, Sérgio Basto sergio@serjux.com 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.
java-devel@lists.fedoraproject.org