Require 4.0 for trunk

Tor Norbye <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.tasklist.devel
Organization Sun Microsystems, Inc
Message-ID <1038340991.1832.176.camel@proto>
If you receive the CVS notices you probably saw that I just
added a 4.0 dependency on the trunk version of tasklist. The
release34 branch continues to work with NetBeans 3.4.

This was necessary because it's really easy to accidentally
depend on 4.0 APIs (especially now after the TopManager separation)
without realizing it - and when run on 3.4 the code will break.
For example, in Bradley's ide.log there was this exception:

?Annotation: Exception occurred in Request Processor
java.lang.NoClassDefFoundError: org/openide/DialogDisplayer
        at
org.netbeans.modules.tasklist.core.DeleteActionPerformer.doConfirm(DeleteActionPerformer.java:95)
        at
org.netbeans.modules.tasklist.core.DeleteActionPerformer.performAction(DeleteActionPerformer.java:52)
        at
org.openide.util.actions.CallbackSystemAction.performAction(CallbackSystemAction.java:108)
        at
org.openide.util.actions.CallableSystemAction.actionPerformed(CallableSystemAction.java:69)
        at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:100)
        at org.openide.util.Task.run(Task.java:136)

which is caused by precisely this.


-- 
Tor Norbye <[email protected]>
Sun Microsystems, Inc
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.