I followed the tutorial on the DataNucleus web site but I am stuck at the enhancement part. I defined a class with annotations but the enhancer does not recognize the annotations. I only use annotations so I don't have any .jdo file.
My class is: import javax.jdo.annotations.PersistenceCapable; import javax.jdo.annotations.Persistent; @PersistenceCapable public class X { @Persistent(primaryKey = "true") private long id; @Persistent private String sValue; @Persistent private int iValue; @Persistent private double dValue; private X() { } public X(String sValue, int iValue, double dValue) { this.sValue = sValue; this.iValue = iValue; this.dValue = dValue; } } The output of the Enhancer is: Dec 18, 2009 5:06:00 PM org.datanucleus.enhancer.DataNucleusEnhancer <init> INFO: DataNucleus Enhancer : Using ClassEnhancer "ASM" for API "JDO" Dec 18, 2009 5:06:01 PM org.datanucleus.PersistenceConfiguration setProperty INFO: Property datanucleus.rdbms.stringDefaultLength unknown - will be ignored Dec 18, 2009 5:06:01 PM org.datanucleus.enhancer.DataNucleusEnhancer main INFO: DataNucleus Enhancer (version 2.0.0-m4) : Validation of enhancement state DataNucleus Enhancer (version 2.0.0-m4) : Validation of enhancement state DataNucleus Enhancer : Classpath >> D:\home\workspace\JDO\bin >> D:\home\workspace\JDO\lib\mysql-connector-java-5.1.10-bin.jar >> D:\home\workspace\JDO\lib\datanucleus-core-2.0.0-m4.jar >> D:\home\workspace\JDO\lib\jdo2-api-2.3-ea.jar >> D:\home\workspace\JDO\lib\datanucleus-enhancer-2.0.0-m4.jar >> D:\home\workspace\JDO\lib\asm-3.2.jar Dec 18, 2009 5:06:01 PM org.datanucleus.metadata.MetaDataManager loadClasses INFO: Class "JDOMain" has no MetaData or annotations. Dec 18, 2009 5:06:01 PM org.datanucleus.metadata.MetaDataManager loadClasses INFO: Class "X" has no MetaData or annotations. Dec 18, 2009 5:06:01 PM org.datanucleus.enhancer.DataNucleusEnhancer addMessage INFO: DataNucleus Enhancer completed with success for 0 classes. Timings : input=78 ms, enhance=0 ms, total=78 ms. Consult the log for full details DataNucleus Enhancer completed with success for 0 classes. Timings : input=78 ms, enhance=0 ms, total=78 ms. Consult the log for full details Dec 18, 2009 5:06:01 PM org.datanucleus.enhancer.DataNucleusEnhancer main INFO: DataNucleus Enhancer completed and no classes were enhanced. Consult the log for full details DataNucleus Enhancer completed and no classes were enhanced. Consult the log for full details -- You received this message because you are subscribed to the Google Groups "Google App Engine for Java" group. To post to this group, send email to google-appengine-j...@googlegroups.com. To unsubscribe from this group, send email to google-appengine-java+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.