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.
jdk 1.5 linux 4.2 daily 20 june 2005 right-clicking on a package does not allow you create new java classes or packages. going through the menu to create the items places them in the correct package, but does not include the package statement. since the project builds without warnings, i don't think the new classes are compiled properly.
i have an empty existing Test Packages folder also defined in the project. if i remove it and restart the ide, the project works ok. this may be related to issue 60296.
Works fine in current build. There is no difference among project with ext. sources and project with new sources. Could you attach the project.xml and log file?
OK, thanks. It seems to be a consequence of it.
you can reproduce it by creating a new project with existing sources and specifying an empty test directory.
what's up w/ issuezilla? it doesn't seem to be propery detecting collisions...
Seems reproduceable with empty test dir. Thanks for help.
Workaround: It seems that IDE restart helps.
Checking in projectapi/src/org/netbeans/modules/projectapi/SimpleFileOwnerQueryImplementation.java; /cvs/projects/projectapi/src/org/netbeans/modules/projectapi/SimpleFileOwnerQueryImplementation.java,v <-- SimpleFileOwnerQueryImplementation.java new revision: 1.10; previous revision: 1.9 done
Regression caused by issue #58313 impl, I guess.
Such an important fix, in such basic code, certainly deserves a patch to the unit test.
OK. I will add it.
*** Issue 59949 has been marked as a duplicate of this issue. ***
Added unit test Checking in projectapi/test/unit/src/org/netbeans/api/project/FileOwnerQueryTest.java; /cvs/projects/projectapi/test/unit/src/org/netbeans/api/project/FileOwnerQueryTest.java,v <-- FileOwnerQueryTest.java new revision: 1.9; previous revision: 1.8 done
Verified.
*** Issue 59759 has been marked as a duplicate of this issue. ***