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 10646 - Showing "Invalid package declaration" where it should not.
Summary: Showing "Invalid package declaration" where it should not.
Status: CLOSED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P4 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-03-24 19:13 UTC by Nico Seessle
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 Nico Seessle 2001-03-24 19:13:36 UTC
I tried to open NetBeans 3.2 Beta11 on my jakarta-ant workspace. 
- Created a new Project
- Mounted my local "jakarta-ant" directory
- Added src/main/org to the project
- While browsing the project in the Explorer NetBeans is showing a little red 
sign on every class and the pop-up says "Invalid package declaration". 

I can't remember this from earlier versions of NetBeans and the Sources compile 
correctly (and the package is correct).
Comment 1 Svata Dedic 2001-03-27 17:13:23 UTC
please be sure that you have your sources/classes mounted correctly. Should 
not you mount "src/main" instead of "src/main/org" so that "org" would be 
top-level folder on the file system and the first component of the package 
names ?


Comment 2 Nico Seessle 2001-03-29 00:31:05 UTC
Was my error - should mount jakarta-ant/src/main to make NB happy
Comment 3 Quality Engineering 2003-07-01 13:11:53 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 4 Quality Engineering 2003-07-01 13:19:31 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.