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.
Anytime one sets up the IDE on another computer or another developer sets up a version of the JDK. They name them differently. I try to be sure and name mine by the major version number, so I have the latest 1.5 and 1.6 for instance, and other than the default I name them 1.6 and 1.5. That helps me to know to always name them the same thing. That works fine until I need someone else to look at the project. It seems a better way would be to allow projects to be configured to depend on the JDK in 3 ways: 1) If looks to the set source level and first looks, instead of using the default JDK, to see if a platform matches this specification. So, if there is a 1.5.x version and a 1.6.x version, then for a source of 1.5 it would pick the 1.5.x version. This would be the default for new projects. 2) If set, the project will depend on a range of JDKs. This would override the default of using the source level. That means, if a project depends on >1.4 and JDK 1.5 and 1.6 is installed then it will use what ever the latest is. If it is set to 1.5-1.5.x then that would mean any 1.5 would work, and so could 1.5.x by itself. 1.5-1.5.6 or something like this would mean anything in between those (inclusively) would work or be required. Anyways, syntax in the project file format doesn't matter so much as does having the option to do it. 3) If a named platform is specifically chosen or set. Then this would override any other setting and it would be used. This would then be the one used for projects created in previous versions of the IDE which already have a named platform, so they wouldn't change at all, but they could if the developer chose to do so. Anyways, this would make it easier to share projects, and reduces the need to make sure platforms are named exactly the same.
Original longer summary: Allow projects to depend on either, source level JDK, a range of JDK versions, or a named Java Platform instead of only named platforms
Not for NB 6.1 which is over the feature freeze, otherwise sounds good.