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 96548 - [unpack200] Unable to install product using really long path.
Summary: [unpack200] Unable to install product using really long path.
Status: RESOLVED FIXED
Alias: None
Product: installer
Classification: Unclassified
Component: NBI (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 blocker (vote)
Assignee: dlipin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-02-26 10:54 UTC by Michael Nazarov
Modified: 2007-10-03 13:41 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Nazarov 2007-02-26 10:54:35 UTC
Well, it's impossible to install product to long named path. I mean paths about
few thousand characters. Native OS API and Java itself handle such paths
correctly. Moreover NetBeans IDE handles long paths in right way - you can check
it with creating class in the long named package. So it's looks bit strange -
IDE can not be installed into path it can use.

BTW I wrote special tool for creating and deleting such paths using WinAPI so
you can ask me about or create your own Java based tool for experiments.
Comment 1 dlipin 2007-03-16 19:51:11 UTC
Not a very common case. ->P3
Comment 2 dlipin 2007-08-06 08:37:08 UTC
the core of this issue is using unpack200.exe.
It seems that it doesn`t support long path names ;(
Comment 3 dlipin 2007-08-06 10:15:41 UTC
no plan to fix it for beta1 
->TBD
Comment 4 dlipin 2007-10-03 09:58:04 UTC
filed a bug 6612389 in bugtrack.
Comment 5 dlipin 2007-10-03 13:41:22 UTC
the issue is fixed now.
The NBI engine is now able to install product to the long path when running on JDK6.

As for the NetBeans 6.0 installer all of the products has problems when installing in long path: NetBeans can`t start, 
some processes (imqbrokersvc) crach during glassfish domain creation, tomcat cannot start, etc.

Thats why the long path names installation are currently disabled for NetBeans 6.0 installers.