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 42542

Summary: "Add Project JAR Files" button in "Select Project" dialog should be enabled iff there are some
Product: java Reporter: Jesse Glick <jglick>
Component: ProjectAssignee: Petr Hrebejk <phrebejk>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: pbuzek
Priority: P4    
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41537    

Description Jesse Glick 2004-04-27 23:28:25 UTC
If you customize CP for a j2seproject and hit Add
Project and then select a NBM project, it
correctly lists no Project JAR Files (there is no
AntArtifact exported from it), but the "Add
Project JAR Files" button is enabled nonetheless.
(Clicking it closes the dialog and adds nothing.)
Should be disabled in this case.
Comment 1 Jesse Glick 2004-04-27 23:28:57 UTC
Similarly if you just select a folder which is not a project at all.
Comment 2 Petr Hrebejk 2004-08-31 10:12:53 UTC
*** Issue 48195 has been marked as a duplicate of this issue. ***
Comment 3 Jesse Glick 2004-08-31 13:46:04 UTC
Don't forget web/project.
Comment 4 Petr Hrebejk 2004-09-30 14:46:45 UTC
This is unforyunatley not implementable. The button is also used for
descending into non-project directories. Yet another filechooser
wierdness. The issue probebly have to be solved by changing the way
how projects are selected. Thus making dupicate of the closest issue.

*** This issue has been marked as a duplicate of 42178 ***