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.
Not sure what is wrong, but as of today <makenbm> does not work. It reports no errors or anything, but the generated files (both .jcb and .jcs) are bogus: only 4 bytes: 0x00000002 At first I thought it was my patch to MakeParserDB.java (fooling with class loaders a bit to make the task work better inside NB), which I reverted as soon as I found out about the problem. But it is still broken after reverting that patch, and I just found out is was broken for a while before. Seems to have broken sometime around Feb 12 to Feb 13, according to some of my dev builds from that time period. Since the problem is probably in editor, I am reapplying my patch to MakeParserDB.java, together with the removal of *-deprecated.jar from the classpath, since these should no longer be needed.
This is broken since removal of dependency on openide deprecated APIs from editor module. It's my fault, I didn't notice [pending] during commit. org.netbeans.modules.editor.java.StandaloneJCDBCreator started the IDE in nonGUI mode via TopManager.getDefault(); Is there any proper replacement for this, I mean run the IDE in nonGUI? I have tried to use reflection, but another problem arised. DataObject.getCookie(SourceCookie.class) returns null in parseFolder method although the DO is source file.
Re. TM.gD: RTFM: http://www.netbeans.org/download/dev/javadoc/DeprecatedAPIs/org/openide/TopManager.html#getDefault() Re. getCookie(SourceCookie) - no idea, you will have to investigate somehow I guess.
fixed in [maintrunk] and [release35] /cvs/editor/src/org/netbeans/modules/editor/java/StandaloneJCDBCreator.java,v <-- StandaloneJCDBCreator.java new revision: 1.6; previous revision: 1.5 /cvs/editor/src/org/netbeans/modules/editor/java/StandaloneJCDBCreator.java,v <-- StandaloneJCDBCreator.java new revision: 1.5.2.1; previous revision: 1.5
Looks better in dev sources, thanks.