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 75990 - Invalid convert of <default package>
Summary: Invalid convert of <default package>
Status: RESOLVED FIXED
Alias: None
Product: ide
Classification: Unclassified
Component: BlueJ (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Milos Kleint
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-05 14:40 UTC by Jaromir Uhrik
Modified: 2007-02-21 08:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot attached... (20.36 KB, image/png)
2006-05-05 14:40 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2006-05-05 14:40:01 UTC
[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>.
Comment 1 Jaromir Uhrik 2006-05-05 14:40:38 UTC
Created attachment 30272 [details]
Screenshot attached...
Comment 2 Milos Kleint 2006-05-24 14:50:14 UTC
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.
Comment 3 Milos Kleint 2006-05-25 10:28:01 UTC
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.

Comment 4 ranbato 2006-11-07 16:24:10 UTC
I didn't have any issues with 5.0, but in 5.5 I get "&lt;default package&gt;".  
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.
Comment 5 Milos Kleint 2007-02-01 14:02:25 UTC
closing as the problem is fixed in 6.0 (and next bluej edition will be based on
that one)