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.

Bug 183635 - [Solaris] Javadoc is not generated
Summary: [Solaris] Javadoc is not generated
Status: VERIFIED WONTFIX
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: PC Solaris
: P2 normal (vote)
Assignee: Adam Sotona
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-07 10:56 UTC by Alexandr Scherbatiy
Modified: 2010-04-12 07:48 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
verbose output (14.57 KB, text/plain)
2010-04-07 11:31 UTC, Alexandr Scherbatiy
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2010-04-07 10:56:34 UTC
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)
Comment 1 Adam Sotona 2010-04-07 11:17:00 UTC
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.
Comment 2 Alexandr Scherbatiy 2010-04-07 11:31:44 UTC
Created attachment 96856 [details]
verbose output
Comment 3 Adam Sotona 2010-04-08 10:49:26 UTC
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.
Comment 4 Alexandr Scherbatiy 2010-04-12 07:48:15 UTC
JIRA issue http://javafx-jira.kenai.com/browse/JFXC-4286