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.
assumption here is that we don't require template files (vs template descriptor html files) to be localized and the en ones are used. but I notice in 551 junit l10n kit there is one .java.template file and in nb6, using pseudo localized junit jar (without any of the tempate files in it) that I can't create a junit test (am using a j2se project). see attached image with error msg. I don't think it should be required to have localized template and thats why filing the issue and since no other such template files are in any l10n kit. (running in another locale for which there was no pseudo localized junit jar, there was no error msg) ---> Is it required to have these localized or at least present in the localized jar file ? I tried to insert the .template ones into the localzied jar, keeping same naming but still got the error popup = what is the rule for their naming - error popu talks of a .java file but these are named as .java.template. (for 551 there is one .template file and for nb6 are 4 of them)
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