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.
Hi, developing a NB RCP application, I'm using @NbBundle.Messages annotation in various classes. This requires static import of the Bundle methods. This class is generated automatically by the annotation inside the <module>/build/classes-generated folder. When I select the "Generate Javadoc" context menu item for a module, I will have many errors related to the impossibility for javadoc to find that Bundle classes. The work-around I've found is to change line #296 of the harness/build.xml (inside the "javadoc" target) from: <sourcepath location="${src.dir}"/> to: <sourcepath> <pathelement location="${src.dir}"/> <pathelement location="${build.dir}/classes-generated"/> </sourcepath> Now I'm asking if this could be the correct solution, and if could be integrated into next Netbeans releases. Best regards, Claudio Product Version = NetBeans IDE 8.0.1 (Build 201408251540) Operating System = Windows 7 version 6.1 running on amd64 Java; VM; Vendor = 1.8.0_20 Runtime = Java HotSpot(TM) 64-Bit Server VM 25.20-b23
Thank you for your catch, you're right. Fixed in: https://hg.netbeans.org/core-main/rev/77e0e5a3a7e0
Integrated into 'main-silver', will be available in build *201409270001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/77e0e5a3a7e0 User: Martin Kozeny <mkozeny@netbeans.org> Log: #247219: Warnings on "Generate Javadoc" for RCP modules.