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.
[BlueJ build #200601251500] Steps to reproduce: 1.Create BlueJ project 2.Create new class in <default package> 3.Select this BlueJ project node in projects view and invoke popup menu 4.Select item "Convert to J2SE Project" 5.Select the new project location and push OK 6.The package <default package>is converted to package with blank name (see attached screenshot) instead of <default package>.
Created attachment 30272 [details] Screenshot attached...
it's that way also when creating a new j2seproject and creating the Main class in default package. it seems to work when I try in netbeans 5.0 IDE. strange.
the problem seems to be in the fact that in bluej edition we disable the cvs support. And there is a bug somewhere in org.netbeans.spi.java.project.support.ui.PackageViewChildren.getHtmlDisplayName() method. It works correctly only with cvs support enabled. The problem was addressed for 6.0 and is fixed. However there's not really much to do for the bluej edition as it depends on 5.0 release. Possible options, none of them ideal. 1. enable cvs support by default. 2. in our branding, replace the <default package> text with a similar one but one that doesn't contain <> characters.
I didn't have any issues with 5.0, but in 5.5 I get "<default package>". I assume it has something to do with the fact that I use VSS instead of CVS or SVN. I notice that there are many other reports of the issue (71664,75043) I'll also note I don't have .java files in the default package, just resources for the app.
closing as the problem is fixed in 6.0 (and next bluej edition will be based on that one)