Hello, 
     
    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:
      ...xyz\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? 
     
    <plugin> 
                   
    <groupId>org.eclipse.tycho.extras</groupId> 
                   
    <artifactId>tycho-document-bundle-plugin</artifactId> 
                    <version>${tycho.version}</version> 
                    <executions> 
                        <execution> 
                            <id>javadoc</id> 
                            <phase>verify</phase> 
                            <goals> 
                                <goal>javadoc</goal> 
                            </goals> 
                            <configuration> 
                               
<outputDirectory>${doc.output.folder}/reference/api</outputDirectory> 
                               
    <tocFile>${doc.output.folder}/toc/javadoc.xml</tocFile> 
                                <javadocOptions> 
                                    <additionalArguments> 
                                       
    <additionalArgument>-encoding UTF-8</additionalArgument> 
                                       
    <additionalArgument>-linkoffline 
                                           
    http://docs.oracle.com/javase/7/docs/api/ 
                                           
    ${doc.output.folder}/input/javase-7</additionalArgument> 
                                       
    <additionalArgument>-linkoffline 
                                           
    http://www.osgi.org/javadoc/r4v43/ 
                                           
    ${doc.output.folder}/input/osgi-r4v43</additionalArgument> 
                                    </additionalArguments> 
                                </javadocOptions> 
                            </configuration> 
                        </execution> 
                    </executions> 
                </plugin> 
     
    Thanks in advance 
  
 |