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 36470

Summary: Add package.html template/wizard
Product: java Reporter: _ proxity <proxity>
Component: JavadocAssignee: issues@java <issues>
Status: RESOLVED WONTFIX    
Severity: blocker CC: dpavlica, jglick, pkuzel
Priority: P4    
Version: 3.x   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on: 66847    
Bug Blocks:    

Description _ proxity 2003-10-07 15:34:05 UTC
Please add support for creating new package.html
files for javadoc.
See
http://java.sun.com/j2se/javadoc/writingdoccomments/package-template
for an template you could use.
Please provide the possibility to add only the
HTML file, but also add it to "Java Package", e.g.
by offering it to the user using a check mark.
This will be the first difference between "Java
Package" and "Folder"!
Comment 1 _ proxity 2003-10-07 15:56:07 UTC
An additional idea is to add package.html support to the NetBeans
"Auto Comment" tool. That would be even better, since it's more
integrated.
Comment 2 Jesse Glick 2003-10-07 17:34:04 UTC
Wrong component.
Comment 3 _ pkuzel 2003-10-08 08:23:44 UTC
Does java module provide an extension point for it? I do not require
the possibility to plugin a component with the checkbox (I can use
global setting) but I need to get notified that java package was
created at certain location.

Return back on javadoc module if there is such hook.
Comment 4 Martin Matula 2004-11-15 14:22:05 UTC
I guess that adding a package.html template would be useful and can be
done by javadoc module. Reassigning to javadoc.
I am not sure about the checkbox in new JavaPackage. UI guys should
evaluate this.
Comment 5 Jesse Glick 2005-04-29 23:10:14 UTC
*** Issue 50279 has been marked as a duplicate of this issue. ***
Comment 6 Jesse Glick 2005-10-10 19:16:58 UTC
Can instead use package-info.java when SourceLevelQuery reports level 1.5 or higher.
Comment 7 Jesse Glick 2010-04-20 20:35:27 UTC
package-info.java preferred.