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 - Should not be able to "Add Project" in j2seproject CP customizer on freeform project w/o exported JARs
Summary: Should not be able to "Add Project" in j2seproject CP customizer on freeform ...
Status: RESOLVED DUPLICATE of bug 42542
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: PC Linux
: P4 blocker (vote)
Assignee: Jiri Rechtacek
Keywords: UI
Depends on:
Blocks: 41537
  Show dependency tree
Reported: 2004-08-30 20:30 UTC by Jesse Glick
Modified: 2004-08-31 10:12 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Note You need to log in before you can comment on or make changes to this bug.
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 ***