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 29348 - Need way to choose to generate source files or classfiles in JMIMapper API
Summary: Need way to choose to generate source files or classfiles in JMIMapper API
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: David Strupl
URL:
Keywords: API
Depends on:
Blocks:
 
Reported: 2002-12-06 08:56 UTC by _ briansmith
Modified: 2010-09-23 09:14 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ briansmith 2002-12-06 08:56:29 UTC
[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.
Comment 1 David Strupl 2010-09-23 09:14:05 UTC
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.