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.
Summary: | the ide always throws exception after install hibernate plugin | ||
---|---|---|---|
Product: | third-party | Reporter: | hdwang <hdwang> |
Component: | nbxdoclet | Assignee: | pzajac <pzajac> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | Keywords: | I18N |
Priority: | P1 | ||
Version: | 5.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: |
the config/org-netbeans-api-project-libraries contents(zipped)
the xdoclet-xdoclet-module-1.2.3.jar.xml 's screen snap shot |
Description
hdwang
2006-09-30 08:29:30 UTC
I don't have Chinese locales on my computer. Can you send me content of
"config/org-netbeans-api-project-libraries" folder in userdir? I'll try to check
what's wrong.
> re distribute libraries
The hibernate distribution contains a lot of libraries. Therefore I choosed
variant with selection of folder with hibernate. But other libraries can be
wrapped to NetBeans module.
Created attachment 34782 [details]
the config/org-netbeans-api-project-libraries contents(zipped)
Created attachment 34783 [details]
the xdoclet-xdoclet-module-1.2.3.jar.xml 's screen snap shot
i looked at one of the config files,it maybe the chinese named folder cause the problem.Please see the attach of screen snapshot it remembers me issue 72565 - that was fixed by use of XMLUtil.toAttributeValue(path) before writing a path to xml. There are two bugs in my code. I am using PrintStream for genearting xml files. I it is necessary to use PrintWriter with explicitly defined "UTF-8: encoding. The second problem is with encoding files. Thanks a lot. I'll try to fix it and send you updated module today or tomorrow. fixed |