Please use the Apache issue tracking system for new NetBeans issues (https://issues.apache.org/jira/projects/NETBEANS0/issues) !!

Bug 13679

Summary: New class can be created under projects folder
Product: projects Reporter: Martin Balin <mbalin>
Component: Generic Projects UIAssignee: issues <issues.netbeans.org>
Status: CLOSED DUPLICATE QA Contact: issues <issues.netbeans.org>
Priority: P1    
Version: 3.x   
Target Milestone: 3.x   
Hardware: Sun   
OS: Solaris   
Whiteboard:
Issue Type: DEFECT Exception Report:

Description Martin Balin 2001-07-18 08:55:31 UTC
[JDK 1.3.1 200107170100]

1. Create new project - ProjectY under some directory structure e.g. "com.cocom"
2. Invokde New -> Class on newly created project node ProjectY
3. Enter name "ClassX" and select packages under Filesystems:
com.cocom.ProjectY. Class can be created under project folder!
4. Press Finish button.

Class "ClassX" is created and its package statement is following "package
com.cocom.ProjectY" class itself is displayed twice in Workplace tab. Once as
normal Java object and second as shadow.

If we are using directory for projects storage then we have to preserve users
from creation of regular files under them. It is confusing.
Comment 1 Jan Pokorsky 2001-07-18 09:02:52 UTC
duplicate

*** This issue has been marked as a duplicate of 13677 ***
Comment 2 Jaromir Uhrik 2001-07-18 16:03:14 UTC
Verified - It is really a duplicate
Comment 3 Quality Engineering 2003-07-01 14:16:58 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo