Re: tasklist/pmd build error

Jesse Glick <[email protected]> Sun, 16 Nov 2003 17:31:02 -0500
Newsgroups gmane.comp.java.netbeans.modules.tasklist.devel
Organization Sun Microsystems / NetBeans
Message-ID <[email protected]>
Petr Kuzel wrote:
>> [/home/nbtrunk/nb_all/tasklist/pmd/src/org/netbeans/modules/tasklist/pmd/ViolationProvider.java
>> [uses or overrides a deprecated API. javac] Note: Recompile with
>> [-deprecation for details. javac] 1 error
> 
> My fault, I refactored all modules to match API change. I have this
> module covered by refactoring tools but I have not realizedthat it's
> not covered by tasklist/build.xml. I'll fix both.

Please make sure you bump up the spec version in the manifests of all 
modules you fixed. I just downloaded the new tasklist/api from the dev 
alpha daily update center, and now the other modules are broken. (There 
was no updated tasklist/suggestions module, for example.) See attached 
log excerpt.

Consider making tasklist/api be org.netbeans.api.tasklist/2 to signal 
the incompatible change, so that older client modules are correctly 
disabled rather than throwing linkage errors.

-J.

-- 
Jesse Glick <mailto:[email protected]> x22801
NetBeans, Open APIs  <http://www.netbeans.org/>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
tasklist-problem.txt (text/plain, 1.5 KB)
	org.netbeans.api.tasklist/1 [1.3 200311111900]
	org.netbeans.modules.tasklist.core/1 [1.12 030713]
	org.netbeans.modules.tasklist.docscan/1 [1.7 200307230100]
	org.netbeans.modules.tasklist.suggestions/1 [1.14 200307230100]
	org.netbeans.modules.tasklist.javaparser/1 [1.1 200304230100]
	org.netbeans.modules.tasklist.javadoc/1 [1.3 200311061900]
	org.netbeans.modules.tasklist.pmd/1 [1.4 200311021900]
	org.netbeans.modules.tasklist.html/1 [1.3 ${buildnumber}]
java.lang.NoSuchMethodError: org.netbeans.api.tasklist.DocumentSuggestionProvider.docShown(Ljavax/swing/text/Document;Lorg/openide/loaders/DataObject;)V
	at org.netbeans.modules.tasklist.suggestions.SuggestionManagerImpl.docShown(SuggestionManagerImpl.java:1716)
	at org.netbeans.modules.tasklist.suggestions.SuggestionManagerImpl.findCurrentFile(SuggestionManagerImpl.java:2224)
	at org.netbeans.modules.tasklist.suggestions.SuggestionManagerImpl.access$1400(SuggestionManagerImpl.java:93)
	at org.netbeans.modules.tasklist.suggestions.SuggestionManagerImpl$4.run(SuggestionManagerImpl.java:2019)
	at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
[catch] at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)