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.
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.
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.
Done?
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.
Created attachment 14707 [details] commit log
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.