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.
Original submitter: kfrank Description: This didnt happen in buzz since i18n implementation of the web reports localized files is different in coco. When localized Overview.html and LocalizedVars.xsl are placed in localized jar, in the dotuml.zip, they are not copied to userdir and thus can't be found there - since according to exception they are being looked for there at <userdir>/.uml/config/WebReportSupport/ (at least LocalizedVars.xsl is - but even in the web report directory localized Overview or LocalizedVars are not found. -- so when showing in browser the overview and other web pgs with words/msgs from LocalizedVar, it doesn't come from localized com-sun-tools-ide-modeling.jar Details - was told that just as in the en jar, the localized com-sun-tools-ide-modeling.jar should have the dotuml.zip at com/sun/tools/ide/modeling and the dotuml.zip, as in the en one, should have, for the localized 2 files .uml/config/WebReportSupport/Overview_<locale.html> and uml/config/WebReportSupport/XSL/LocalizedVars_<locale>.xsl Attached is the pseudo localized jar and the web report dir Exception: java.io.FileNotFoundException: /net/machinename/export/home4/coco/0207/0207jadirumldot/.uml/config/WebReportSupport/XSL/LocalizedVars_ja.xsl at java.io.FileInputStream.open(Native Method) at java.io.FileInputStream.<init>(FileInputStream.java:106) at com.embarcadero.uml.core.metamodel.core.foundation.UMLXMLManip.copyFile(UMLXMLManip.java:2693) at com.sun.tools.ide.modeling.webreport.WebReportController.copyLocalizedVarScript(WebReportController.java:773) at com.sun.tools.ide.modeling.webreport.WebReportController.generateReport(WebReportController.java:583) at com.sun.tools.ide.modeling.webreport.WebReportController.threadGenerateReport(WebReportController.java:315) at com.sun.tools.ide.modeling.webreport.WebReportController$GenerateReportThread.run(WebReportController.java:343) at java.lang.Thread.run(Thread.java:595) Evaluation: The instruction you had to package the localized files was incorrect. When IDE starts, dotuml.zip in com-sun-tools-ide-modeling.jar ( not the localized jar ) will be extracted to userdir if it's not there yet. So pakcaging those two localized files in com-sun-tools-ide-modeling_ja.jar has no effect, those files will not be copied over to userdir/.uml eventually which results in file not found at run time. We'll have to come up with a new scheme to deal with these two files.
The mechanism to use localized files in report has been changed , this bug is no longer valid, mark it as duplicate of 78260 to address i18n. *** This issue has been marked as a duplicate of 78260 ***
verifying even though dup so can get it off the dashboard of ones needing verification. ken.frank@sun.com