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 48195

Summary: Should not be able to "Add Project" in j2seproject CP customizer on freeform project w/o exported JARs
Product: java Reporter: Jesse Glick <jglick>
Component: ProjectAssignee: Jiri Rechtacek <jrechtacek>
Status: RESOLVED DUPLICATE    
Severity: blocker CC: jrojcek, phrebejk
Priority: P4 Keywords: UI
Version: 4.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Bug Depends on:    
Bug Blocks: 41537    

Description Jesse Glick 2004-08-30 20:30:38 UTC
If a freeform project has no exported JARs (no
AntArtifactQueryImplementation, that is, or
nothing exported from it of
JavaProjectConstants.ARTIFACT_TYPE_JAR), then the
project chooser used in the j2seproject (and also
web/project) CP customizer should not enable the
"Add Project JAR Files" button when that project
is selected, i.e. when there would be nothing in
the "Project JAR Files" list.

Currently the button is always enabled - not only
on projects with no exported JARs, but even on
dirs that are not projects at all!
Comment 1 Petr Hrebejk 2004-08-31 10:12:54 UTC

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