[prev in list] [next in list] [prev in thread] [next in thread] 

List:       fedora-devel-java-list
Subject:    =?utf-8?q?=5Bfedora-java=5D?= Re: Javadoc returned 1
From:       Mat Booth <fedora () matbooth ! co ! uk>
Date:       2022-01-31 9:25:38
Message-ID: CA+c6225Jdrx-FgHByTTS5tkd+LVW0DNenBw1VZy2vzUtpwGFBA () mail ! gmail ! com
[Download RAW message or body]

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.


-- 
Mat Booth
http://fedoraproject.org/get-fedora
_______________________________________________
java-devel mailing list -- java-devel@lists.fedoraproject.org
To unsubscribe send an email to java-devel-leave@lists.fedoraproject.org
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@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic