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 18388 - I18N-message "Jikes Compiler" doesnt come from the property file
Summary: I18N-message "Jikes Compiler" doesnt come from the property file
Status: VERIFIED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: Jan Pokorsky
URL:
Keywords: I18N
: 25253 (view as bug list)
Depends on:
Blocks:
 
Reported: 2001-12-05 23:57 UTC by gautham mudra
Modified: 2007-09-26 09:14 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The message does not come from Bundle.properties file (176.43 KB, image/gif)
2001-12-06 20:38 UTC, gautham mudra
Details
Jikes Compilation message (31.76 KB, image/jpeg)
2003-12-16 08:12 UTC, mtsuruta
Details
ide.log of nb trunk (13.82 KB, text/plain)
2003-12-17 02:05 UTC, mtsuruta
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gautham mudra 2001-12-05 23:57:24 UTC
When we create an "ant" file, we can choose the type of compilation from the
properties window.But here the message "Jikes Compilation" doesnt come a
property file.

Steps to reproduce the bug
Steps:		1.File->New.Expannd "Ant Building Scripts".Choose "sample Ant 			
Project".
		2.Finish the Wizard.
		3.The Ant package appears in the Explorer.
		4.Expand the package and choose the node under it.Its properties 			appear in
the property window.
		5.Choose the "Execution"tab in the property window and click on "Compiler".In
the drop down box "Jikes Compilation" appears.

 
I have attached a snapshot to give better understanding of the issue.
Comment 1 Jesse Glick 2001-12-06 13:19:35 UTC
Still waiting for the snapshot or a more complete description, but I
assume that the issue is that while the file
Services/CompilerType/JikesCompiler.settings has a localized filename
according to java/Bundle.properties, the ServiceType itself does not
(because it is serialized)--perhaps? Unclear if you are working with a
Japanese-localized build or something like this. Anyway I don't see
anything making this specifically an Ant module bug.

BTW it is senseless to change the compiler on an Ant script to Jikes
Compilation. This will not work; that compiler is for Java source
files, not Ant scripts. Probably what you meant to do was set
build.compiler=jikes in Ant Settings | Global Properties.
Comment 2 gautham mudra 2001-12-06 20:38:36 UTC
Created attachment 3722 [details]
The message does not come from Bundle.properties file
Comment 3 gautham mudra 2001-12-06 20:44:42 UTC
we are using pseudo localized builds adding multibyte prefix and
suffix to all the messages that come from the properties file.The
message "Jikes Compiler" doesnt have any prefix and suffix.Also i see
that this message does not come from the properties file.
Comment 4 Milan Kubec 2002-03-19 15:53:23 UTC
Please, could java module developers bring some light to this issue.
Is the fix difficult or not?
Comment 5 Svata Dedic 2002-03-19 17:38:43 UTC
It's not easy (but not as difficult). The point is that Jikes compiler
is just a preconfigured External Compiler service and as such has the
service name, which is being displayed to the user, serialized within
the configuration.
I would rather leave this issue for the next release, if it is not a
blocker because of the issues with serialized data compatibility.
Comment 6 Hiroshi Nakatsubo 2002-06-28 05:44:36 UTC
*** Issue 25253 has been marked as a duplicate of this issue. ***
Comment 7 Marek Grummich 2002-07-22 10:49:49 UTC
Set target milestone to TBD
Comment 8 naveen 2002-12-12 06:10:12 UTC
Are there are some other labels like "External Executor" and "Internal 
Exceutor" under the "Execution" tab in the property window that also 
don't come from bundle, like the Jikes Compilation message ?
Comment 9 Svata Dedic 2003-01-13 16:42:05 UTC
/cvs/java/src/org/netbeans/modules/java/Bundle.properties,v  <-- 
Bundle.properties
new revision: 1.68; previous revision: 1.67
done
Checking in JavaExternalCompilerType.java;
/cvs/java/src/org/netbeans/modules/java/JavaExternalCompilerType.java,v
 <--  JavaExternalCompilerType.java
new revision: 1.54; previous revision: 1.53

/cvs/java/src/org/netbeans/modules/java/resources/JavacCompiler.settings,v
 <--  JavacCompiler.settings
new revision: 1.2; previous revision: 1.1
/cvs/java/src/org/netbeans/modules/java/resources/JikesCompiler.settings,v
 <--  JikesCompiler.settings
new revision: 1.3; previous revision: 1.2
Comment 10 Jan Becicka 2003-02-27 13:30:18 UTC
Verifed in trunk
Comment 11 gautham mudra 2003-08-15 18:27:14 UTC
verified fix on sierra update1 with patch 113638-4.
Configuration:
Build:Sierra Update1 020923
JDK:1.4.0_03
Locale:ja_JP

Comment 12 mtsuruta 2003-12-16 08:12:42 UTC
Created attachment 12599 [details]
Jikes Compilation message
Comment 13 mtsuruta 2003-12-16 08:13:25 UTC
This issue is reproducible again on nb main trunk(build031215) and 
following products now, so I would like to re-open this issue.
Please see an attached snapshot to check the appearance of the message
"Jikes Compilation" with no resource bundle property information as
(123:45).

reproducible products and nb build
nb main trunk(031215)
nb Q-build(031125)
Nevada(030904)
Nevada Patch1(031031_1)
Radegast(031205_2)

diff result:
JikesCompiler.settings
       revision: 1.3(main trunk) = nb main trunk(031215)
JavacCompiler.settings
       revision: 1.2(main trunk) = nb main trunk(031215)

JavaExternalCompilerType.java
       revision1.57(main trunk) = Nevada(030904)
 revision1.54 has coding to fix this issue.
       revision1.51.40.1 has coding to fix this issue.
       revision1.54 is not equal to revision1.57(main
trunk)&Nevada(030904)

It seems like JavaExternalCompilerType.java revision1.51.40.1 and 
1.54 has coding for JikesCompiler message to display in I18N lang.
I could see only the difference between 1.57(this issue is still
reproducible) 
and 1.54 is below.

protected NbProcessDescriptor createDescriptor() {
NbProcessDescriptor createDescriptor() {

I am not familiar with nb source, so I hope this is proper information
for this issue to bring verified module to current product.
Comment 14 mtsuruta 2003-12-17 02:05:41 UTC
Created attachment 12608 [details]
ide.log of nb trunk
Comment 15 Jan Pokorsky 2003-12-17 17:03:27 UTC
JavaExternalCompilerType.localizedNameKey must equal
CTL_JikesCompilerType otherwise the service displayname is not
properly I18N.

Fixed in 

/cvs/java/src/org/netbeans/modules/java/resources/JikesCompiler.settings
new revision: 1.4; previous revision: 1.3
Comment 16 mtsuruta 2004-01-30 04:12:35 UTC
Verified on nb36 q-build. Message, "Jikes Compilation", is now able to
be pseud localized properly and can be i18ned.