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



Strange why it seems to work with Java6 but it looks like that your pom setup is not correct. Does the pom file where you specify the tycho-document-bundle-plugin stuff have any dependencies to features/plugins that you to create Javadoc for?

And does this dependencies do have exported packages in their MANIFEST.MF files?


My setup – which works fine – looks like this:


pom.xml  -> parent pom that does build all the plugins, the feature and the Javadoc project:







  </modules> -> an eclipse-plugin that does have exported packages inside the MANIFEST.MF -> another eclipse-plugin also exporting some packages -> the eclipse-feature

javadoc/pom.xml -> packaging type pom, containing dependencies to the plugins java doc should be generated for and of course the tycho-document-bundle-plugin definition similar to what you have:



















Von: Idrissa DIENG [mailto:idydieng@xxxxxxxxx]
Gesendet: Donnerstag, 26.
März 2015 15:20
An: Tycho user list
Betreff: Re: [tycho-user] Javadoc generation failed due to not found package-list file when using Java 7 or 8



thanks for the reply. I verified and I see any error lines but I have the following warning  - maybe be it is related

[WARNING] No packages found

I got it just before [INFO] Calling: cmd.exe /X /C ""C:\Program Files\Java\jdk1.8.0_31\jre\..\bin\javadoc.exe" @F:\Workspace\........\target\javadoc.options.txt"

Le 26/03/2015 14:51, SCHREIBER.Martin a écrit :



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

tycho-user mailing list
To change your delivery options, retrieve your password, or unsubscribe from this list, visit


Back to the top