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.
We have split our module into several jar files and include them in our modules manifest file using the ClassPath: item. We just added a new jar reference in the manifest and are now getting the following error when the module is loaded: Tue Jul 16 11:13:07 EDT 2002: java.io.IOException: line too long java.io.IOException: line too long at java.util.jar.Attributes.read (Attributes.java:336) at java.util.jar.Manifest.read(Manifest.java:161) at java.util.jar.Manifest.<init>(Manifest.java:56) at java.util.jar.JarFile.getManifest (JarFile.java:145) at org.netbeans.core.modules.Module.loadManifest (Module.java:348) at org.netbeans.core.modules.Module.<init> (Module.java:112) at org.netbeans.core.modules.ModuleManager.create (ModuleManager.java:273) at org.netbeans.core.modules.ModuleList$1.run (ModuleList.java:341) at org.openide.filesystems.EventControl.runAtomicAction (EventControl.java:89) at org.openide.filesystems.FileSystem.runAtomicAction (FileSystem.java:388) at org.netbeans.core.modules.ModuleList.readInitial (ModuleList.java:250) at org.netbeans.core.modules.ModuleSystem.readList (ModuleSystem.java:224) at org.netbeans.core.NonGui.run(NonGui.java:518) at org.netbeans.core.Main.run(Main.java:213) at org.openide.TopManager.initializeTopManager (TopManager.java:120) at org.openide.TopManager.getDefault (TopManager.java:81) at org.netbeans.core.Main.main(Main.java:346) at org.netbeans.core.TopThreadGroup.run (TopThreadGroup.java:87) [catch] at java.lang.Thread.run(Thread.java:484)
Created attachment 6729 [details] Manifest file with Class Path: that is too long?
Lines in manifest have to be wrapped, Manifest will unwrap them while parsing. We can't do anything about it from inside NetBeans.
Did you try line-wrapping your manifest at or before 72 columns as required by the manifest specification? I think it works. http://developer.java.sun.com/developer/bugParade/bugs/4620323.html http://developer.java.sun.com/developer/bugParade/bugs/4295946.html
Resolved for 3.4.x or earlier, no new info since then -> verified.
Resolved for 3.4.x or earlier, no new info since then -> closing.