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 61436 - Cannot create package-info.java file
Summary: Cannot create package-info.java file
Status: RESOLVED DUPLICATE of bug 60949
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-27 01:35 UTC by kitfox
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kitfox 2005-07-27 01:35:25 UTC
As far as I can tell, there is no way to create the package-info.java file that
is recommened for use in javadocs for Java 5.  The mechanism for creating new
classes prevents me from creating a class file with this name.

If you open the following page and search for 'package-info.java', it will
describe the recommended use of this file for providing information for package
in Java % javadoc.

http://java.sun.com/j2se/1.5.0/docs/tooldocs/windows/javadoc.html

Please let me know if there is a way and I've simply missed it.

Mark McKay
--
http://www.kitfox.com
Comment 1 _ lcincura 2005-08-01 15:49:42 UTC
Reassignin for evaluation
Comment 2 Jan Becicka 2005-08-01 16:03:22 UTC
Try New | File/Folder -> Other | Empty File
Comment 3 Milan Kubec 2005-08-08 15:40:01 UTC
Since there is simple workaround (creating Empty File with the name) changing
this issue to ENHANCEMENT.

There should be template for this class with prefilled package name and some
mockup javadoc text.
Comment 4 ats37 2005-10-02 19:36:25 UTC

*** This issue has been marked as a duplicate of 60949 ***