This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
NetBeans-JavaFX-Soma: #211 Product Version = NetBeans IDE Dev (Build 201004050201) (#6428ceef2a9c) Operating System = SunOS version 5.11 running on x86 Java; VM; Vendor = 1.6.0_18; Java HotSpot(TM) Client VM 16.0-b13; Sun Microsystems Inc. Steps to reproduce: - Create a JavaFX project - Right-click on the project node and select Generate Javadoc for the project Created dir: /home/duke/NetBeansProjects/work/01/JavaFXApplication2/dist/javadoc Generating Javadoc Javadoc execution javafxdoc: error - The -classpath option may be specified no more than once. usage: javafxdoc [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 -private Show all classes and members -help Display command line options and exit -doclet <class> Generate output via alternate doclet -docletpath <path> Specify where to find doclet class files -sourcepath <pathlist> Specify where to find source files -classpath <pathlist> Specify where to find user class files -exclude <pkglist> Specify a list of packages to exclude -subpackages <subpkglist> Specify subpackages to recursively load -breakiterator Compute 1st sentence with BreakIterator -bootclasspath <pathlist> Override location of class files loaded by the bootstrap class loader -source <release> Provide source compatibility with specified release -extdirs <dirlist> Override location of installed extensions -verbose Output messages about what Javafxdoc is doing -locale <name> Locale to be used, e.g. en_US or en_US_WIN -encoding <name> Source file encoding name -quiet Do not display status messages -J<flag> Pass <flag> directly to the runtime system Provided by XML doclet: -o <file> XML output file -version Include @version paragraphs -author Include @author paragraphs -nosince Do not include @since information -nodeprecated Do not include @deprecated information -nohtml Do not generate HTML -xsltfile <file> XSLT file to use for HTML generation -mastercss <file> XSLT file to use for HTML generation -extracss <file> XSLT file to use for HTML generation -extrajs <file> XSLT file to use for HTML generation -extrajs2 <file> XSLT file to use for HTML generation -xsl: Set an XSLT propertyname=value -d <directory> Output directory -i <file> XML input file 1 error /home/duke/NetBeansProjects/work/01/JavaFXApplication2/nbproject/build-impl.xml:347: Javadoc returned 1 BUILD FAILED (total time: 7 seconds)
Could you, please, attach a verbose or debug output from the build? It works for me on the other systems but I could not verify it on Solaris.
Created attachment 96856 [details] verbose output
OpenSolaris command line execution of: /export/home/Adam/netbeans-dev-201004050201/javafx/javafx-sdk/bin/javafxdoc @/var/tmp/javadocOptions2536189312451396526 @/var/tmp/javadoc896606535667665362 throws: javafxdoc: error - The -classpath option may be specified no more than once. even the config files do not contain -classpath twice content of /var/tmp/javadoc896606535667665362 is: /export/home/Adam/NetBeansProjects/JavaFXApplication1/src/javafxapplication1/Main.fx content of /var/tmp/javadocOptions2536189312451396526 is: -d /export/home/Adam/NetBeansProjects/JavaFXApplication1/dist/javadoc -encoding UTF-8 -private -classpath /export/home/Adam/NetBeansProjects/JavaFXApplication1/build/compiled -author The same usage of javafxdoc works on the other systems. The problem is inside the javafxdoc when constructing the options and I cannot fix it in NetBeans. Please forward this report to JavaFX Jira, thanks.
JIRA issue http://javafx-jira.kenai.com/browse/JFXC-4286