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.
[dev-200408291800, JDK 1.5.0 b63] 1) Add some java platform to IDE and assign the platform to some project 2) Build that project 3) Remove the platform from IDE 4) Build the project again BUILD FAILED, that's OK, because the platform is not there, but the message is bad because it exposes user the link to build script, to line: <fail if="platform.invalid">Platform is not correctly set up</fail> What do we expect? User fixing the build script? IDE should open the dialog for resolving broken references.
The project icon should certainly be marked as broken. I don't know whether the broken references dialog should automatically pop up, but I think not. Re. halting the build in some other way - not planned for 4.0. The user should choose a different platform.
FYI: issue 46148.
Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/Bundle.properties; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/Bundle.properties,v <-- Bundle.properties new revision: 1.23; previous revision: 1.22 done Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEActionProvider.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEActionProvider.java,v <-- J2SEActionProvider.java new revision: 1.49; previous revision: 1.48 done Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEProjectUtil.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/J2SEProjectUtil.java,v <-- J2SEProjectUtil.java new revision: 1.17; previous revision: 1.16 done Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/applet/AppletSupport.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/applet/AppletSupport.java,v <-- AppletSupport.java new revision: 1.12; previous revision: 1.11 done Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/classpath/BootClassPathImplementation.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/classpath/BootClassPathImplementation.java,v <-- BootClassPathImplementation.java new revision: 1.8; previous revision: 1.7 done Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/queries/SourceLevelQueryImpl.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/queries/SourceLevelQueryImpl.java,v <-- SourceLevelQueryImpl.java new revision: 1.4; previous revision: 1.3 done Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/ui/J2SELogicalViewProvider.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/J2SELogicalViewProvider.java,v <-- J2SELogicalViewProvider.java new revision: 1.11; previous revision: 1.10 done Checking in j2seproject/src/org/netbeans/modules/java/j2seproject/ui/PlatformNode.java; /cvs/java/j2seproject/src/org/netbeans/modules/java/j2seproject/ui/PlatformNode.java,v <-- PlatformNode.java new revision: 1.9; previous revision: 1.8 done Checking in j2seproject/test/unit/src/org/netbeans/modules/java/j2seproject/J2SEActionProviderTest.java; /cvs/java/j2seproject/test/unit/src/org/netbeans/modules/java/j2seproject/J2SEActionProviderTest.java,v <-- J2SEActionProviderTest.java new revision: 1.13; previous revision: 1.12 done
Verified in release50-200512111900.