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 48180 - Link to build script exposed when missing platform
Summary: Link to build script exposed when missing platform
Status: CLOSED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Project (show other bugs)
Version: 4.x
Hardware: All All
: P3 blocker (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks: 41537
  Show dependency tree
 
Reported: 2004-08-30 16:35 UTC by Milan Kubec
Modified: 2006-03-24 10:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milan Kubec 2004-08-30 16:35:42 UTC
[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.
Comment 1 Jesse Glick 2004-08-30 17:04:00 UTC
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.
Comment 2 David Konecny 2004-08-30 17:08:53 UTC
FYI: issue 46148.
Comment 3 Tomas Zezula 2005-11-04 11:27:58 UTC
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
Comment 4 Milan Kubec 2005-12-12 14:22:20 UTC
Verified in release50-200512111900.