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 42520 - Provide UI support for resolution of configuration problems
Summary: Provide UI support for resolution of configuration problems
Status: RESOLVED FIXED
Alias: None
Product: projects
Classification: Unclassified
Component: Generic Infrastructure (show other bugs)
Version: 4.x
Hardware: All All
: P2 blocker (vote)
Assignee: David Konecny
URL:
Keywords: UI
Depends on:
Blocks: 41537
  Show dependency tree
 
Reported: 2004-04-27 15:24 UTC by David Konecny
Modified: 2004-08-13 12:11 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
commit log (45.80 KB, text/html)
2004-05-05 09:11 UTC, David Konecny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Konecny 2004-04-27 15:24:32 UTC
Opening freshly checked out project can result in
several broken links: e.g. external jar, explicit
platform, or external source root. There must be a
UI at least for resolving of external source roots
otherwise user is not able to open project.
Comment 1 Jesse Glick 2004-04-27 16:00:31 UTC
Back to you for now. :-)

TBD whether we need some generic UI (i.e. projects/projectuiapi +
projects/projectui); I think for now we can do it all directly in
java/j2seproject.

The suggestion is: let the project be opened, with no special dialogs
etc.; but mark its icon with some sort of error badge and a tooltip
like "Contains configuration problems". Provide an action (e.g.
context menu) to "Resolve Configuration Problems" or similar, which
would open some dialogs (e.g.) letting you select any information
needed to make the project buildable and runnable.

To start with we would just do this for missing external sources.
Later we could add support for missing external libraries, etc.
Comment 2 Jesse Glick 2004-05-04 20:35:13 UTC
Done?
Comment 3 David Konecny 2004-05-05 08:56:06 UTC
Yes. I expect there will be UI tuning but that should not take much time. 

Jano, this reminds me that our schedule is pretty tight and so
whatever solution you propose please keep in mind that it should be
simple to do.
Comment 4 David Konecny 2004-05-05 09:11:42 UTC
Created attachment 14707 [details]
commit log
Comment 5 David Konecny 2004-05-05 09:15:21 UTC
I attached the cvs log which could be inspiration for other project
types how to use it. Check following classes:
* java/project: BrokenReferencesSupport - API
* java/j2seproject: J2SEPhysicalViewProvider - usage of API in j2seproject

Keep in mind that UI is preliminary and can change.