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 18514 - I18N-jarpackager does shows garbage when manifest file is generated
Summary: I18N-jarpackager does shows garbage when manifest file is generated
Status: RESOLVED WONTFIX
Alias: None
Product: obsolete
Classification: Unclassified
Component: jarpackager (show other bugs)
Version: 3.x
Hardware: Sun Solaris
: P3 blocker (vote)
Assignee: issues@obsolete
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2001-12-10 23:44 UTC by gautham mudra
Modified: 2004-08-13 12:11 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
manifest file showing garbage (506.52 KB, image/gif)
2001-12-10 23:46 UTC, gautham mudra
Details
garbage on manifest file (19.46 KB, image/gif)
2002-03-03 02:40 UTC, gautham mudra
Details
window1 (27.46 KB, image/png)
2002-07-18 19:29 UTC, gautham mudra
Details
window2 (23.17 KB, image/png)
2002-07-18 19:30 UTC, gautham mudra
Details
window3 (31.01 KB, image/png)
2002-07-18 19:30 UTC, gautham mudra
Details
window4 (23.20 KB, image/png)
2002-07-18 19:31 UTC, gautham mudra
Details
window5 (22.30 KB, image/png)
2002-07-18 19:31 UTC, gautham mudra
Details

Note You need to log in before you can comment on or make changes to this bug.
Description gautham mudra 2001-12-10 23:44:19 UTC
The developers have found a workaround to giving multibyte names to the jar
files.so even if we enter multibyte name in the "Recipe Name" text field the
"Generated Jar Name" does not include the multibyte name.But in the Fifth window
of the Jar Recipe Wizard when i generate Manifest file by clicking on the
"Generate" button, i see garbage.
I will attach a snapshot.
Comment 1 gautham mudra 2001-12-10 23:46:47 UTC
Created attachment 3764 [details]
manifest file showing garbage
Comment 2 brinkley 2002-02-01 00:53:49 UTC
Please resubmit the gif file. I can't view it for some reason.

Comment 3 gautham mudra 2002-03-03 02:40:04 UTC
Created attachment 4906 [details]
garbage on manifest file
Comment 4 Milos Kleint 2002-06-10 17:37:00 UTC
I've tried on solaris and japanese forte 4.0.. I didn't get garbage in
the manifest field. 
it was possible for me to write japanese characters there.
can it be that the problem was caused by the fact, that in my version
I get only japanese text in the IDE and not mixed text and the
generated NEtbeans IDE text is no wrapped in japanese text by default?
Comment 5 Milos Kleint 2002-06-14 12:25:09 UTC
I believe the problem was solved, as I was not able to reproduce the
problem in the FFJ40_EA. I was able to enter japanese multibyte
characters within the Manifest wizard panel.

Closing as worksforme, please add steps who to reproduce the problem
in case it still occurs to me. any additional info welcome.
Comment 6 naveen 2002-06-28 08:32:46 UTC
NB Build ID: 3.4 Beta,Version(200206070835)
OS : Solaris8 Ja

This problem seems to be reproducible using the above configuration.I 
am also providing steps to reproduce. 

To Reproduce :

- Mount "application" directory as local directory,load Wizard "New 
Wizard - JarRecipe"

- Type in the <multibyte>Recipe Name.

- Click 'Next' button until you reach 'Jar Manifest' Wizard

- Click 'Generate' button

The Characters appears as Garbage in manifest tool.

Pls. reproduce the bug using the above description.If reproduced I 
would like to know if I can re-open the Bug? 
Comment 7 Milos Kleint 2002-06-28 08:52:45 UTC
can you please attach a screenshot of the manifest page?

I've done exactly the same and didn't get any garbage when trying to
reproduce the bug earlier..
Comment 8 gautham mudra 2002-07-18 19:28:59 UTC
I am able to reproduce the issue.I will give the steps to reproduce 
again.

Steps to Reproduce:
1. Goto File->New.
2. Click on 'JAR Archives' node
3. select JAR Recipe and click Next.
4. Type a Multibyte name in the text field labeled Recipe Name   
and click Next.
5. Select the Sources and click Next.
6. Just Click Next in the "Modify Jar Recipe Contents" window and 
Click Next.
7. In the Jar Manifest window click on "Generate" button. The 
garbage is displayed.Also Not able to create the Jar file.

OS:Windows2000
Build:Netbeans3.4 0712dev

I will attach snapshots for each and every window.
Comment 9 gautham mudra 2002-07-18 19:29:40 UTC
Created attachment 6797 [details]
window1
Comment 10 gautham mudra 2002-07-18 19:30:32 UTC
Created attachment 6798 [details]
window2
Comment 11 gautham mudra 2002-07-18 19:30:55 UTC
Created attachment 6799 [details]
window3
Comment 12 gautham mudra 2002-07-18 19:31:27 UTC
Created attachment 6800 [details]
window4
Comment 13 gautham mudra 2002-07-18 19:31:50 UTC
Created attachment 6801 [details]
window5
Comment 14 Milos Kleint 2002-07-19 07:40:28 UTC
but you are able to write japanese in the manifest field then, right?
and the characters are not garbage..
so it's really only about the one generated field.

Comment 15 Marek Grummich 2002-07-22 10:08:09 UTC
Set target milestone to TBD
Comment 16 Petr Pisl 2002-12-03 13:13:36 UTC
I'm able reproduce it in S1S Update 1.
Comment 17 Petr Pisl 2002-12-03 16:42:17 UTC
When you write a Manifest, then there is special check, whether the
text doesn't contain the doublebyte character. There is static inner
class ReaderInputStream in the
org.netbeans.modules.jarpackager.ManifestTab, which does this check.
This is result as resolving the bug 13859. 

So the manifest in the IDE can't have any doublebyte character
therefore you can't add filename ("Recipe Name"), which contains
doublebyte character.
Comment 18 Jesse Glick 2002-12-23 16:48:07 UTC
Consistent use of the I18N keyword.
Comment 19 naveen 2003-01-30 05:46:23 UTC
Studio Build : 220103
OS : Sol 8 and Sol 9 Ja Locale

I'm able to re-produce the problem using the above configuration.

I would like to know if the last comment meant that bug can't be fixed
due to restriction/action of 13859 or can it be fixed; if not, we can
close it
Comment 20 Ondrej Rypacek 2003-02-25 10:26:48 UTC
The fix of bug #13859 is a workaround to bug in JDK. So this bug
cannot be fixed before the bug in JDK is fixed (see 13859 for
details). I checked it out and it is not fixed yet.
Comment 21 gautham mudra 2003-06-27 18:23:34 UTC
Actually i see garbage when i generate  manifest even without any
multibyte characters in the jar packager name.

Locale:zh
OS:Win2k
JDK:1.4.1_02
Build:Nevada RC6
Comment 22 Jesse Glick 2004-03-19 14:23:40 UTC
jarpackager is gone now.