Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Javadoc generation failed due to not found package-list file when using Java 7 or 8



it looks like that the call to javadoc fails because the files generated by Javadoc are missing.

Do you see any failure in the output beside the last couple of lines.

There must be an INFO output which looks like this (on Windows and similar on other platforms):


[INFO]: Calling: cmd.exe /X /C  <pathToJavaDoc.exe> @<pathToTargetDir>


The lines after that one are showing the Javadoc error(s) – if there are errors.


An error might be for example:

[INFO] Calling: cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_25\jre\..\bin\javadoc.exe" @D:\tychoTest\\target\javadoc.options.txt"

javadoc: error - No packages or classes specified.

Usage: javadoc [options] [packagenames] [sourcefiles] [@files]

  -overview <file>                 Read overview documentation from HTML file

  -public                          Show only public classes and members

  -protected                       Show protected/public classes and members (default)

  -package                         Show package/protected/public classes and members





Von: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx] Im Auftrag von Idrissa DIENG
Gesendet: Donnerstag, 26. März 2015 13:54
An: tycho-user@xxxxxxxxxxx
Betreff: [tycho-user] Javadoc generation failed due to not found package-list file when using Java 7 or 8



I got the following error when using the tycho-document-bundle-plugin plugin (version 0.22.0) with Java 7 or 8:

Failed to execute goal org.eclipse.tycho.extras:tycho-document-bundle-plugin:0.22.0:javadoc (javadoc) on project xyz: Failed to run javadoc: Failed to generate toc file:\docs\org.eclipse.sphinx.doc.isv\target\javadoc\reference\api\package-list (Le fichier spécifié est introuvable) -> [Help 1]

The same build work when using Java 6 but I got this issue both for Java 7 & 8.

Can you please help here?

                                    <additionalArgument>-encoding UTF-8</additionalArgument>

Thanks in advance

Back to the top