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: | I18N - can't create a test in other locale if template file not in localized | ||
---|---|---|---|
Product: | java | Reporter: | Ken Frank <kfrank> |
Component: | JUnit | Assignee: | Marian Petras <mpetras> |
Status: | CLOSED FIXED | ||
Severity: | blocker | CC: | jiriprox |
Priority: | P2 | Keywords: | I18N |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | image |
Description
Ken Frank
2007-03-26 21:05:50 UTC
Created attachment 39978 [details]
image
This is blocking testing for the common situation of a user running using localized bits. need to know at least if the problem is that its expected that some localized .template needs to be in localized jar, or if its just that its not using the one in the regular jar when one is in other locale. if its that it expects localized .template, that is something that shouldnt be needed but for testing can insert it if I know what should be the name of the localized .template file. nb55 localized does not have any .template files in the localized junit jar. ken.frank@sun.com this happens when choosing the junit1.4 when running in pseudo localized but not when running in other locale for which is not pseudo localized. it does not happen if the 1.3 is chosen in pseudo localized situation. ken.frank@sun.com It does also happen if 1.3 is chosen, and once either 1.4 or 1.3 is chosen, and the popup as in the attached is shown, one cannot try to create another test in this project - one needs to start another project. --> Can someone on this team comment on this issue ? ken.frank@sun.com Fixed in the trunk (i.e. for NetBeans 6.0). Modified file: junit/l10n.list (1.9) Diff: http://junit.netbeans.org/source/browse/junit/l10n.list?r1=1.8&r2=1.9&diff_format=u It needn't be localized in NetBeans 5.5.1 either. Should I fix it in the branch for NB 5.5.1, too? just wanted to check - the fix was some code changes besides modifying l10n.list ? I did not pseudo localize the templete file to begin with, so I think the problem was in actual code, but below I see fix mentioned is just about l10n.list (that is, the code changes so it wont look for some template file besides in en jar) ken.frank@sun.com I did not make any other changes besides modification of l10n.list. I realize the description was not clear, since it focused on the template file and not the problem seen. I will open a new one on actual problem. ken.frank@sun.com closed and filed new one 104479 on actual problem. ken.frank@sun.com |