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.
Summary: | Sources mixed with tests | ||
---|---|---|---|
Product: | java | Reporter: | Milan Kubec <mkubec> |
Component: | Project | Assignee: | Tomas Zezula <tzezula> |
Status: | CLOSED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 4.x | ||
Hardware: | PC | ||
OS: | Linux | ||
Issue Type: | DEFECT | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 41537 | ||
Attachments: | exc stack trace |
Description
Milan Kubec
2004-05-20 11:22:31 UTC
Created attachment 15027 [details]
exc stack trace
I'm no more able to create that project even if I specify only src root. The same exception is thrown. Raising prio to P2. The j2seproject type does not (and will not) support tests mixed into the source dir. However the import wizard should deal with this attempted user action more gracefully: - should disable Finish if the src and test dirs are the same - should disable Next if the proposed new project dir is already occupied by a project OK, I will add the test for this, disable the Finish button and display some error message. Checking in src/org/netbeans/modules/java/j2seproject/ui/wizards/Bundle.properties; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/wizards/Bundle.properties,v <-- Bundle.properties new revision: 1.15; previous revision: 1.14 done Checking in src/org/netbeans/modules/java/j2seproject/ui/wizards/PanelSourceFolders.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/wizards/PanelSourceFolders.java,v <-- PanelSourceFolders.java new revision: 1.6; previous revision: 1.5 done Verified in 040630, wizard disables Next when Sources folder is the same as Tests folder. |