Hi Fux,

Will you use DataNucleus for JDO/JPA in your data storage on the
datastore or will you use something else ? (Objectify, etc...)

If you don't use JDO/JPA, that you can (even should !) remove the data
enhancer from your builders.

If you did not decide yet, read
http://groups.google.com/group/google-appengine-java/browse_thread/thread/defc6d14445318b8/75a1e7b5bcbc1bb3#75a1e7b5bcbc1bb3
(post by Ikai Lan in this thread): should help you in your decision!

regards

didier

On Jan 10, 4:28 pm, Fux <[email protected]> wrote:
> Hi guys, I am having some troubles here, after looking at several online
> resources (including IRC) I decided to post here. I will make it quick:
>
>    - I have updated eclipse, Scala plugin and GAE plugin to the latest just
>    one hour ago.
>    - I set up a new GAE project (GAE 1.4.0).
>    - I added Scala Nature from the proper menu in Eclipse.
>    - *Compile*/*Enhancer *worked just *fine*.
>    - I added a Scala class to my project. Just an empty class with no
>    variables, values or anything.
>    - Compile seems to have succeded (I have the .class file in my WAR
>    folder) but the *Enhancer *step *failed*.
>    - I tried to remove the *Enhancer *from the *Builders* and the build wars
>    *fine *again.
>
> The error I am getting upon building the project with the Enhancer enabled
> is:
>
> GRAVE: Class "com.appspot.worder.ScalaClass" was not found in the CLASSPATH. 
> Please check your specification and your 
> CLASSPATH.org.datanucleus.exceptions.ClassNotResolvedException: Class 
> "com.appspot.worder.ScalaClass" was not found in the CLASSPATH. Please check 
> your specification and your CLASSPATH.
>         at 
> org.datanucleus.JDOClassLoaderResolver.classForName(JDOClassLoaderResolver.java:250)
>         at 
> org.datanucleus.JDOClassLoaderResolver.classForName(JDOClassLoaderResolver.java:415)
>         at 
> org.datanucleus.metadata.MetaDataManager.loadClasses(MetaDataManager.java:379)
>         at 
> org.datanucleus.enhancer.DataNucleusEnhancer.getFileMetadataForInput(DataNucleusEnhancer.java:743)
>         at 
> org.datanucleus.enhancer.DataNucleusEnhancer.enhance(DataNucleusEnhancer.java:545)
>         at 
> org.datanucleus.enhancer.DataNucleusEnhancer.main(DataNucleusEnhancer.java:1252)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at 
> com.google.appengine.tools.enhancer.Enhancer.execute(Enhancer.java:57)
>         at com.google.appengine.tools.enhancer.Enhance.<init>(Enhance.java:60)
>         at com.google.appengine.tools.enhancer.Enhance.main(Enhance.java:41)
>
> Could anybody give me some advice please?

-- 
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.

Reply via email to