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.
[I mentioned this on the mailing lists before, but I'm filing the issue so it doesn't get forgotton.] The current JMIMapper API does not provide any mechanism for the caller to explicitly choose that source files be generated, or that class files be generated. Instead, the caller must reference ClassFileMapper or JavaMapper directly. However, neither of these two classes is in the public API. Conversely, since the caller has to reference these classes specifically anyway, there is currently little benefit to having the JMIMapper interface in the API. Additionally, there isn't any official public API for controlling the licensing header (and other options?!) that is to be used during API generation. My use case: I would like my Ant task to always generate Java source files that can then be compiled with Javac. This two-step process helps ensure that the class files don't have any "hidden" dependencies and also allows the user to generate JavaDoc and/or do any other kind of processing to the generated source files.
I am closing all reports in category Java/Unsupported as wontfix. These should be dead issues --- if the reported cases are against some live part of the NetBeans IDE please reopen and we can discuss to which category they belong.