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 48576 - Wrong package after creating project that already existed
Summary: Wrong package after creating project that already existed
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 4.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
: 49962 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-09-07 12:47 UTC by Milan Kubec
Modified: 2007-09-26 09:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2004-09-07 12:47:52 UTC
[custom 20040907, JDK 1.5.0 RC]

1) Create Java Application project with main class
2) Build the project
3) Close the project
4) Delete the project from disk
5) Create project with main class with the same
name as in 1)

The main class created by wizard has package
declaration:
package Templates.Classes;
Comment 1 Jan Becicka 2004-09-20 12:43:38 UTC
Checking in JMManager.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/JMManager.java,v
 <--  JMManager.java
new revision: 1.54; previous revision: 1.53
done
Comment 2 Milan Kubec 2004-10-01 15:07:57 UTC
The behavior in custom build 20041001 is exactly the same as descibed
in original report = Reopening.
Comment 3 Jan Becicka 2004-11-05 14:12:59 UTC
Fixed.

Checking in ResourceImpl.java;
/cvs/java/javacore/src/org/netbeans/modules/javacore/jmiimpl/javamodel/ResourceImpl.java,v
 <--  ResourceImpl.java
new revision: 1.48; previous revision: 1.47
done
Comment 4 Jan Becicka 2004-11-08 07:30:23 UTC
*** Issue 49962 has been marked as a duplicate of this issue. ***
Comment 5 Milan Kubec 2004-11-08 10:19:03 UTC
Don't you mean it's fixed in 4.1?
Comment 6 Jan Becicka 2004-11-08 10:54:40 UTC
Yes I do.
Comment 7 Milan Kubec 2005-02-10 09:14:16 UTC
Cannot verify because of #42422.
Comment 8 Milan Kubec 2005-07-08 12:57:05 UTC
Verified in dev-200507061800.
Comment 9 Quality Engineering 2007-09-20 12:00:04 UTC
Reorganization of java component