Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Having a standard interface to invoke the enhancer makes a lot of sense so we can have interchangeability of enhancers (for implementations that support BinaryCompatibility).
A start point (for discussions) could be
java -cp classpath
[options] [jdo-files] [class-files]
where options can be
-persistenceUnit persistence-unit-name : Name of a "persistence-unit" to enhance the classes for
-d target-dir-name : Write the enhanced classes to the specified directory
-checkonly : Just check the classes for enhancement status
-v : verbose output
This then allows enhancement of the specified classes, or the classes defined by the specified JDO files, or the classes defined by the specified persistence-unit.
What other control would people like to see ?
Attachments
Attachments
Issue Links
- relates to
-
JDO-621 Add javax.jdo.JDOEnhancerMain to call the enhancer via standard API
- Closed