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.
After creating a loader once, and manually deleting its files and manifest entry (it was created in the wrong package), running the wizard later (it may have had extra newlines or a line or two with spaces at the end of it) generated the following: Manifest-Version: 1.0 OpenIDE-Module: org.netbeans.modules.foo OpenIDE-Module-Layer: org/netbeans/modules/foo/layer.xml OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/foo/Bundle.properties OpenIDE-Module-Specification-Version: 1.0 Name: org/netbeans/modules/stepfour/loader/FooDataLoader.class OpenIDE-Module-Class: Loader The problem is that there is no blank line before Name: - I believe this manifest will not work correctly.
Manifest generation incl. insertion of spaces before Name: entries is pretty exhaustively unit tested, so if you can reproduce from scratch please attach a test case and I will fix; otherwise will be WORKSFORME.
Just reproduced it. Create a new file type from template. Delete the loader and its associated files, clean up the layer file. Delete the loader entry from the manifest. I don't know whether I left no CR at the end of the last populated line, or if I left one, but it's one or the other. Recreate the loader.
Reproduced, thanks.
FWIW, manifests should normally end in *two* newlines, and the code was behaving correctly if they did - but I did not think to write a test for the case that the manifest was missing a final pair of newlines and then a section is added. committed * Up-To-Date 1.4 apisupport/project/src/org/netbeans/modules/apisupport/project/EditableManifest.java committed * Up-To-Date 1.3 apisupport/project/test/unit/src/org/netbeans/modules/apisupport/project/EditableManifestTest.java
test is good, passes. verified.