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 187256 - I18N - Build Installers make corrupted installer for Linux if using Unicode chars in project name
Summary: I18N - Build Installers make corrupted installer for Linux if using Unicode c...
Status: VERIFIED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 6.x
Hardware: PC Linux
: P2 normal (vote)
Assignee: dlipin
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2010-06-07 09:37 UTC by javadimon
Modified: 2010-07-09 12:20 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
run the generated installer with "--verbose --output out.txt" (2.84 KB, text/plain)
2010-06-07 10:49 UTC, javadimon
Details
sh -x installer.sh > out2.txt 2>&1 (38.68 KB, text/plain)
2010-06-07 11:35 UTC, javadimon
Details
nbi-engine.jar (974.38 KB, application/x-java-archive)
2010-06-07 11:50 UTC, javadimon
Details
ant output (1.84 MB, text/x-log)
2010-06-07 13:04 UTC, javadimon
Details
corrupted installer (8.08 MB, application/zip)
2010-06-08 10:28 UTC, javadimon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javadimon 2010-06-07 09:37:34 UTC
I make installer for my netbeans platform application (for Linux and Windows, used Build Installers from context menu). Try run Linux installer and response this 
Installer file /home/developer/NetBeansProjects/.... seems to be corrupted
But Windows work perfectly.

OS Ubuntu 10.04
Comment 1 dlipin 2010-06-07 10:40:52 UTC
could you please run the generated installer with "--verbose --output out.txt" arguments and attach out.txt file here? Thanks.
Comment 2 javadimon 2010-06-07 10:49:53 UTC
Created attachment 99856 [details]
run the generated installer with "--verbose --output out.txt"
Comment 3 dlipin 2010-06-07 10:56:31 UTC
could you please run it also via
sh -x installer.sh > out2.txt 2>&1
and attach out2.txt? thanks.
Comment 4 dlipin 2010-06-07 11:13:20 UTC
That is strange because TestJDK.class size should be 658 (not 612) and correct md5 is 661a3c008fab626001e903f46021aeac.

Is it always reproducible?
Could you please attach harness/modules/ext/nbi-engine.jar ?

Which NetBeans version do you use?

Could you please set Ant verbosity level to Debug and then attach the output of the generating installers task? 

Thanks in advance.
Comment 5 javadimon 2010-06-07 11:35:58 UTC
Created attachment 99859 [details]
sh -x installer.sh > out2.txt 2>&1
Comment 6 javadimon 2010-06-07 11:50:55 UTC
Created attachment 99860 [details]
nbi-engine.jar
Comment 7 javadimon 2010-06-07 13:04:45 UTC
Created attachment 99862 [details]
ant output
Comment 8 javadimon 2010-06-07 13:08:21 UTC
(In reply to comment #4)
> That is strange because TestJDK.class size should be 658 (not 612) and correct
> md5 is 661a3c008fab626001e903f46021aeac.
> 
> Is it always reproducible?
> Could you please attach harness/modules/ext/nbi-engine.jar ?
> 
> Which NetBeans version do you use?
> 
> Could you please set Ant verbosity level to Debug and then attach the output of
> the generating installers task? 
> 
> Thanks in advance.


> Which NetBeans version do you use?
version NetBeans IDE 6.9 RC2 (Build 201006010103)
> Is it always reproducible?
Yes, always. And with other projects too.
Comment 9 dlipin 2010-06-08 09:58:26 UTC
could you please attach generated installer.sh ? or just send it to me (dlipin at netbeans dot org) directly. thanks.
Comment 10 javadimon 2010-06-08 10:28:15 UTC
Created attachment 99890 [details]
corrupted installer
Comment 11 dlipin 2010-06-08 10:40:35 UTC
Thanks. Indeed looks broken...
BTW, does it work if you don't use Unicode ("Аренда") names - only ascii?
Comment 12 dlipin 2010-06-08 10:51:32 UTC
Bingo.. I could reproduce it if I name the project using Unicode (e.g. Russian) characters, I'll investigate.
Comment 13 javadimon 2010-06-08 12:44:54 UTC
Thanks!
Again the Russian language ... 
I have over him the problem permanently: (
You are a true explorer. Yes. :)

(In reply to comment #12)
> Bingo.. I could reproduce it if I name the project using Unicode (e.g. Russian)
> characters, I'll investigate.
Comment 14 dlipin 2010-06-08 13:45:05 UTC
Yes, unfortunately we haven't covered all Unicode usages in installer during development/testing. Thanks to you now we have one problem less ;)

Fixed in daily builds. Will try to put it into 6.9 updates (6.9.1 release):
http://hg.netbeans.org/main/rev/c5cd1b154ef3
Unfortunately can't do that for 6.9 release as it almost round the corner.

Can I ask you to verify that in a couple of days (you'll see notification about integration here in the issue) that it works fine?
http://bits.netbeans.org/netbeans/trunk/nightly/latest/

Thanks,
Dmitry

PS. I actually use Russian (as it is my native language) when checking Unicode-dependent things :)
Comment 15 Quality Engineering 2010-06-09 06:56:27 UTC
Integrated into 'main-golden', will be available in build *201006090001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/c5cd1b154ef3
User: Dmitry Lipin <dlipin@netbeans.org>
Log: Issu #187256 I18N - Build Installers make corrupted installer for Linux if using Unicode chars in project name
Comment 16 rbalada 2010-06-16 08:56:17 UTC
Please verify bugfix for this bug, so it can be included in release691 repository.

Thanks,
-R
Comment 17 javadimon 2010-06-17 02:24:59 UTC
(In reply to comment #16)
> Please verify bugfix for this bug, so it can be included in release691
> repository.
> 
> Thanks,
> -R

Checked. Works fine. Thank's!
Comment 18 Petr Blaha 2010-06-17 11:51:49 UTC
verified
Comment 19 rbalada 2010-06-18 08:19:51 UTC
main #c5cd1b154ef3 transplanted to release691 #33addb178a4f
Comment 20 Jaromir Uhrik 2010-07-09 12:20:16 UTC
Verified in the following 6.9.1 build:
Product Version: NetBeans IDE 6.9.1 Dev (Build 201007082301)
Java: 1.6.0_14; Java HotSpot(TM) Client VM 14.0-b16
System: Linux version 2.6.27-14-generic running on i386; UTF-8; en_US (nb)