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 75834 - Too verbose reports when a module with a lot of dependants cannot be installed
Summary: Too verbose reports when a module with a lot of dependants cannot be installed
Status: VERIFIED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 5.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-03 13:14 UTC by Jaroslav Tulach
Modified: 2008-12-23 08:39 UTC (History)
1 user (show)

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 Jaroslav Tulach 2006-05-03 13:14:17 UTC
Imagine there is a module that does not run on 1.4 JDK. If there is a lot of 
other modules that do depend on it, the actual problem, can easily be lost in 
the amount of warnings that is shown to user.

I suggest to show just the root cause, plus number of other problems caused by 
these root causes.
Comment 1 Jaroslav Tulach 2006-05-03 13:16:14 UTC
/shared/data/ccvs/repository/core/startup/src/org/netbeans/core/startup/NbEvents.java,v  
<--  NbEvents.java
new revision: 1.11; previous revision: 1.10
done
Checking in src/org/netbeans/core/startup/Bundle.properties;
/shared/data/ccvs/repository/core/startup/src/org/netbeans/core/startup/Bundle.properties,v  
<--  Bundle.properties
new revision: 1.14; previous revision: 1.13
done
Checking in src/org/netbeans/core/startup/NbProblemDisplayer.java;
/shared/data/ccvs/repository/core/startup/src/org/netbeans/core/startup/NbProblemDisplayer.java,v  
<--  NbProblemDisplayer.java
new revision: 1.4; previous revision: 1.3
done
RCS 
file: /shared/data/ccvs/repository/core/startup/test/unit/src/org/netbeans/core/startup/NbProblemDisplayerTest.java,v
done
Checking in 
test/unit/src/org/netbeans/core/startup/NbProblemDisplayerTest.java;
/shared/data/ccvs/repository/core/startup/test/unit/src/org/netbeans/core/startup/NbProblemDisplayerTest.java,v  
<--  NbProblemDisplayerTest.java
initial revision: 1.1
Comment 2 Jesse Glick 2006-05-03 17:10:23 UTC
Sounds good. Does it also handle the case that there is >1 independent root cause?
Comment 3 Jaroslav Tulach 2006-05-04 05:45:51 UTC
Yes. It does work, but I've added a test.
Comment 4 Tomas Danek 2006-05-12 12:12:50 UTC
fix seems to be ok, i put "OpenIDE-Module-Java-Dependencies: Java > 1.6" to ~10
basic modules, and tried to run on 1.5 -> all of them were listed in dialog.
From this point of view - it's ok. Verified in trunk.