Closed GoogleCodeExporter closed 8 years ago
The log (at debug level) would tell you what DataNucleus can see. Obviously you
cannot enhance a class that is part of a jar, and neither does the DataNucleus
docs claim that you can. Unpack your jar (easiest), or enhance using javaagent.
Original comment by googleco...@yahoo.co.uk
on 20 Jun 2011 at 12:28
Hi thanks for the quick response. I am actually a C# developer (just playing
with Java). which may be why I am unfamiliar with the whole concept of
enhancing classes.
Anyway I figured out a solution yesterday. for anyone else interested I
downloaded the Dataneucleus plugin for eclipse and ran that over my library
project. I was then able to export the project with the enhancements included
inside the exported Jar. the only tricky bit i found was that you need to
press F5 after the enhancement sometimes or you will get an error when doing
the export.
anyway thanks for all your help.
cheers
Original comment by Ib.Ros...@gmail.com
on 20 Jun 2011 at 12:36
Original comment by googleco...@yahoo.co.uk
on 26 Jun 2011 at 5:57
But is there any doc in DataNucleus could not enhance a class which is in a jar
package?
Original comment by ed...@66fabu.com
on 22 Jan 2012 at 3:05
Original issue reported on code.google.com by
Ib.Ros...@gmail.com
on 18 Jun 2011 at 3:02