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.
The javadoc.additionalparam property has been added to J2SE projects, but unlike the other javadoc properties its value is defined in nbproject/private/private.properties instead of nbproject/project.properties. This breaks command-line builds on other systems, since private.properties is supposed to be system-specific and therefore should not be committed to a shared repository. Please move its definition to project.properties, which is shareable.
Right, was there some reason for this, or just an oversight?
I think this was fixed already. <from J2SEProjectProperties.java> JAVADOC_ADDITIONALPARAM_MODEL = projectGroup.createStringDocument( evaluator, JAVADOC_ADDITIONALPARAM ); <from J2SEProjectProperties.java> which means that the property is stored in project.properties. Using an older build? Older project? Different project type? If in web please reopmen and assign to web/project.
Using a 4.2 dev build, I have a j2seproject I made today, and I added "-hello" to Javadoc options. In project.properties I get javadoc.additionalparam= and in private.properties I get javadoc.additionalparam=-hello so this is definitely not fixed. J2SEProjectGenerator correctly puts the blank initial entry into project.properties. But J2SEProjectProperties uses JAVADOC_ADDITIONALPARAM_MODEL = privateGroup.createStringDocument( evaluator, JAVADOC_ADDITIONALPARAM ); I'm not sure what version of sources you're looking into here, but clearly "privateGroup" should be "projectGroup". Note: someone who was including an absolute filename into additional params would really want to use private.properties - or, more likely, use project.properties but refer to a separate custom property def in private.properties. But I think this would be the rare case.
Created attachment 21596 [details] Simple patch
I'm sorry. My fault (pretty stupid). I have it on my disk for several weeks but I did not commit that into the code base. So I did now. Will try to put it into 4.1 Checking in src/org/netbeans/modules/java/j2seproject/ui/customizer/J2SEProjectProperties.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/J2SEProjectProperties.java,v <-- J2SEProjectProperties.java new revision: 1.51; previous revision: 1.50 done
Reproducible in Web & EJB projects - see issue 57820.
Created attachment 21607 [details] Patch for ejbjar module
Created attachment 21608 [details] Patch for web module
Consider this code-reviewed. :-)
Fix verified in trunk build 200504141800. javadoc.additionalparam is generated to project.properties file.
Merged to 4.1 /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/customizer/J2SEProjectProperties.java,v <-- J2SEProjectProperties.java new revision: 1.50.2.1; previous revision: 1.50 done