See http://code.google.com/p/googleappengine/issues/detail?id=2115. This may be the issue that you're having. It was recently fixed, and a version of GPE with the fix is forthcoming.
On Thu, Feb 25, 2010 at 1:57 PM, Steve Pritchard <[email protected]> wrote: > > > On Feb 25, 6:39 am, haole <[email protected]> wrote: > > i'm using eclipse 3.5.1, GPE 3.5 (1.2.0.v200912062003), GAE > > 1.3.1.v201002101412, GWT 2.0.3.v201002191036 > > datanucleusenhancer continuously runs over and over again > > temporary workaround: turn off build automatically feature in eclipse > > I have several projects with a dependency hierarchy. I found the > enhancer to be fragile and it often would not enhance the classes. I > had to do a 'clean' to make it happen. I could not find the pattern to > when it failed to enhance. It never looped on me so you may be seeing > a different problem. > > About 3 weeks ago I had had enough and turned off the Enhancer > builder (the plugin yelled at me). In its place I added an ant task > to do the enhancement. I derived the ant task statements from the > Datanucleus site. Since that time things have been very stable and > the enhancer always finishes its job. > > This is the essence of the ant task: > > <!-- > ================================================================ --> > <!-- T A S K D E F > S --> > <!-- > ================================================================ --> > > <taskdef name="enhance" > classname="com.google.appengine.tools.enhancer.EnhancerTask"> > <classpath> > <pathelement path="${appengine.tools.classpath}"/> > <pathelement path="${appengine.tools.lib}"/> > </classpath> > </taskdef> > > <!-- > ================================================================ --> > <!-- T A R G E T > S --> > <!-- > ================================================================ --> > > > <target name="enhance.cls" > description="Performs Datnucleus JDO enhancement on compiled > data classes."> > <!-- echo message=" path ${appengine.tools.classpath}"/ --> > <!-- echo message=" fileset ${proj.dir.gen.cls}"/ --> > <enhance failonerror="true" verbose="false"> > <classpath> > <pathelement path="${appengine.tools.classpath}"/> > <fileset dir="${proj.dir.war.lib}" includes="*.jar"/> > <pathelement path="${proj.dir.gen.cls}"/> > </classpath> > <fileset dir="${proj.dir.gen.cls}" includes="**/*.class"/> > </enhance> > </target> > > <target name="enhance.war" > description="Performs Datnucleus JDO enhancement on war > classes."> > <!-- echo message=" path ${appengine.tools.classpath}"/ --> > <!-- echo message=" fileset ${proj.dir.gen.cls}"/ --> > <enhance failonerror="true" verbose="false"> > <classpath> > <pathelement path="${appengine.tools.classpath}"/> > <fileset dir="${proj.dir.war.lib}" includes="*.jar"/> > <pathelement path="${proj.dir.war.cls}"/> > </classpath> > <fileset dir="${proj.dir.war.cls}" includes="**/*.class"/> > </enhance> > </target> > > It may be worth a try. > Steve > > -- > 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 > [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine-java%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine-java?hl=en. > > -- 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 [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/google-appengine-java?hl=en.
