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 33238

Summary: HTML Suggestion provider NBM does not work
Product: web Reporter: Jesse Glick <jglick>
Component: HTML EditorAssignee: Jesse Glick <jglick>
Status: RESOLVED FIXED    
Severity: blocker    
Priority: P1    
Version: 3.x   
Hardware: PC   
OS: Linux   
Issue Type: DEFECT Exception Reporter:
Attachments: Suggested patch

Description Jesse Glick 2003-04-24 19:39:41 UTC
java.lang.NoClassDefFoundError: org/w3c/tidy/Tidy
	at
org.netbeans.modules.tasklist.html.TidySuggester.scan(TidySuggester.java:132)

The library is not included in the NBM.
Comment 1 Jesse Glick 2003-04-24 19:41:31 UTC
Created attachment 10155 [details]
Suggested patch
Comment 2 Torbjorn Norbye 2003-04-24 19:55:10 UTC
That's weird. When I run "ant nbm" in the tasklist/html directory, it
creates ../tasklist-nbm which contains Tidy:

% jar tvf tasklist-html.nbm                                   
     0 Thu Apr 24 11:53:26 PDT 2003 META-INF/
    53 Thu Apr 24 11:53:26 PDT 2003 META-INF/MANIFEST.MF
     0 Thu Apr 24 10:54:04 PDT 2003 netbeans/
     0 Thu Apr 24 10:53:48 PDT 2003 netbeans/modules/
     0 Thu Apr 24 10:53:48 PDT 2003 netbeans/modules/ext/
     0 Thu Apr 24 10:54:04 PDT 2003 netbeans/update_tracking/
     0 Thu Apr 24 11:53:26 PDT 2003 Info/
  2404 Thu Apr 24 11:53:26 PDT 2003 Info/info.xml
139604 Thu Apr 24 10:53:48 PDT 2003 netbeans/modules/ext/Tidy-r7.jar
 36076 Thu Apr 24 10:53:44 PDT 2003 netbeans/modules/tasklist-html.jar
   367 Thu Apr 24 11:53:26 PDT 2003
netbeans/update_tracking/org-netbeans-modules-tasklist-html.xml

Comment 3 Torbjorn Norbye 2003-04-24 19:57:02 UTC
Ah, a patch. Perfect. Thanks, will apply in a couple of hours, right
now I've gotta run:)
Comment 4 Torbjorn Norbye 2003-04-24 19:58:00 UTC
Actually, I trust your commits and I believe you already have
grandfather access so just commit your changes. (This is in general,
not just for this diff.)
Comment 5 Jesse Glick 2003-04-24 21:59:29 UTC
OK.

Probably you already had run release separately and did not do a clean
build recently.

Also I discovered that tasklist/html/build.xml was not calling
tasklist/external/build.xml:unscramble. It needs to, in case you have
"virgin" sources that have not been built yet. (ant clean does not
remove unscrambled files, so this would only be relevant the first
time you build after checking out sources.)
Comment 6 Jesse Glick 2003-04-24 22:06:15 UTC
Fixed in the trunk. Merge to r35 if that is something you do.

committed   * Up-To-Date  1.6         tasklist/html/build.xml
committed   * Up-To-Date  1.13        tasklist/html/manifest.mf
committed   * Up-To-Date  1.5         tasklist/html/module-updates.txt

By the way this module is cool! I can just open all the HTML files on
our website and find dozens of egregious errors. :-{
Comment 7 Milan Kubec 2004-03-02 08:47:42 UTC
Please, reporter, could you verify fixed issues. Thanks a lot.