Hi all,
How do you generate Javadoc using Tycho?
I’ve tried this plugin https://www.eclipse.org/tycho/sitedocs-extras/tycho-document-bundle-plugin/plugin-info.html,
but it fails with the following error:
[INFO]
--- tycho-document-bundle-plugin:0.23.0:javadoc
(default-cli) @ xman.maven.parent ---
[INFO]
Scopes: [compile, provided]
[INFO]
Output directory:
C:\Users\Simone\OneDrive\Eclipse\xman.maven.parent\target\reference\api
[INFO]
BaseDir: C:\Users\Simone\OneDrive\Eclipse\xman.maven.parent
[INFO]
Cleaning up first
[INFO]
0 source folders
[INFO]
0 classpath deps
[INFO]
Including packages matching PackageNameMatcher[".*"]
[WARNING]
No packages found
[INFO]
Calling: cmd.exe /X /C "javadoc
@C:\Users\Simone\OneDrive\Eclipse\xman.maven.parent\target\javadoc.options.txt"
[INFO]
------------------------------------------------------------------------
[INFO]
Reactor Summary:
[INFO]
[INFO]
xman.maven.parent .................................. FAILURE
[ 0.086 s]
[INFO]
xman.eclipse.target_definition ..................... SKIPPED
[INFO]
xman.xcore.metamodel ............................... SKIPPED
[INFO]
xman.commons ....................................... SKIPPED
[INFO]
xman.xtend.conditiondsl ............................ SKIPPED
[INFO]
xman.xtend.conditiondsl.ui ......................... SKIPPED
[INFO]
xman.xtend.codegenerator ........................... SKIPPED
[INFO]
xman.spray.atomic .................................. SKIPPED
[INFO]
xman.spray.composite ............................... SKIPPED
[INFO]
xman.codegenerator.gui ............................. SKIPPED
[INFO]
xman.xcore.repository .............................. SKIPPED
[INFO]
xman.cdo.repository ................................ SKIPPED
[INFO]
cdo.eclipse.ui ..................................... SKIPPED
[INFO]
xman.help .......................................... SKIPPED
[INFO]
xman.eclipse.wizard_menu ........................... SKIPPED
[INFO]
xman.views ......................................... SKIPPED
[INFO]
xman.xcore.activitychart ........................... SKIPPED
[INFO]
xman.spray.activitychart ........................... SKIPPED
[INFO]
xman.xcore.statechart .............................. SKIPPED
[INFO]
xman.spray.statechart .............................. SKIPPED
[INFO]
fxman.xcore.metamodel .............................. SKIPPED
[INFO]
fxman.xcore.repository ............................. SKIPPED
[INFO]
fxman.commons ...................................... SKIPPED
[INFO]
fxman.spray.architecture ........................... SKIPPED
[INFO]
fxman.product.explorer ............................. SKIPPED
[INFO]
fxman.cdo.repository ............................... SKIPPED
[INFO]
fxman.eclipse.wizard_menu .......................... SKIPPED
[INFO]
fxman.eclipse.feature .............................. SKIPPED
[INFO]
xman.eclipse.feature ............................... SKIPPED
[INFO]
xman.eclipse.p2 .................................... SKIPPED
[INFO]
------------------------------------------------------------------------
[INFO]
BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO]
Total time: 34.825 s
[INFO]
Finished at: 2015-06-30T15:13:54+01:00
[INFO]
Final Memory: 48M/116M
[INFO]
------------------------------------------------------------------------
[ERROR]
Failed to execute goal
org.eclipse.tycho.extras:tycho-document-bundle-plugin:0.23.0:javadoc
(default-cli) on project xman.maven.parent: Failed to run
javadoc: Error while executing process. Cannot run program
"javadoc" (in directory
"C:\Users\Simone\OneDrive\Eclipse\xman.maven.parent\target\reference\api"):
CreateProcess error=2, The system cannot find the file
specified -> [Help 1]
Do
you know a way to generate Javadoc for each individual
project, and then combine them in their parent?
Many
thanks for your attention
Simone