Re: Javadoc returned 1

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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/ error: package
> does not exist
> [2]
> fedpkg clone jarjar
> cd jarjar/
> git checkout f31
> edit jarjar.spec and add -Dcompile.source=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
java-devel mailing list -- java-devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to java-devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct:
List Guidelines:
List Archives:
Do not reply to spam on the list, report it:

[Index of Archives]     [Red Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux