DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
Issue Details (XML | Word | Printable)

Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Marc Klinger
Reporter: Marc Klinger
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus Tools : Maven plugin

Incorrect enhancer class path when invoked with fork=false

Created: 15/Jul/11 01:17 PM   Updated: 12/Mar/15 11:56 AM   Resolved: 15/Jul/11 03:05 PM
Component/s: None
Affects Version/s: 3.0.0.m2, 3.0.0.release
Fix Version/s: 3.0.0.release

 Description  « Hide
The class path does not contain all necessary entries when the enhancer is invoked within the same VM. It is not possible to enhance test classes as the classpath is incomplete even when setting the metadataDirectory property to ${}.

Marc Klinger made changes - 15/Jul/11 02:38 PM
Field Original Value New Value
Assignee Marc Klinger [ mklinger ]
Marc Klinger added a comment - 15/Jul/11 03:05 PM
Fixed in trunk, version in POM is 3.0.0.release.

Marc Klinger made changes - 15/Jul/11 03:05 PM
Status Open [ 1 ] Resolved [ 5 ]
Fix Version/s 3.0.0.release [ 11138 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 14/Jun/12 01:28 PM
Status Resolved [ 5 ] Closed [ 6 ]
Christian Beikov added a comment - 12/Mar/15 11:56 AM
In the documentation it should be mentioned that enhancing test classes requires the configuration of the metadataDirectory! Took me an hour to investigate that problem :/