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 14191 - Class-Path does not take directory path as a value
Summary: Class-Path does not take directory path as a value
Status: CLOSED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: All All
: P1 blocker (vote)
Assignee: Petr Nejedly
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-08-03 19:07 UTC by support
Modified: 2008-12-22 17:52 UTC (History)
1 user (show)

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 support 2001-08-03 19:07:44 UTC
The Class-Path in manifest file no longer allow a directory path to be the
value. My module contains native codes, and the localized message catalog files
are located in a directory which must be added to the classpath. Now, Class-Path
expects only jar files thus I got the following exception:

[org.netbeans.core.ui.ModuleBean] *********** Exception occurred ************
Thu Aug 02 14:27:28 PDT 2001: java.util.zip.ZipException: Problem with no
associat
ed module: org.netbeans.core.modules.InvalidException:
java.util.zip.ZipException:
 Is a directory
Nested annotation: Is a directory
java.lang.IllegalStateException: Problem with no associated module:
org.netbeans.c
ore.modules.InvalidException: java.util.zip.ZipException: Is a directory
        at
org.netbeans.core.modules.ModuleManager.enable(ModuleManager.java:478)
        at
org.netbeans.core.ui.ModuleBean$AllModulesBean.doEnable(ModuleBean.java
:618)
        at
org.netbeans.core.ui.ModuleBean$AllModulesBean.access$1000(ModuleBean.j
ava:229)
[catch] at
org.netbeans.core.ui.ModuleBean$AllModulesBean$Updater.run(ModuleBean.j
ava:482)
Comment 1 Petr Nejedly 2001-08-06 08:17:16 UTC
OK, I'll add the functionality.
Hope the JDK team don't add an option for absolute http requests.
Comment 2 Petr Nejedly 2001-08-06 08:18:43 UTC
Setting target milestone. 
It didn't allow me to left original "3.3" in previous commit |-(
Comment 3 support 2001-08-06 12:50:37 UTC
Fixed, JarClassLoader.java,v1.3 & Module.java,v1.7
Tried it using unpacked nb-editor.java in ext/edi
and modified manifest od editor.jar to
Class-Path: ext/edi/

Seems working.
Comment 4 pzajac 2002-10-21 15:00:46 UTC
verified
Comment 5 Quality Engineering 2003-07-01 16:46:02 UTC
Resolved for 3.4.x or earlier, no new info since then -> closing.